Three-phase inverter simulation - incorrect result
You are probably not using a dead-time for the driving pulses and that, combined with the nature of the load (highly reactive, series caps, resonant cells) results in overshoots. One way to do it is shown here (see the circuit on the left side). You are also not showing the .model card for the switches, and I can only guess that you may not be using the proper negative hysteresis; use the linked answer for a reference.
It turns out the &quot;incorrect&quot; result is actually very correct -- it's just that you ran into the old GIGO: garbage in, garbage out.