I am using
Application: KiCad x86_64 on x86_64
Version: 9.0.5, release build
Libraries:
wxWidgets 3.2.8
FreeType 2.14.1
HarfBuzz 11.4.5
FontConfig 2.17.1
libcurl/8.15.0 OpenSSL/3.5.4 zlib/1.3.1 zstd/1.5.7 libidn2/2.3.8 libpsl/0.21.5 nghttp2/1.66.0
Platform: Freedesktop SDK 25.08 (Flatpak runtime), 64 bit, Little endian, wxGTK, X11, gnome, wayland
Build Info:
Date: Nov 11 2011 11:11:11
wxWidgets: 3.2.8 (wchar_t,wx containers) GTK+ 3.24
Boost: 1.89.0
OCC: 7.9.1
Curl: 8.15.0
ngspice: 45.2
Compiler: GCC 15.2.0 with C++ ABI 1020
KICAD_IPC_API=ON
Locale:
Lang: en_US
Enc: UTF-8
Num: 1,234.5
Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8)
I have the following simulation model in twinax.sub file which I copy-pasted from the ngspice manual:
.subckt twinax in1 in2 gnd1 out1 out2 gnd2
P1 in1 in2 gnd1 out1 out2 gnd2 PLINE
.model PLINE CPL length={Len}
+R=1 0 1
+L={L11} {L12} {L22}
+G=0 0 0
+C={C11} {C12} {C22}
.param Len=1 Rs=0
+ C11=9.143579E-11 C12=-9.78265E-12 C22=9.143578E-11
+ L11=3.83572E-7 L12=8.26253E-8 L22=3.83572E-7
.ends
and the following symbol:
(kicad_symbol_lib
(version 20241209)
(generator "kicad_symbol_editor")
(generator_version "9.0")
(symbol "TLINE_twinax"
(pin_numbers
(hide yes)
)
(pin_names
(hide yes)
)
(exclude_from_sim no)
(in_bom no)
(on_board no)
(property "Reference" "T"
(at 0 7.62 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Value" "TLINE_twinax"
(at 0 5.08 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" ""
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Datasheet" "https://ngspice.sourceforge.io/docs/ngspice-html-manual/manual.xhtml#sec_Lossless_Transmission_Lines"
(at 0 5.08 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Description" "Lossless transmission line, for simulation only"
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "ki_keywords" "lossless transmission line characteristic impedance"
(at 0 0 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(symbol "TLINE_twinax_0_1"
(rectangle
(start -5.08 1.27)
(end 5.08 -3.81)
(stroke
(width 0)
(type default)
)
(fill
(type none)
)
)
)
(symbol "TLINE_twinax_1_1"
(pin passive line
(at -7.62 0 0)
(length 2.54)
(name "NI1"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "1"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin passive line
(at -7.62 -2.54 0)
(length 2.54)
(name "NI2"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "2"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin passive line
(at -5.08 -6.35 90)
(length 2.54)
(name "GND1"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "5"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin passive line
(at 5.08 -6.35 90)
(length 2.54)
(name "GND2"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "6"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin passive line
(at 7.62 0 180)
(length 2.54)
(name "NO1"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "3"
(effects
(font
(size 1.27 1.27)
)
)
)
)
(pin passive line
(at 7.62 -2.54 180)
(length 2.54)
(name "NO2"
(effects
(font
(size 1.27 1.27)
)
)
)
(number "4"
(effects
(font
(size 1.27 1.27)
)
)
)
)
)
(embedded_fonts no)
)
)
When I try to assign the simulation model it crashes when I select the file (see screenshot below). What happens is that KiCad freezes and one CPU core goes to 100 % usage. Only solution is killall kicad (I waited about 2 minutes).
Any ideas?



