Spice model file recognition problem

Hello,
I wrote a .lib file to map the pins in the AD8397 dual opamp I’m using to the Analog Devices Spice model file for it, by associating the model file to each of the two section in the chip. The simulation mode sees my .lib file but apparently not the Spice model that my .lib file include statement refers to. Could someone please suggest what is wrong? I’ve attached a screenshot of the simulation screen (which shows the .lib file) and also attached the Analog Devices Spice model file.
Thank you very much!


ad8397.lib (4.4 KB)

Please have a look at the ngspice manual, chapter 2.1.3.4.

Node names shall either be plain numbers, or character strings not strings starting with a number.

So replace 1in- by in1- etc.

Holger et.al.,
I made the changes to the node names that you indicated, however the same error resulted as before. I’ve attached the updated screenshots showing the changes. What should I try next?
Thank you again!

To be honest, no idea. So zip and post this project here (including all models used).

Here you go.
AD8397 model debug.zip (124.0 KB)

There is a bug in ad8397.lib (line 21). It must read:

* Node assignments
*		+IN	-IN	Vcc	Vee	Out		
.subckt AD8397	1	2	99	50	4

You see the * in front of line 21, added by me making it a comment line.

Works fine, thanks! I rechecked that model from the Analog Devices website and the bug is in that file too.

Best regards