When you run the simulation with+jtag_vpi_enable, the JTAG VPI “controls” the time of the simulation. Time cannot advance unless it allows it, and it only allows it when there is something to send on the JTAG. So once you connect with OpenOCD, you need to keep sending JTAG traffic ...