You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I source this circuit with the normal ngspice application, everything works, but when I run it through julia, I get the following issue:
julia> NgSpice.init()
julia> NgSpice.source("temp_cir.cir")
julia> NgSpice.run()
Running the simulator
Doing analysis at TEMP = 27.000000 and TNOM = 27.000000
Device Setup
op
Initial Transient Solution
--------------------------
Node Voltage
---- -------
t_heater 20
/t_si_top -101.024
net-_cil-pad2_ -196
t_top_water 20
/t_cu_top -130.534
net-_vh-pad1_ 20
/wire_sw1 1
vln2#branch 74.5583
vh#branch -74.5586
v3#branch 0
Reference value : 0.00000e+000
Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks.
Exception: EXCEPTION_ACCESS_VIOLATION at 0x3e343ccf -- sh_ExecutePerLoop at /workspace/srcdir/ngspice/src\sharedspice.c:2113
in expression starting at REPL[4]:1
sh_ExecutePerLoop at /workspace/srcdir/ngspice/src\sharedspice.c:2113
OUTpData at /workspace/srcdir/ngspice/src/frontend\outitf.c:744
CKTdump at /workspace/srcdir/ngspice/src/spicelib/analysis\cktdump.c:44
DCtran at /workspace/srcdir/ngspice/src/spicelib/analysis\dctran.c:459
CKTdoJob at /workspace/srcdir/ngspice/src/spicelib/analysis\cktdojob.c:231
if_run at /workspace/srcdir/ngspice/src/frontend\spiceif.c:344
dosim at /workspace/srcdir/ngspice/src/frontend\runcoms.c:325
com_run at /workspace/srcdir/ngspice/src/frontend\runcoms.c:387
docommand at /workspace/srcdir/ngspice/src/frontend\control.c:238
doblock at /workspace/srcdir/ngspice/src/frontend\control.c:532
cp_evloop at /workspace/srcdir/ngspice/src/frontend\control.c:862
runc at /workspace/srcdir/ngspice/src\sharedspice.c:710
ngSpice_Command at /workspace/srcdir/ngspice/src\sharedspice.c:1074
cmd at D:\julia\packages\NgSpice\uPgrF\src\API\running.jl:1 [inlined]
run at D:\julia\packages\NgSpice\uPgrF\src\API\running.jl:18
unknown function (ip: 000000003d742df3)
jl_apply at /cygdrive/c/buildbot/worker/package_win64/build/src\julia.h:1788 [inlined]
do_call at /cygdrive/c/buildbot/worker/package_win64/build/src\interpreter.c:126
eval_value at /cygdrive/c/buildbot/worker/package_win64/build/src\interpreter.c:215
eval_stmt_value at /cygdrive/c/buildbot/worker/package_win64/build/src\interpreter.c:166 [inlined]
eval_body at /cygdrive/c/buildbot/worker/package_win64/build/src\interpreter.c:583
jl_interpret_toplevel_thunk at /cygdrive/c/buildbot/worker/package_win64/build/src\interpreter.c:731
jl_toplevel_eval_flex at /cygdrive/c/buildbot/worker/package_win64/build/src\toplevel.c:885
jl_toplevel_eval_flex at /cygdrive/c/buildbot/worker/package_win64/build/src\toplevel.c:830
jl_toplevel_eval at /cygdrive/c/buildbot/worker/package_win64/build/src\toplevel.c:894 [inlined]
jl_toplevel_eval_in at /cygdrive/c/buildbot/worker/package_win64/build/src\toplevel.c:944
eval at .\boot.jl:373 [inlined]
eval_user_input at C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.7\REPL\src\REPL.jl:150
repl_backend_loop at C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.7\REPL\src\REPL.jl:244
start_repl_backend at C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.7\REPL\src\REPL.jl:229
#run_repl#47 at C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.7\REPL\src\REPL.jl:362
run_repl at C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.7\REPL\src\REPL.jl:349
#930 at .\client.jl:394
jfptr_YY.930_37269.clone_1 at C:\Users\thiem\AppData\Local\Programs\Julia-1.7.0\lib\julia\sys.dll (unknown line)
jl_apply at /cygdrive/c/buildbot/worker/package_win64/build/src\julia.h:1788 [inlined]
jl_f__call_latest at /cygdrive/c/buildbot/worker/package_win64/build/src\builtins.c:757
#invokelatest#2 at .\essentials.jl:716 [inlined]
invokelatest at .\essentials.jl:714 [inlined]
run_main_repl at .\client.jl:379
exec_options at .\client.jl:309
_start at .\client.jl:495
jfptr__start_41894.clone_1 at C:\Users\thiem\AppData\Local\Programs\Julia-1.7.0\lib\julia\sys.dll (unknown line)
jl_apply at /cygdrive/c/buildbot/worker/package_win64/build/src\julia.h:1788 [inlined]
true_main at /cygdrive/c/buildbot/worker/package_win64/build/src\jlapi.c:559
jl_repl_entrypoint at /cygdrive/c/buildbot/worker/package_win64/build/src\jlapi.c:701
mainCRTStartup at /cygdrive/c/buildbot/worker/package_win64/build/cli\loader_exe.c:42
BaseThreadInitThunk at C:\WINDOWS\System32\KERNEL32.DLL (unknown line)
RtlUserThreadStart at C:\WINDOWS\SYSTEM32\ntdll.dll (unknown line)
Allocations: 2720 (Pool: 2711; Big: 9); GC: 0
I am not sure if this is an issue in ngspice or with the api, but as it does not happen with the application itself, I posted this issue here first.
The text was updated successfully, but these errors were encountered:
I just downloaded the ngspice 34 executable and ran the circuit provided above. Here, the error did not happen. This leads me to the assumption that the version is not the issue.
Hi,
I do have the following circuit that includes resistivities that are dependent on voltages in the network:
If I source this circuit with the normal ngspice application, everything works, but when I run it through julia, I get the following issue:
I am not sure if this is an issue in ngspice or with the api, but as it does not happen with the application itself, I posted this issue here first.
The text was updated successfully, but these errors were encountered: