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.001274/0.001273, allocations: 113.1 kB / 17.75 MB, free: 5.312 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.00102/0.00102, allocations: 196.6 kB / 18.68 MB, free: 4.387 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.304/1.304, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.115e-05/2.116e-05, allocations: 2.281 kB / 351.9 MB, free: 3.281 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel): time 0.01358/0.01361, allocations: 15.3 MB / 367.2 MB, free: 3.914 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.217/0.2306, allocations: 20.74 MB / 388 MB, free: 6.855 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00379/0.2345, allocations: 92.09 kB / 388 MB, free: 6.809 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004389/0.2389, allocations: 1.262 MB / 389.3 MB, free: 6.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01143/0.2504, allocations: 2.346 MB / 391.7 MB, free: 4.723 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006787/0.2572, allocations: 1.438 MB / 393.1 MB, free: 3.973 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01295/0.2702, allocations: 7.274 MB / 400.4 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004051/0.2706, allocations: 189 kB / 400.6 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003771/0.2744, allocations: 1.977 MB / 402.5 MB, free: 15.88 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002395/0.2768, allocations: 1.346 MB / 403.9 MB, free: 15.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001951/0.277, allocations: 75.28 kB / 404 MB, free: 15.18 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008976/0.286, allocations: 2.441 MB / 406.4 MB, free: 13.35 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.00486/0.2909, allocations: 5.315 MB / 411.7 MB, free: 7.965 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.003009/0.2939, allocations: 3.909 MB / 415.6 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006845/0.2946, allocations: 335.6 kB / 415.9 MB, free: 3.668 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001688/0.2948, allocations: 15.98 kB / 416 MB, free: 3.652 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.02382/0.3186, allocations: 23.01 MB / 439 MB, free: 12.19 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.001958/0.3206, allocations: 1.851 MB / 440.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of Early Inline: time 0.004028/0.3246, allocations: 4.009 MB / 444.8 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simplify1: time 0.0004659/0.3251, allocations: 347.6 kB / 445.2 MB, free: 5.938 MB / 350.1 MB Notification: Performance of Alias: time 0.00606/0.3312, allocations: 4.25 MB / 449.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of simplify2: time 0.0006927/0.3319, allocations: 319.7 kB / 449.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of Events: time 0.001088/0.333, allocations: 0.9221 MB / 450.7 MB, free: 232 kB / 350.1 MB Notification: Performance of Detect States: time 0.001251/0.3343, allocations: 0.9573 MB / 451.6 MB, free: 15.25 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.