Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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="empty",numberOfIntervals=3998,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Spice3.Examples.Inverter") translateModel(Modelica.Electrical.Spice3.Examples.Inverter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=3998,variableFilter="",fileNamePrefix="Modelica_3.1_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.001184/0.001184, allocations: 105.5 kB / 16.42 MB, free: 6.496 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.001131/0.001131, allocations: 187.2 kB / 17.35 MB, free: 5.742 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.481/1.481, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.691e-05, allocations: 3.547 kB / 327.2 MB, free: 3.344 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Inverter): time 0.007854/0.007889, allocations: 7.715 MB / 334.9 MB, free: 11.59 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01986/0.02777, allocations: 18.51 MB / 353.4 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001292/0.0291, allocations: 59.44 kB / 353.5 MB, free: 8.945 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002386/0.0315, allocations: 0.8282 MB / 354.3 MB, free: 8.113 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006517/0.03809, allocations: 1.774 MB / 356.1 MB, free: 6.328 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004967/0.04307, allocations: 1.283 MB / 357.3 MB, free: 5.035 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005494/0.04858, allocations: 3.487 MB / 360.8 MB, free: 1.539 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002174/0.04881, allocations: 104.7 kB / 360.9 MB, free: 1.434 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001173/0.05, allocations: 0.8678 MB / 361.8 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000652/0.05066, allocations: 0.6411 MB / 362.4 MB, free: 15.92 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.696e-05/0.05075, allocations: 44 kB / 362.5 MB, free: 15.88 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006514/0.05727, allocations: 1.956 MB / 364.4 MB, free: 13.92 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.001949/0.05923, allocations: 2.511 MB / 367 MB, free: 11.38 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.001122/0.06036, allocations: 1.816 MB / 368.8 MB, free: 9.535 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003158/0.06069, allocations: 163.8 kB / 368.9 MB, free: 9.375 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.477e-05/0.06077, allocations: 8 kB / 368.9 MB, free: 9.367 MB / 318.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.2195/0.2803, allocations: 10.7 MB / 379.6 MB, free: 24.34 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0007808/0.2811, allocations: 0.6751 MB / 380.3 MB, free: 24.3 MB / 318.1 MB Notification: Performance of Early Inline: time 0.003049/0.2841, allocations: 2.149 MB / 382.5 MB, free: 24.19 MB / 318.1 MB Notification: Performance of simplify1: time 0.0003556/0.2845, allocations: 191.9 kB / 382.7 MB, free: 24.18 MB / 318.1 MB Notification: Performance of Alias: time 0.003376/0.2879, allocations: 2.279 MB / 384.9 MB, free: 23.69 MB / 318.1 MB Notification: Performance of simplify2: time 0.0003241/0.2882, allocations: 176 kB / 385.1 MB, free: 23.68 MB / 318.1 MB Notification: Performance of Events: time 0.0007116/0.2889, allocations: 0.5072 MB / 385.6 MB, free: 23.58 MB / 318.1 MB Notification: Performance of Detect States: time 0.0009636/0.2899, allocations: 0.5589 MB / 386.2 MB, free: 23.53 MB / 318.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.