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.001532/0.001531, allocations: 109.7 kB / 18.41 MB, free: 4.664 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.001476/0.001476, allocations: 191.1 kB / 19.35 MB, free: 3.742 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.561/1.561, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.635e-05/2.636e-05, allocations: 6.219 kB / 329.2 MB, free: 3.363 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersApartRecord): time 0.01331/0.01334, allocations: 14.03 MB / 343.2 MB, free: 5.273 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02616/0.03954, allocations: 19.73 MB / 362.9 MB, free: 1.469 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00351/0.0431, allocations: 91.19 kB / 363 MB, free: 1.379 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003901/0.04701, allocations: 1.205 MB / 364.2 MB, free: 164 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01029/0.05733, allocations: 2.262 MB / 366.5 MB, free: 13.88 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006126/0.06348, allocations: 1.385 MB / 367.8 MB, free: 12.49 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01226/0.07577, allocations: 6.969 MB / 374.8 MB, free: 5.504 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004258/0.07625, allocations: 201 kB / 375 MB, free: 5.305 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00333/0.07959, allocations: 1.857 MB / 376.9 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00168/0.08128, allocations: 1.286 MB / 378.2 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001561/0.08145, allocations: 80 kB / 378.2 MB, free: 2.07 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00755/0.08901, allocations: 2.014 MB / 380.2 MB, free: 56 kB / 318.1 MB Notification: Performance of combineBinaries: time 0.2408/0.3298, allocations: 5.133 MB / 385.4 MB, free: 18.06 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.004829/0.3347, allocations: 3.76 MB / 389.1 MB, free: 15.42 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001541/0.3363, allocations: 320.8 kB / 389.5 MB, free: 15.39 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0002378/0.3365, allocations: 14.5 kB / 389.5 MB, free: 15.39 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.026/0.3625, allocations: 21.58 MB / 411 MB, free: 3.207 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.002918/0.3655, allocations: 2.237 MB / 413.3 MB, free: 2.426 MB / 318.1 MB Notification: Performance of Early Inline: time 0.004434/0.37, allocations: 4.014 MB / 417.3 MB, free: 420 kB / 318.1 MB Notification: Performance of simplify1: time 0.0005057/0.3705, allocations: 354.5 kB / 417.6 MB, free: 324 kB / 318.1 MB Notification: Performance of Alias: time 0.006811/0.3773, allocations: 4.177 MB / 421.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of simplify2: time 0.0009154/0.3783, allocations: 320.7 kB / 422.1 MB, free: 13.28 MB / 334.1 MB Notification: Performance of Events: time 0.00114/0.3794, allocations: 0.8853 MB / 423 MB, free: 12.45 MB / 334.1 MB Notification: Performance of Detect States: time 0.00135/0.3808, allocations: 0.9608 MB / 424 MB, free: 11.6 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.