Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters.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.FourInverters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|mp3.S.v|mp4.S.v|v.p.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters") translateModel(Modelica.Electrical.Spice3.Examples.FourInverters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp1.S.v|mp2.S.v|mp3.S.v|mp4.S.v|v.p.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Spice3.Examples.FourInverters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001358/0.001358, allocations: 112.4 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.001249/0.001249, allocations: 218.2 kB / 19.42 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.623e-05/2.622e-05, allocations: 6.219 kB / 359.3 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.FourInverters): time 0.2278/0.2279, allocations: 26.73 MB / 386 MB, free: 5.363 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0295/0.2574, allocations: 22.37 MB / 408.4 MB, free: 5.277 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00909/0.2666, allocations: 176.9 kB / 408.6 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0067/0.2733, allocations: 1.768 MB / 410.4 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0161/0.2895, allocations: 3.218 MB / 413.6 MB, free: 1.176 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007525/0.297, allocations: 1.627 MB / 415.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.02252/0.3196, allocations: 14.04 MB / 429.2 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007719/0.3204, allocations: 372.4 kB / 429.6 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006995/0.3274, allocations: 3.783 MB / 433.4 MB, free: 324 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004797/0.3322, allocations: 2.494 MB / 435.9 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004813/0.3328, allocations: 140 kB / 436 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009337/0.3421, allocations: 2.517 MB / 438.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.01089/0.353, allocations: 9.781 MB / 448.3 MB, free: 1.246 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.007459/0.3605, allocations: 7.171 MB / 455.5 MB, free: 9.965 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002977/0.3635, allocations: 0.6008 MB / 456.1 MB, free: 9.363 MB / 366.1 MB Notification: Performance of FrontEnd: time 0.0003844/0.3639, allocations: 24 kB / 456.1 MB, free: 9.34 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 288 (224) * Number of variables: 288 (288) Notification: Performance of Bindings: time 0.04287/0.4068, allocations: 41.11 MB / 497.2 MB, free: 15.52 MB / 414.1 MB Notification: Performance of FunctionAlias: time 0.005455/0.4123, allocations: 4.67 MB / 0.4901 GB, free: 10.83 MB / 414.1 MB Notification: Performance of Early Inline: time 0.008953/0.4213, allocations: 7.626 MB / 0.4976 GB, free: 3.09 MB / 414.1 MB Notification: Performance of simplify1: time 0.0008562/0.4222, allocations: 0.6594 MB / 0.4982 GB, free: 2.43 MB / 414.1 MB Notification: Performance of Alias: time 0.009445/0.4316, allocations: 7.777 MB / 0.5058 GB, free: 10.31 MB / 430.1 MB Notification: Performance of simplify2: time 0.001222/0.4329, allocations: 0.5815 MB / 0.5064 GB, free: 9.73 MB / 430.1 MB Notification: Performance of Events: time 0.001724/0.4346, allocations: 1.775 MB / 0.5081 GB, free: 7.941 MB / 430.1 MB Notification: Performance of Detect States: time 0.001816/0.4364, allocations: 1.694 MB / 0.5098 GB, free: 6.211 MB / 430.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.