Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001223/0.001224, allocations: 111.4 kB / 18.42 MB, free: 4.645 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.001133/0.001133, allocations: 193.4 kB / 19.35 MB, free: 3.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.423e-05/2.424e-05, allocations: 3.266 kB / 329.2 MB, free: 3.355 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.007583/0.007615, allocations: 5.136 MB / 334.3 MB, free: 14.2 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01048/0.01814, allocations: 8.676 MB / 343 MB, free: 5.484 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006476/0.01882, allocations: 35.69 kB / 343 MB, free: 5.449 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001045/0.01987, allocations: 373.4 kB / 343.4 MB, free: 5.082 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002182/0.02206, allocations: 0.8067 MB / 344.2 MB, free: 4.27 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001483/0.02362, allocations: 0.5946 MB / 344.8 MB, free: 3.672 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002386/0.02602, allocations: 1.826 MB / 346.6 MB, free: 1.84 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002188/0.02625, allocations: 109.2 kB / 346.7 MB, free: 1.73 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000605/0.02687, allocations: 491.5 kB / 347.2 MB, free: 1.25 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004733/0.02735, allocations: 401.9 kB / 347.6 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.829e-05/0.02741, allocations: 28 kB / 347.6 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001738/0.02915, allocations: 0.8236 MB / 348.4 MB, free: 4 kB / 286.1 MB Notification: Performance of combineBinaries: time 0.001039/0.03021, allocations: 1.415 MB / 349.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006294/0.03084, allocations: 1.031 MB / 350.9 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.03097, allocations: 107.8 kB / 351 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.725e-05/0.03102, allocations: 8 kB / 351 MB, free: 13.41 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.004989/0.03602, allocations: 6 MB / 357 MB, free: 7.207 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0004204/0.03645, allocations: 362.4 kB / 357.3 MB, free: 6.848 MB / 302.1 MB Notification: Performance of Early Inline: time 0.00113/0.03759, allocations: 1.141 MB / 358.5 MB, free: 5.68 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001196/0.03772, allocations: 91.88 kB / 358.6 MB, free: 5.59 MB / 302.1 MB Notification: Performance of Alias: time 0.002207/0.03993, allocations: 1.692 MB / 360.3 MB, free: 3.742 MB / 302.1 MB Notification: Performance of simplify2: time 6.299e-05/0.04001, allocations: 63.91 kB / 360.3 MB, free: 3.68 MB / 302.1 MB Notification: Performance of Events: time 0.0002154/0.04023, allocations: 216.4 kB / 360.5 MB, free: 3.465 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002785/0.04052, allocations: 230.2 kB / 360.8 MB, free: 3.227 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.