Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.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.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 111.8 kB / 17.75 MB, free: 5.312 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.001165/0.001165, allocations: 185.8 kB / 18.68 MB, free: 4.398 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.35/1.35, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.36e-05/2.361e-05, allocations: 6.219 kB / 351.9 MB, free: 3.273 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01543/0.01546, allocations: 16.48 MB / 368.4 MB, free: 2.703 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2155/0.231, allocations: 4.071 MB / 372.5 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003143/0.2341, allocations: 138.7 kB / 372.6 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0151/0.2493, allocations: 7.438 MB / 380.1 MB, free: 9.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005584/0.2549, allocations: 1.482 MB / 381.6 MB, free: 9.164 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002775/0.2577, allocations: 1.104 MB / 382.7 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008654/0.2664, allocations: 7.436 MB / 390.1 MB, free: 6.047 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01982/0.2862, allocations: 18.46 MB / 408.6 MB, free: 9.152 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008047/0.2943, allocations: 4.055 MB / 412.6 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007196/0.3015, allocations: 4.186 MB / 416.8 MB, free: 1.398 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001962/0.3035, allocations: 1.078 MB / 417.9 MB, free: 328 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003546/0.3071, allocations: 1.349 MB / 419.2 MB, free: 14.98 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.006922/0.314, allocations: 8.547 MB / 427.8 MB, free: 6.711 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.004369/0.3184, allocations: 5.307 MB / 433.1 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002336/0.3207, allocations: 0.6003 MB / 433.7 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.001026/0.3218, allocations: 67.75 kB / 433.7 MB, free: 0.8984 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2487 (1410) * Number of variables: 2625 (855) Notification: Performance of Bindings: time 0.04837/0.3702, allocations: 41.89 MB / 475.6 MB, free: 6.941 MB / 382.1 MB Notification: Performance of FunctionAlias: time 0.006243/0.3764, allocations: 4.412 MB / 480 MB, free: 2.582 MB / 382.1 MB Notification: Performance of Early Inline: time 0.0429/0.4194, allocations: 31.1 MB / 0.4992 GB, free: 3.66 MB / 414.1 MB Notification: Performance of simplify1: time 0.003626/0.423, allocations: 1.53 MB / 0.5007 GB, free: 2.148 MB / 414.1 MB Notification: Performance of Alias: time 0.03077/0.4538, allocations: 17.91 MB / 0.5182 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simplify2: time 0.003042/0.4569, allocations: 1.52 MB / 0.5196 GB, free: 14.43 MB / 446.1 MB Notification: Performance of Events: time 0.00453/0.4615, allocations: 3.035 MB / 0.5226 GB, free: 11.41 MB / 446.1 MB Notification: Performance of Detect States: time 0.008999/0.4705, allocations: 5.839 MB / 0.5283 GB, free: 5.578 MB / 446.1 MB Error: Internal error NBVariable.getVarPointer failed for $FUN_1.im, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.