I'm trying to connect this ideal transformer to this inverter circuit. The expected current values at the grid side are 347.8 A rms per phase. However, I'm getting 4000A! When I remove the transformer, my values are reasonable. Is there anything wrong with my connection? What could the problem be? As my thesis deadline is approaching, i would appreciate an urgent reply. Thank you.