Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001241/0.001241, allocations: 109.4 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.00122/0.00122, allocations: 188.3 kB / 18.69 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.147e-05/2.148e-05, allocations: 2.281 kB / 351.9 MB, free: 3.293 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersApartRecord): time 0.01264/0.01267, allocations: 14.69 MB / 366.6 MB, free: 4.539 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2086/0.2213, allocations: 20.67 MB / 387.3 MB, free: 7.309 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002858/0.2242, allocations: 89.53 kB / 387.4 MB, free: 7.262 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003819/0.228, allocations: 1.234 MB / 388.6 MB, free: 6.629 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01039/0.2385, allocations: 2.302 MB / 390.9 MB, free: 5.305 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006201/0.2447, allocations: 1.442 MB / 392.4 MB, free: 4.551 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01096/0.2557, allocations: 7.103 MB / 399.5 MB, free: 1.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003587/0.2561, allocations: 194 kB / 399.7 MB, free: 1.406 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003206/0.2593, allocations: 1.933 MB / 401.6 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002537/0.2618, allocations: 1.304 MB / 402.9 MB, free: 15.97 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002521/0.2621, allocations: 76.66 kB / 403 MB, free: 15.97 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009816/0.2719, allocations: 2.449 MB / 405.4 MB, free: 14.36 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.004683/0.2766, allocations: 5.103 MB / 410.5 MB, free: 9.195 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.002507/0.2792, allocations: 3.732 MB / 414.3 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006494/0.2798, allocations: 323.6 kB / 414.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001554/0.28, allocations: 16 kB / 414.6 MB, free: 5.074 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.01724/0.2972, allocations: 21.44 MB / 436 MB, free: 15.19 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.002084/0.2993, allocations: 2.228 MB / 438.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of Early Inline: time 0.004433/0.3038, allocations: 4.009 MB / 442.3 MB, free: 8.895 MB / 350.1 MB Notification: Performance of simplify1: time 0.0003615/0.3041, allocations: 351.6 kB / 442.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of Alias: time 0.004658/0.3088, allocations: 4.156 MB / 446.8 MB, free: 4.176 MB / 350.1 MB Notification: Performance of simplify2: time 0.0003424/0.3092, allocations: 311.7 kB / 447.1 MB, free: 3.871 MB / 350.1 MB Notification: Performance of Events: time 0.0009143/0.3101, allocations: 0.8919 MB / 448 MB, free: 2.965 MB / 350.1 MB Notification: Performance of Detect States: time 0.001141/0.3112, allocations: 0.95 MB / 448.9 MB, free: 1.996 MB / 350.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.