Simulation Problems MAC

Hello everyone!

I am totally new to KiCad and Eeschema. I am running KiCad 5.1.2-1 on MAC osx 10.14
I seem to be unable to run any simulation that includes downloaded spice models. I am trying to understand how to make this work by simulating a simple non-inverting opamp based amplifier using the Texas Instruments spice model for a TL071 (TL071.301).

Once i upload the model into the symbol and run the simulation i get an error saying:

“Circuit: KiCad schematic
Too many parameters for subcircuit type “tl071” (instance: xxu1)
Error: there aren’t any circuits loaded.”

I know that the pin number on the spice model are different from those in the KiCad symbol; although when i input an alternate node sequence both KiCad and Eeschema crash as soon as i try to run a simulation.

Any help is appreciated!

Thank you very much in advance.

The model requires 5 pins.
The TL071 symbol from the Amplifier_Operational library has 7 pins, but the offset correction pins 1 and 5 are not served by the model.
So use a 5 pin alternate node sequence
3 2 7 4 6

For checking out other simulation options, you may have a look at

Hello holger, thanks for the reply!
That is exactly what i did, however if i input a 5 pin alternate sequence KiCad and Eeschema crash as soon as i hit the play button for the simulation.

Even if it refuses to simulate, it nevertheless should not crash.

Could you please post your eeschema input file (*.sch) here for a check?

Sorry for the late reply, please find attached toe schematic file, i have also attached the simulation model that i am using. Unfortunately it won’t let me upload the files directly as a new user…i have thus attached a link, sorry for the inconvenience.

Thanks a lot for your help!

Download the *sch file.
Edit Spice model: Set correct path and filename of model file TL071.301.
Start simulation: everything is o.k., output is there.

5.1.2-2 on Windows 7, using ngspice-30.

So…funny thing is, i have created the same project again from scratches just to see if i had done something wrong along the way and used the same TL071 model. Now it doesn’t crash anymore…but i get an error message:

Circuit: KiCad schematic
Original line no.: 7, new internal line no.: 51:
Mismatch: 0 formal but 1 actual params.
Copies=55 Evals=54 Placeholders=0 Symbols=3 Errors=1
Numparam expansion errors: Problem with input file.
Error: ngspice.dll cannot recover and awaits to be detached
Note: can’t find init file.

** ngspice-26 shared library
** Creation Date: Wed Apr 24 18:39:08 PDT 2019

Error: there aren’t any circuits loaded.

I am even more confused now haha also, shouldn’t Kicad 5.1.2 have ngspice30 integrated (i have ngspice installed on my MAC anyway)? why the error message mentions ngspice-26?

macOS is still 5.1.2-1 with ngspice-26.

You may try, that is the coming bug fix release. It may or may not have ngspice-30 (I don’t know and cannot test). See the discussion here:

1 Like

Latest news about KiCad for macOS and ngpice 30 on

1 Like

Installing the patch found in the link provided by NICKOE solved the issue!

Thanks a lot for all your help!