Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001297/0.001297, allocations: 119.7 kB / 18.47 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001354/0.001354, allocations: 209.1 kB / 19.42 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 247.6 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.816e-05/1.817e-05, allocations: 2.281 kB / 359.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersApartRecord): time 0.2034/0.2034, allocations: 14.7 MB / 374 MB, free: 9.617 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02038/0.2238, allocations: 20.72 MB / 394.8 MB, free: 15.62 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002822/0.2267, allocations: 89.66 kB / 394.8 MB, free: 15.58 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004048/0.2307, allocations: 1.23 MB / 396.1 MB, free: 14.93 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01159/0.2424, allocations: 2.31 MB / 398.4 MB, free: 13.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007142/0.2495, allocations: 1.439 MB / 399.8 MB, free: 12.69 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01285/0.2624, allocations: 7.181 MB / 407 MB, free: 9.211 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004639/0.2629, allocations: 192.6 kB / 407.2 MB, free: 9.102 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003481/0.2664, allocations: 1.943 MB / 409.1 MB, free: 8.348 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002536/0.269, allocations: 1.312 MB / 410.4 MB, free: 7.453 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003638/0.2694, allocations: 80 kB / 410.5 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01197/0.2813, allocations: 2.443 MB / 413 MB, free: 4.93 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.004772/0.2862, allocations: 5.107 MB / 418.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.002531/0.2887, allocations: 3.74 MB / 421.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006712/0.2894, allocations: 319.6 kB / 422.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0001729/0.2896, allocations: 16 kB / 422.1 MB, free: 11.62 MB / 334.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.01754/0.3071, allocations: 21.43 MB / 443.6 MB, free: 5.746 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.002356/0.3095, allocations: 2.232 MB / 445.8 MB, free: 3.52 MB / 350.1 MB Notification: Performance of Early Inline: time 0.004088/0.3136, allocations: 4.001 MB / 449.8 MB, free: 15.47 MB / 366.1 MB Notification: Performance of simplify1: time 0.000416/0.314, allocations: 347.6 kB / 450.1 MB, free: 15.13 MB / 366.1 MB Notification: Performance of Alias: time 0.004602/0.3186, allocations: 4.166 MB / 454.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simplify2: time 0.0004205/0.3191, allocations: 319.7 kB / 454.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of Events: time 0.000827/0.3199, allocations: 0.8802 MB / 455.5 MB, free: 9.539 MB / 366.1 MB Notification: Performance of Detect States: time 0.001012/0.3209, allocations: 0.9581 MB / 456.5 MB, free: 8.555 MB / 366.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.