Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") translateModel(Modelica.Electrical.Spice3.Examples.InvertersApartRecord,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|v.p.v",fileNamePrefix="Modelica_3.2.3_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.001615/0.001615, allocations: 108 kB / 18.41 MB, free: 4.762 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.001794/0.001794, allocations: 186.7 kB / 19.34 MB, free: 3.84 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.495/1.495, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.914e-05/2.914e-05, allocations: 3.125 kB / 329.1 MB, free: 3.363 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersApartRecord): time 0.01431/0.01435, allocations: 14.04 MB / 343.2 MB, free: 5.266 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02934/0.04374, allocations: 19.72 MB / 362.9 MB, free: 1.465 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004919/0.0487, allocations: 95.25 kB / 363 MB, free: 1.371 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00544/0.05418, allocations: 1.201 MB / 364.2 MB, free: 160 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01287/0.06707, allocations: 2.293 MB / 366.5 MB, free: 13.85 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007678/0.0748, allocations: 1.4 MB / 367.9 MB, free: 12.44 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01438/0.08921, allocations: 6.961 MB / 374.8 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004785/0.08973, allocations: 197 kB / 375 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003508/0.09325, allocations: 1.857 MB / 376.9 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002923/0.0962, allocations: 1.29 MB / 378.2 MB, free: 2.105 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004419/0.09666, allocations: 76 kB / 378.3 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01018/0.1069, allocations: 2.018 MB / 380.3 MB, free: 12 kB / 318.1 MB Notification: Performance of combineBinaries: time 0.2449/0.3518, allocations: 5.134 MB / 385.4 MB, free: 17.99 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.003496/0.3553, allocations: 3.759 MB / 389.2 MB, free: 15.35 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001168/0.3565, allocations: 326.5 kB / 389.5 MB, free: 15.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0002109/0.3567, allocations: 15.38 kB / 389.5 MB, free: 15.32 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.02168/0.3784, allocations: 21.57 MB / 411.1 MB, free: 3.137 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.002669/0.3811, allocations: 2.241 MB / 413.3 MB, free: 2.367 MB / 318.1 MB Notification: Performance of Early Inline: time 0.004769/0.3859, allocations: 4.012 MB / 417.3 MB, free: 360 kB / 318.1 MB Notification: Performance of simplify1: time 0.0005358/0.3864, allocations: 355 kB / 417.7 MB, free: 264 kB / 318.1 MB Notification: Performance of Alias: time 0.005216/0.3917, allocations: 4.177 MB / 421.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of simplify2: time 0.0005964/0.3923, allocations: 315 kB / 422.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of Detect States: time 0.001524/0.3938, allocations: 1.414 MB / 423.6 MB, free: 11.92 MB / 334.1 MB Notification: Performance of Events: time 0.0006277/0.3944, allocations: 409.6 kB / 424 MB, free: 11.57 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.