Schematic contain unknown model "inv2x"

I have created model for "inv2x" using subcircuit builder and instantiated that

Still, when I try to do kicad to ngspice, I keep getting the above error

Can you please take a look and explain the flow how to go about this error?

I can share all my subcircuit files and master file where I am trying to instantiate the subcircuit. Is there a place I can upload files?

eSim 01-06-19, 8:02 p.m. Kunal



The subcircuit creation isn't done properly. Upload the files on google drive in a folder and share the link on contact-esim@fossee.in

03-06-19, 2:32 p.m. Saurabhb17

Shared both subcircuit and main circuit

03-06-19, 3:18 p.m. Kunal

Login to add comment


The designator for INV2X should be 'X' and not 'U'. Edit that using Library Editor tool of Eeschema and kicadtongspice should work afterwards.

Note : Designators for subcircuits should always be X.

03-06-19, 3:36 p.m. Saurabhb17

Log-in to answer to this question.