CirSpice

Messages

Every message CirSpice can show, generated from the app itself.

User guide / 9. Messages

CirSpice never guesses. When it cannot read, simulate or save something exactly, it stops and says why, and your file is left as it was. The messages appear in the sidebar's Messages tab, or under the field you were editing.

To find a message, search this page (⌘F) for a few of its words. Where a message names something from your circuit, such as a part, a node or a value, this page shows … in its place.

Many messages say a feature is "not supported yet" or "not measured yet". These mark places where we have not yet confirmed how Micro-Cap behaves, so CirSpice refuses rather than risk a wrong result. If one stops your work, write to support@cirspice.com: it helps us decide what to support next.

When a run fails

When ngspice stops a run, CirSpice reads its log and names the kind of failure in the Messages tab, with the time, the netlist line, the nodes and the parts it involves where the log says, and offers settings to try.

Unknown model or parameter

ngspice met a model, subcircuit or model parameter it does not know. Usually the circuit names a model that is not defined anywhere CirSpice can find, or a model sets a parameter that ngspice's version of that device does not have. The message names it: check the spelling on the part and in the .MODEL, and if it comes from Micro-Cap's library, import the library (see Models and libraries).

Singular matrix

The circuit's equations have no single solution. The usual causes are a node with no DC path to ground (joined to the rest only through capacitors or current sources, or left floating), or a loop made only of voltage sources and inductors. The message names the nodes or parts involved. Add a large resistor (1G, say) from a floating node to ground, or a small one (1m) in the loop.

Timestep too small

During a transient, the simulator had to shrink its time step below its minimum to follow the circuit, at the time the message gives. This usually means a very fast edge, an ideal switch or an unrealistic model value. Look at what changes at that moment. Smooth the edge (a finite rise time, a switch with a smooth transition, a small series resistance), or try the Power stage setting the message offers.

No operating point

The simulator could not find the circuit's DC operating point, even after its fallback methods. Circuits with positive feedback, several stable states or very high gain are the usual cases. For a transient, Start from zero (turning Operating Point off) skips the search. Otherwise give the search a hint: an Off on a device that should start off, or a .IC on a key node.

Iteration limit reached

The simulator's iterations at one point reached their limit without settling. Raising the limits often helps: the Power stage and High impedance settings both raise ITL1, and Power stage also raises ITL4, the limit for each step of a transient.

Stepping failed

The simulator's fallback methods for finding the operating point (stepping its minimum conductance, or ramping the sources) failed. Treat it as No operating point: try Start from zero for a transient, or the settings offered.

Simulation error

ngspice stopped for a reason CirSpice does not classify. The message gives ngspice's own words and, where it can, the netlist line. View > Show Netlist shows the netlist CirSpice wrote; if the cause is not clear, send the message and the file to support.

No progress

CirSpice halted a run that was advancing too slowly, by the No progress limit in Settings > Simulator (1% in 60 seconds unless you changed it). A slow run may still have been progressing: if you expect it to be slow, widen or turn off the limit. Otherwise it usually has the causes of Timestep too small.

Run time limit reached

CirSpice halted a run at the run time limit you set in Settings > Simulator. This is your own limit, not a failure of the circuit: raise or turn off the limit, or shorten the run.

Opening a file (409)

Libraries and imported parts (87)

Editing and saving (255)

Analysis limits and options (47)

Building the netlist (317)

Running a simulation (7)

Plots, measurements and export (53)

Monte Carlo, worst case and fitting (71)