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.001186/0.001186, allocations: 105.3 kB / 17.75 MB, free: 5.293 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.001244/0.001244, allocations: 188.4 kB / 18.69 MB, free: 4.363 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.308/1.308, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.1e-05/2.101e-05, allocations: 2.281 kB / 351.9 MB, free: 3.27 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.005528/0.00556, allocations: 5.285 MB / 357.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01081/0.01639, allocations: 9.068 MB / 366.3 MB, free: 4.852 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.01748, allocations: 35.69 kB / 366.3 MB, free: 4.816 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0012/0.01869, allocations: 401.5 kB / 366.7 MB, free: 4.422 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002969/0.02168, allocations: 0.8418 MB / 367.5 MB, free: 3.574 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002019/0.02378, allocations: 0.5987 MB / 368.1 MB, free: 2.973 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002652/0.02644, allocations: 1.861 MB / 370 MB, free: 1.105 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002466/0.0267, allocations: 97.28 kB / 370.1 MB, free: 1.004 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008181/0.02753, allocations: 0.5072 MB / 370.6 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004649/0.02801, allocations: 405.8 kB / 371 MB, free: 100 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.906e-05/0.0281, allocations: 32 kB / 371 MB, free: 68 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2123/0.2405, allocations: 0.9394 MB / 372 MB, free: 12.25 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001433/0.2419, allocations: 1.41 MB / 373.4 MB, free: 11.61 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.000663/0.2426, allocations: 1.049 MB / 374.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002378/0.2429, allocations: 108.9 kB / 374.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.724e-05/0.243, allocations: 7.984 kB / 374.6 MB, free: 10.86 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.004883/0.2478, allocations: 5.989 MB / 380.5 MB, free: 7.57 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0004222/0.2483, allocations: 359 kB / 380.9 MB, free: 7.5 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001103/0.2494, allocations: 1.138 MB / 382 MB, free: 7.391 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001194/0.2495, allocations: 79.14 kB / 382.1 MB, free: 7.391 MB / 302.1 MB Notification: Performance of Alias: time 0.00211/0.2516, allocations: 1.712 MB / 383.8 MB, free: 6.371 MB / 302.1 MB Notification: Performance of simplify2: time 7.828e-05/0.2517, allocations: 60.09 kB / 383.9 MB, free: 6.352 MB / 302.1 MB Notification: Performance of Detect States: time 0.0003663/0.2521, allocations: 365.9 kB / 384.2 MB, free: 6.098 MB / 302.1 MB Notification: Performance of Events: time 0.00013/0.2522, allocations: 82.94 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.