More than one TLINE simulation crash

I am trying to build the differential transmission line simulation following the https://www.youtube.com/watch?v=BNeHFc71n6Q

If I only build single TLINE, no problem, and the vout seems good.



and the message came out are also good:

Note: Compatibility modes selected: ps lt a
Circuit: KiCad schematic
******
** ngspice-40 : Circuit level simulation program
** The U. C. Berkeley CAD Group
** Copyright 1985-1994, Regents of the University of California.
** Copyright 2001-2023, The ngspice team.
** Please get your ngspice manual from https://ngspice.sourceforge.io/docs.html
** Please file your bug-reports at http://ngspice.sourceforge.net/bugrep.html
** Creation Date: Mon Jun 12 16:33:44 UTC 2023
******
Doing analysis at TEMP = 27.000000 and TNOM = 27.000000
Initial Transient Solution
--------------------------
Node                                   Voltage
----                                   -------
probe_int_probe_int_net-_v1-pad1__ot1_1_ot1_1               0
probe_int_probe_int_net-_v2-pad2__ot1_2_ot1_2               0
probe_int_probe_int_/vout_ot1_3_ot1_3               0
probe_int_probe_int_0_ot1_4_ot1_4               0
net-_v1-pad1_                                0
probe_int_net-_v1-pad1__ot1_1                0
ot1probe_int_vref                            0
ot1:power                                    0
probe_int_0_ot1_4                            0
probe_int_/vout_ot1_3                        0
probe_int_net-_v2-pad2__ot1_2                0
net-_v2-pad2_                                0
/vout                                        0
probe_int_/vout_r1_1                         0
probe_int_probe_int_0_r1_r1_2                0
probe_int_0_r1                               0
r1probe_int_vref                             0
r1:power                                     0
probe_int_net-_v1-pad1__v1_1                 0
probe_int_0_v1_2                             0
probe_int_0_v2_1                             0
probe_int_net-_v2-pad2__v2_2                 0
v1probe_int_vref                             0
v2probe_int_vref                             0
v2:power                                     0
v1:power                                     0
bprobe_int_v1power#branch                    0
v1:probe_int_n1#branch                       0
v1:probe_int_n2#branch                       0
bprobe_int_v2power#branch                    0
v2:probe_int_n1#branch                       0
v2:probe_int_n2#branch                       0
bprobe_int_v2vref#branch                     0
bprobe_int_v1vref#branch                     0
bprobe_int_r1power#branch                    0
r1:probe_int_n1#branch                       0
r1:probe_int_n2#branch                       0
bprobe_int_r1vref#branch                     0
bprobe_int_ot1power#branch                   0
ot1:probe_int_n1#branch                      0
ot1:probe_int_n2#branch                      0
ot1:probe_int_n3#branch                      0
ot1:probe_int_n4#branch                      0
bprobe_int_ot1vref#branch                    0
v2#branch                                    0
v1#branch                                    0
r1#branch                                    0
ot1:n4#branch                                0
ot1:n3#branch                                0
ot1:n2#branch                                0
ot1:n1#branch                                0
 Reference value :  0.00000e+00
No. of Data Rows : 290

But after add the 2nd TLINE, if I run the simulator, the whole kicad crash.


And if I start the kicad from terminal, it shows:
Segmentation fault (core dumped)

I have been running your circuit in KiCad 8.0.1, ngspice-42, Windows 10. No problem to simulate 2 transmission lines. However there is a “singular matrix” warning, as you have put two TM line outputs together, which seems to be not o.k. So I have inserted two 0.1Ohm resistors into the output lines, removing the warning.

No crash, with or without the extra resistors.

You might try to upgrade KiCad and ngspice.