Electronic – Strange opamp’s output impedance in spice

impedanceinput-impedanceoperational-amplifiersingle-supply-op-ampspice

I'm simulating this circuit in Micro-Cap, which is the clipping stage of a guitar effect. The opamp model is the "NE-5532"
clipping stage

I want to measure the input and the output impedance. I expected an output impedance closer to zero Ohm, and an input impedance of about 10kOhm, with an "infinite" impedance at 0Hz due to the decoupling capacitor at the input.

Here it is the analysis in Micro-Cap.
Impedance analysis

As you can see the input impedance (the blue graph) is close to what i expected, but the red graph, which is the output impedance, it's really strange. It's almost 10kOhm, with a peak of almost 1MegOhm, and i can't really explain why.
If i switch the model to a "LF-155" i get a more "reasonable" results, with an output impedance of 1.680E-68 Ohm, which is also strange.
lf155

Can you help me? This thing is driving me crazy.

Best Answer

In comments you added this information,

this is a single run of the ac analysis

This method won't allow you to measure the input or output (especially the output) impedance accurately.

You need to test the output impedance by applying a source to the output with the input zero'd and vice versa. You will need two separate runs of the simulator to do this.