Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Spice3.Examples.CascodeCircuit") translateModel(Modelica.Electrical.Spice3.Examples.CascodeCircuit,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_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.001253/0.001253, allocations: 107.4 kB / 16.42 MB, free: 6.484 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.001155/0.001155, allocations: 187.2 kB / 17.35 MB, free: 5.754 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.49/1.49, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.437e-05/3.438e-05, allocations: 2.281 kB / 327.2 MB, free: 3.344 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.005729/0.005772, allocations: 5.134 MB / 332.3 MB, free: 14.19 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009353/0.01515, allocations: 8.668 MB / 341 MB, free: 5.48 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006138/0.01579, allocations: 39.69 kB / 341 MB, free: 5.441 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009524/0.01675, allocations: 381.4 kB / 341.4 MB, free: 5.066 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002305/0.01912, allocations: 0.8106 MB / 342.2 MB, free: 4.25 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001408/0.02054, allocations: 0.5868 MB / 342.8 MB, free: 3.66 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002344/0.0229, allocations: 1.822 MB / 344.6 MB, free: 1.832 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001954/0.0231, allocations: 109.2 kB / 344.7 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005466/0.02366, allocations: 475.5 kB / 345.2 MB, free: 1.258 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004222/0.02409, allocations: 397.9 kB / 345.6 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.616e-05/0.02415, allocations: 31.94 kB / 345.6 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001721/0.02588, allocations: 0.8275 MB / 346.4 MB, free: 8 kB / 286.1 MB Notification: Performance of combineBinaries: time 0.001012/0.0269, allocations: 1.411 MB / 347.8 MB, free: 14.58 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.000599/0.02751, allocations: 1.031 MB / 348.9 MB, free: 13.53 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.02764, allocations: 107.8 kB / 349 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.915e-05/0.02769, allocations: 8 kB / 349 MB, free: 13.42 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.004492/0.03218, allocations: 5.984 MB / 355 MB, free: 7.234 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0003809/0.03257, allocations: 369.3 kB / 355.3 MB, free: 6.871 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001004/0.03359, allocations: 1.133 MB / 356.5 MB, free: 5.711 MB / 302.1 MB Notification: Performance of simplify1: time 9.746e-05/0.03369, allocations: 87.88 kB / 356.5 MB, free: 5.625 MB / 302.1 MB Notification: Performance of Alias: time 0.001721/0.03542, allocations: 1.579 MB / 358.1 MB, free: 3.887 MB / 302.1 MB Notification: Performance of simplify2: time 6.009e-05/0.03549, allocations: 63.91 kB / 358.2 MB, free: 3.824 MB / 302.1 MB Notification: Performance of Events: time 0.0001944/0.03569, allocations: 212.4 kB / 358.4 MB, free: 3.613 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002561/0.03596, allocations: 234.2 kB / 358.6 MB, free: 3.371 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.