Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") translateModel(Modelica.Electrical.Spice3.Examples.InvertersApartRecord,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001292/0.001293, allocations: 113.1 kB / 17.75 MB, free: 5.328 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.001159/0.00116, allocations: 196.5 kB / 18.68 MB, free: 4.406 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.406/1.406, allocations: 205.1 MB / 224.6 MB, free: 12.28 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.93e-05/1.93e-05, allocations: 2.281 kB / 328.5 MB, free: 3.352 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersApartRecord): time 0.012/0.01203, allocations: 14.02 MB / 342.5 MB, free: 5.266 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02042/0.03247, allocations: 19.73 MB / 362.2 MB, free: 1.461 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002043/0.03457, allocations: 87.25 kB / 362.3 MB, free: 1.375 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002855/0.03743, allocations: 1.213 MB / 363.5 MB, free: 152 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006948/0.04445, allocations: 2.254 MB / 365.8 MB, free: 13.88 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004249/0.04871, allocations: 1.392 MB / 367.2 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01079/0.05952, allocations: 6.972 MB / 374.2 MB, free: 5.488 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004151/0.05997, allocations: 197 kB / 374.4 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002719/0.06271, allocations: 1.74 MB / 376.1 MB, free: 3.547 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002022/0.06475, allocations: 1.29 MB / 377.4 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002966/0.06506, allocations: 76 kB / 377.5 MB, free: 2.176 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00803/0.0731, allocations: 2.018 MB / 379.5 MB, free: 160 kB / 318.1 MB Notification: Performance of combineBinaries: time 0.1949/0.268, allocations: 5.134 MB / 384.6 MB, free: 18.09 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.002843/0.2709, allocations: 3.76 MB / 388.4 MB, free: 15.44 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008634/0.2718, allocations: 325.5 kB / 388.7 MB, free: 15.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.000142/0.2719, allocations: 14.5 kB / 388.7 MB, free: 15.41 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.01786/0.2898, allocations: 21.55 MB / 410.3 MB, free: 3.227 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.002096/0.2919, allocations: 2.242 MB / 412.5 MB, free: 2.473 MB / 318.1 MB Notification: Performance of Early Inline: time 0.003966/0.2959, allocations: 4.015 MB / 416.5 MB, free: 464 kB / 318.1 MB Notification: Performance of simplify1: time 0.0004152/0.2963, allocations: 351.3 kB / 416.9 MB, free: 368 kB / 318.1 MB Notification: Performance of Alias: time 0.004643/0.301, allocations: 4 MB / 420.9 MB, free: 13.75 MB / 334.1 MB Notification: Performance of simplify2: time 0.0005976/0.3016, allocations: 317.2 kB / 421.2 MB, free: 13.52 MB / 334.1 MB Notification: Performance of Events: time 0.001108/0.3027, allocations: 0.887 MB / 422.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of Detect States: time 0.00145/0.3041, allocations: 0.9631 MB / 423 MB, free: 11.84 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.