Hi Alok, I use an Open-Loop ac analysis and generate a BODE Plot to determine the stability of a loop. When you do an AC analysis, this will first do a dc operating point analysis to calculate all the bias points of the transistors in your circuit, then it will follow up with the Ac analysis. The resistors in ngspice, as well as other spice simulators, have an additional parameter on the resistor to specify both the dc value of the resistor and the ac value of the resistor. You can use the resistors to effectively open and close the loop around you amplifier. You can place a feedback resistor around your amplifier and specify both the dc value and the ac value of this resistor. For the dc analysis you can specify a very small value, example 1 ohm, which closes the loop around your amplifier, so that the dc bias of all the transistors are correctly calculated. For the ac analysis, you can have a very large value, example of 100MEG ohm. This large ac value for the resistor, effectively opens the loop for the AC Open-Loop analysis. Here is my test schematic of my "opAmp2" as well as the "Edit properties" window for resistor R2.