Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.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.InvertersExtendedModel,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.InvertersExtendedModel") translateModel(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel,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.InvertersExtendedModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001217/0.001217, allocations: 110.1 kB / 18.46 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001486/0.001486, allocations: 207.9 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.266/1.266, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.667e-05/1.667e-05, allocations: 2.281 kB / 359.3 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel): time 0.1797/0.1798, allocations: 15.3 MB / 374.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02027/0.2001, allocations: 20.79 MB / 395.4 MB, free: 15.33 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002943/0.2031, allocations: 89.34 kB / 395.5 MB, free: 15.28 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003949/0.207, allocations: 1.266 MB / 396.8 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009361/0.2165, allocations: 2.369 MB / 399.1 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005865/0.2224, allocations: 1.451 MB / 400.6 MB, free: 12.22 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01234/0.2347, allocations: 7.339 MB / 407.9 MB, free: 8.641 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004045/0.2352, allocations: 198.8 kB / 408.1 MB, free: 8.527 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003723/0.2389, allocations: 1.973 MB / 410.1 MB, free: 7.758 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001961/0.2409, allocations: 1.344 MB / 411.4 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002134/0.2411, allocations: 76 kB / 411.5 MB, free: 6.438 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007712/0.2488, allocations: 2.45 MB / 414 MB, free: 3.984 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.003948/0.2528, allocations: 5.307 MB / 419.3 MB, free: 14.61 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.002296/0.2551, allocations: 3.913 MB / 423.2 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000537/0.2556, allocations: 335.6 kB / 423.5 MB, free: 10.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0001424/0.2558, allocations: 12 kB / 423.5 MB, free: 10.29 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.01693/0.2727, allocations: 23.01 MB / 446.5 MB, free: 2.828 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.00194/0.2747, allocations: 1.861 MB / 448.4 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of Early Inline: time 0.003857/0.2786, allocations: 3.993 MB / 452.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simplify1: time 0.0004119/0.279, allocations: 355.6 kB / 452.7 MB, free: 12.58 MB / 366.1 MB Notification: Performance of Alias: time 0.00436/0.2833, allocations: 4.263 MB / 457 MB, free: 8.102 MB / 366.1 MB Notification: Performance of simplify2: time 0.0003843/0.2837, allocations: 311.7 kB / 457.3 MB, free: 7.797 MB / 366.1 MB Notification: Performance of Detect States: time 0.001335/0.2851, allocations: 1.427 MB / 458.7 MB, free: 6.344 MB / 366.1 MB Notification: Performance of Events: time 0.0005286/0.2856, allocations: 411.6 kB / 459.1 MB, free: 5.934 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.