Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 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.Inverter,tolerance=1e-07,outputFormat="mat",numberOfIntervals=3998,variableFilter="time|mp.S.v",fileNamePrefix="Modelica_4.0.0_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_4.0.0_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.001158/0.001158, allocations: 110.6 kB / 17.7 MB, free: 5.285 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.00116/0.00116, allocations: 192 kB / 18.64 MB, free: 4.355 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.244/1.244, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.565e-05/2.567e-05, allocations: 12.97 kB / 302 MB, free: 5.195 MB / 238.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Inverter): time 0.007872/0.007914, allocations: 8.02 MB / 310 MB, free: 13.15 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.01862/0.02656, allocations: 19.42 MB / 329.5 MB, free: 9.648 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.02768, allocations: 63.44 kB / 329.5 MB, free: 9.586 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002059/0.02975, allocations: 0.8555 MB / 330.4 MB, free: 8.727 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005283/0.03509, allocations: 1.794 MB / 332.2 MB, free: 6.922 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003436/0.03854, allocations: 1.346 MB / 333.5 MB, free: 5.57 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004605/0.04316, allocations: 3.554 MB / 337.1 MB, free: 2.004 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.04334, allocations: 96.7 kB / 337.2 MB, free: 1.91 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001056/0.04441, allocations: 0.9184 MB / 338.1 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005782/0.045, allocations: 0.6487 MB / 338.7 MB, free: 344 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.449e-05/0.04508, allocations: 44 kB / 338.8 MB, free: 300 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004768/0.04986, allocations: 2.372 MB / 341.2 MB, free: 13.92 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.001693/0.05157, allocations: 2.5 MB / 343.7 MB, free: 11.39 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0009694/0.05254, allocations: 1.808 MB / 345.5 MB, free: 9.551 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002183/0.05277, allocations: 159.8 kB / 345.6 MB, free: 9.395 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.476e-05/0.05283, allocations: 8 kB / 345.6 MB, free: 9.387 MB / 286.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.007902/0.06074, allocations: 10.4 MB / 356 MB, free: 14.71 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.001044/0.06179, allocations: 1.116 MB / 357.1 MB, free: 13.58 MB / 302.1 MB Notification: Performance of Early Inline: time 0.002018/0.06382, allocations: 2.145 MB / 359.3 MB, free: 11.41 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001937/0.06402, allocations: 187.8 kB / 359.5 MB, free: 11.22 MB / 302.1 MB Notification: Performance of Alias: time 0.002113/0.06615, allocations: 2.075 MB / 361.5 MB, free: 9.023 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001714/0.06633, allocations: 171.8 kB / 361.7 MB, free: 8.855 MB / 302.1 MB Notification: Performance of Events: time 0.0004903/0.06683, allocations: 0.4995 MB / 362.2 MB, free: 8.348 MB / 302.1 MB Notification: Performance of Detect States: time 0.000599/0.06743, allocations: 0.5591 MB / 362.8 MB, free: 7.773 MB / 302.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.