Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.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.InvertersApartRecord,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") translateModel(Modelica.Electrical.Spice3.Examples.InvertersApartRecord,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 108.8 kB / 16.42 MB, free: 6.004 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.001252/0.001252, allocations: 188.1 kB / 17.35 MB, free: 5.598 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.24/1.24, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.907e-05/1.908e-05, allocations: 6.219 kB / 327.2 MB, free: 3.355 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersApartRecord): time 0.01193/0.01195, allocations: 14.03 MB / 341.2 MB, free: 5.262 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02067/0.03265, allocations: 19.73 MB / 360.9 MB, free: 1.457 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001753/0.03444, allocations: 91.19 kB / 361 MB, free: 1.367 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002721/0.03717, allocations: 1.205 MB / 362.2 MB, free: 152 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006746/0.04399, allocations: 2.254 MB / 364.5 MB, free: 13.88 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003905/0.04791, allocations: 1.392 MB / 365.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009154/0.05707, allocations: 6.973 MB / 372.8 MB, free: 5.488 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002976/0.05739, allocations: 201 kB / 373 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002205/0.05961, allocations: 1.743 MB / 374.8 MB, free: 3.539 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001211/0.06083, allocations: 1.29 MB / 376.1 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001442/0.06098, allocations: 80 kB / 376.1 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005494/0.06648, allocations: 2.01 MB / 378.2 MB, free: 156 kB / 318.1 MB Notification: Performance of combineBinaries: time 0.1443/0.2108, allocations: 5.134 MB / 383.3 MB, free: 18.09 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.00326/0.2141, allocations: 3.76 MB / 387.1 MB, free: 15.45 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001593/0.2157, allocations: 320.2 kB / 387.4 MB, free: 15.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001345/0.2158, allocations: 14.62 kB / 387.4 MB, free: 15.43 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: 154 (122) * Number of variables: 154 (154) Notification: Performance of Bindings: time 0.01959/0.2354, allocations: 21.55 MB / 408.9 MB, free: 3.234 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.002576/0.238, allocations: 2.249 MB / 411.2 MB, free: 2.438 MB / 318.1 MB Notification: Performance of Early Inline: time 0.005909/0.244, allocations: 4.01 MB / 415.2 MB, free: 432 kB / 318.1 MB Notification: Performance of simplify1: time 0.0004249/0.2444, allocations: 351.9 kB / 415.5 MB, free: 336 kB / 318.1 MB Notification: Performance of Alias: time 0.004528/0.2489, allocations: 3.999 MB / 419.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of simplify2: time 0.00051/0.2495, allocations: 313.4 kB / 419.8 MB, free: 13.51 MB / 334.1 MB Notification: Performance of Events: time 0.0009855/0.2505, allocations: 0.891 MB / 420.7 MB, free: 12.67 MB / 334.1 MB Notification: Performance of Detect States: time 0.001256/0.2517, allocations: 0.9592 MB / 421.7 MB, free: 11.83 MB / 334.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.