Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Inverter.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.Inverter,tolerance=1e-07,outputFormat="mat",numberOfIntervals=3998,variableFilter="time|mp.S.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Inverter") translateModel(Modelica.Electrical.Spice3.Examples.Inverter,tolerance=1e-07,outputFormat="mat",numberOfIntervals=3998,variableFilter="time|mp.S.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 110.3 kB / 18.35 MB, free: 4.859 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.001122/0.001122, allocations: 195.5 kB / 19.3 MB, free: 3.926 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.331/1.331, allocations: 205.1 MB / 225.2 MB, free: 12.29 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.413e-05/2.415e-05, allocations: 2.281 kB / 282 MB, free: 2.539 MB / 222.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Inverter): time 0.007646/0.007682, allocations: 7.73 MB / 289.8 MB, free: 10.77 MB / 238.1 MB Notification: Performance of NFInst.instExpressions: time 0.01844/0.02614, allocations: 18.52 MB / 308.3 MB, free: 8.172 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001106/0.02727, allocations: 63.44 kB / 308.3 MB, free: 8.109 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002069/0.02935, allocations: 0.8242 MB / 309.2 MB, free: 7.277 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005061/0.03447, allocations: 1.774 MB / 310.9 MB, free: 5.492 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003726/0.03823, allocations: 1.283 MB / 312.2 MB, free: 4.203 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.00493/0.04318, allocations: 3.491 MB / 315.7 MB, free: 0.6992 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.04339, allocations: 96.7 kB / 315.8 MB, free: 0.6055 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00116/0.04456, allocations: 0.8795 MB / 316.7 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005938/0.04517, allocations: 0.6371 MB / 317.3 MB, free: 15.08 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.202e-05/0.04526, allocations: 44 kB / 317.4 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005364/0.05063, allocations: 1.944 MB / 319.3 MB, free: 13.09 MB / 270.1 MB Notification: Performance of combineBinaries: time 0.001852/0.0525, allocations: 2.511 MB / 321.8 MB, free: 10.55 MB / 270.1 MB Notification: Performance of replaceArrayConstructors: time 0.001064/0.05357, allocations: 1.828 MB / 323.7 MB, free: 8.695 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002671/0.05385, allocations: 155.8 kB / 323.8 MB, free: 8.543 MB / 270.1 MB Notification: Performance of FrontEnd: time 7.21e-05/0.05393, allocations: 8 kB / 323.8 MB, free: 8.535 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 (64) * Number of variables: 80 (80) Notification: Performance of Bindings: time 0.00787/0.0618, allocations: 10.72 MB / 334.5 MB, free: 13.54 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0007309/0.06254, allocations: 0.676 MB / 335.2 MB, free: 12.86 MB / 286.1 MB Notification: Performance of Early Inline: time 0.002061/0.06461, allocations: 2.153 MB / 337.4 MB, free: 10.68 MB / 286.1 MB Notification: Performance of simplify1: time 0.0002009/0.06482, allocations: 191.8 kB / 337.6 MB, free: 10.49 MB / 286.1 MB Notification: Performance of Alias: time 0.002528/0.06736, allocations: 2.277 MB / 339.8 MB, free: 8.082 MB / 286.1 MB Notification: Performance of simplify2: time 0.000223/0.0676, allocations: 175.8 kB / 340 MB, free: 7.91 MB / 286.1 MB Notification: Performance of Events: time 0.0005844/0.06819, allocations: 0.495 MB / 340.5 MB, free: 7.41 MB / 286.1 MB Notification: Performance of Detect States: time 0.000731/0.06893, allocations: 0.5669 MB / 341.1 MB, free: 6.824 MB / 286.1 MB Error: Internal error NBVariable.getVarPointer failed for $FUN_1.m_capgd, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.