Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel.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.InvertersExtendedModel,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.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_4.0.0_Modelica.Electrical.Spice3.Examples.InvertersExtendedModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 113.1 kB / 17.76 MB, free: 5.301 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.001149/0.001149, allocations: 188.6 kB / 18.69 MB, free: 4.375 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.279/1.279, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.267e-05/2.268e-05, allocations: 2.281 kB / 351.9 MB, free: 3.309 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel): time 0.01327/0.0133, allocations: 15.31 MB / 367.2 MB, free: 3.934 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2044/0.2178, allocations: 20.74 MB / 388 MB, free: 6.895 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003125/0.2209, allocations: 90.97 kB / 388.1 MB, free: 6.848 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004256/0.2252, allocations: 1.272 MB / 389.3 MB, free: 6.199 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01102/0.2362, allocations: 2.369 MB / 391.7 MB, free: 4.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006202/0.2425, allocations: 1.445 MB / 393.1 MB, free: 3.996 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01185/0.2543, allocations: 7.268 MB / 400.4 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003501/0.2547, allocations: 190.2 kB / 400.6 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003425/0.2581, allocations: 1.981 MB / 402.6 MB, free: 15.89 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001927/0.2601, allocations: 1.34 MB / 403.9 MB, free: 15.2 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000235/0.2603, allocations: 78.62 kB / 404 MB, free: 15.2 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00911/0.2694, allocations: 2.442 MB / 406.4 MB, free: 13.36 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.005052/0.2745, allocations: 5.315 MB / 411.7 MB, free: 7.977 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.003274/0.2778, allocations: 3.913 MB / 415.7 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008275/0.2787, allocations: 335.6 kB / 416 MB, free: 3.676 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.000174/0.2788, allocations: 16 kB / 416 MB, free: 3.66 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.02034/0.2992, allocations: 23 MB / 439 MB, free: 12.2 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.002234/0.3014, allocations: 1.858 MB / 440.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of Early Inline: time 0.004096/0.3056, allocations: 4.009 MB / 444.9 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simplify1: time 0.0004398/0.306, allocations: 347.6 kB / 445.2 MB, free: 5.953 MB / 350.1 MB Notification: Performance of Alias: time 0.004998/0.311, allocations: 4.25 MB / 449.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of simplify2: time 0.0004712/0.3115, allocations: 320.2 kB / 449.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of Detect States: time 0.001412/0.3129, allocations: 1.431 MB / 451.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of Events: time 0.0006142/0.3136, allocations: 399.5 kB / 451.6 MB, free: 15.32 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.