Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.CascodeCircuit,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|J2.D.v|RC.v|J1.D.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit") translateModel(Modelica.Electrical.Spice3.Examples.CascodeCircuit,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|J2.D.v|RC.v|J1.D.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.CascodeCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 113 kB / 17.75 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 188.8 kB / 18.68 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.627e-05/3.628e-05, allocations: 2.281 kB / 351.9 MB, free: 3.297 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.007001/0.007046, allocations: 5.281 MB / 357.2 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01144/0.01851, allocations: 9.064 MB / 366.3 MB, free: 4.891 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.01975, allocations: 35.69 kB / 366.3 MB, free: 4.855 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001327/0.0211, allocations: 401.5 kB / 366.7 MB, free: 4.461 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003542/0.02471, allocations: 0.834 MB / 367.5 MB, free: 3.621 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002204/0.02693, allocations: 0.587 MB / 368.1 MB, free: 3.031 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003332/0.03028, allocations: 1.869 MB / 370 MB, free: 1.156 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002618/0.03056, allocations: 105.3 kB / 370.1 MB, free: 1.047 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009743/0.03155, allocations: 0.4995 MB / 370.6 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007401/0.0323, allocations: 409.9 kB / 371 MB, free: 148 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.54e-05/0.03239, allocations: 28 kB / 371 MB, free: 120 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2049/0.2373, allocations: 0.9453 MB / 372 MB, free: 12.27 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.00115/0.2385, allocations: 1.407 MB / 373.4 MB, free: 11.63 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005977/0.2391, allocations: 1.044 MB / 374.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002365/0.2393, allocations: 106.5 kB / 374.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.882e-05/0.2394, allocations: 6.406 kB / 374.5 MB, free: 10.88 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 (60) * Number of variables: 68 (68) Notification: Performance of Bindings: time 0.004407/0.2438, allocations: 5.992 MB / 380.5 MB, free: 7.582 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0003999/0.2442, allocations: 368.5 kB / 380.9 MB, free: 7.512 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001052/0.2453, allocations: 1.135 MB / 382 MB, free: 7.398 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001234/0.2454, allocations: 85.06 kB / 382.1 MB, free: 7.398 MB / 302.1 MB Notification: Performance of Alias: time 0.001989/0.2474, allocations: 1.704 MB / 383.8 MB, free: 6.375 MB / 302.1 MB Notification: Performance of simplify2: time 8.434e-05/0.2475, allocations: 66.36 kB / 383.9 MB, free: 6.352 MB / 302.1 MB Notification: Performance of Events: time 0.0001984/0.2477, allocations: 210.8 kB / 384.1 MB, free: 6.215 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002659/0.248, allocations: 232 kB / 384.3 MB, free: 6.055 MB / 302.1 MB Error: Internal error NBVariable.getVarPointer failed for $FUN_1.cGD, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.