Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Electrical.Spice3.Examples.Inverter") translateModel(Modelica.Electrical.Spice3.Examples.Inverter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=3998,variableFilter="",fileNamePrefix="Modelica_3.2.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.001267/0.001267, allocations: 110.5 kB / 16.42 MB, free: 6.426 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.001295/0.001295, allocations: 187.2 kB / 17.36 MB, free: 5.684 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.242/1.242, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.038e-05/2.038e-05, allocations: 3.125 kB / 327.2 MB, free: 3.355 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Inverter): time 0.007061/0.007089, allocations: 7.719 MB / 334.9 MB, free: 11.6 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0172/0.02432, allocations: 18.5 MB / 353.4 MB, free: 9.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008492/0.0252, allocations: 67.44 kB / 353.5 MB, free: 8.953 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001945/0.02716, allocations: 0.832 MB / 354.3 MB, free: 8.117 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004454/0.03167, allocations: 1.766 MB / 356.1 MB, free: 6.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003456/0.03514, allocations: 1.295 MB / 357.3 MB, free: 5.035 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004503/0.03966, allocations: 3.491 MB / 360.8 MB, free: 1.535 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.03986, allocations: 96.7 kB / 360.9 MB, free: 1.438 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001066/0.04093, allocations: 0.8756 MB / 361.8 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006371/0.04158, allocations: 0.6372 MB / 362.4 MB, free: 15.92 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.774e-05/0.04167, allocations: 43.84 kB / 362.5 MB, free: 15.88 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005364/0.04704, allocations: 1.952 MB / 364.4 MB, free: 13.93 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.001794/0.04885, allocations: 2.511 MB / 367 MB, free: 11.38 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.00118/0.05004, allocations: 1.82 MB / 368.8 MB, free: 9.535 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002464/0.05029, allocations: 163.8 kB / 368.9 MB, free: 9.375 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.086e-05/0.05036, 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.1635/0.2139, allocations: 10.7 MB / 379.6 MB, free: 24.96 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.001242/0.2151, allocations: 0.6762 MB / 380.3 MB, free: 24.92 MB / 318.1 MB Notification: Performance of Early Inline: time 0.003586/0.2187, allocations: 2.153 MB / 382.5 MB, free: 24.8 MB / 318.1 MB Notification: Performance of simplify1: time 0.0003986/0.2192, allocations: 184.1 kB / 382.6 MB, free: 24.8 MB / 318.1 MB Notification: Performance of Alias: time 0.003136/0.2223, allocations: 2.285 MB / 384.9 MB, free: 24.3 MB / 318.1 MB Notification: Performance of simplify2: time 0.0003594/0.2227, allocations: 173.4 kB / 385.1 MB, free: 24.3 MB / 318.1 MB Notification: Performance of Events: time 0.0006941/0.2234, allocations: 0.505 MB / 385.6 MB, free: 24.2 MB / 318.1 MB Notification: Performance of Detect States: time 0.001014/0.2244, allocations: 0.5655 MB / 386.2 MB, free: 24.14 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.