Electronic – Why does LTSpice say that the “Matrix is singular” for this ideal-transformer circuit

ltspicetransformer

I'm trying to do find the voltage over R1 in the following circuit, where L1/L2 is an ideal transformer. LTSpice complains that the "Matrix is singular". Why? I've tried to play around with lots of different values in order to see if it's a problem with approximation.

enter image description here

The numbers after "AC" are the max amplitude and phase (in degrees).

Best Answer

You need a DC path between the two circuits. Put a high value resistor between them, say 10M.

I checked that it worked using Pulsonix (actually SIMetrix) SPICE. I got a singular matrix error without the resistor.