I've been trying to create a circuit to simulate common mode rejection ratio of an op amp to test the spice model's accuracy. While I've seen online that being able to use exact resistors only a simulator could use can be very helpful in determining CMRR, I can't seem to get a circuit to work. Anything I try either doesn't converge in simulation or doesn't give an accurate results. Any help would be appreciated.
I included a circuit schematic of my most recent iteration. I figured that I would extract the AC RMS voltage from the input vs output and calculate the common mode gain from the circuit. I first had the R2 resistor grounded but thought after that it should be ground w.r.t the AC common mode signal, so I attached it to my common mode signal generator.
I think it might be worth mentioning that at first I tried to connect a sine wave into the input rails via two 1k resistors and measured the open loop gain but it didn't converge.