Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.FourInverters.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.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_4.0.0_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_4.0.0_Modelica.Electrical.Spice3.Examples.FourInverters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 109.4 kB / 17.75 MB, free: 5.328 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.001221/0.001221, allocations: 188.3 kB / 18.69 MB, free: 4.402 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.316/1.316, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.166e-05/2.167e-05, allocations: 2.281 kB / 351.9 MB, free: 3.277 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.FourInverters): time 0.2327/0.2328, allocations: 26.7 MB / 378.6 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03117/0.264, allocations: 22.35 MB / 401 MB, free: 13.06 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008925/0.2729, allocations: 174.5 kB / 401.1 MB, free: 12.97 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006835/0.2798, allocations: 1.769 MB / 402.9 MB, free: 12.01 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01857/0.2985, allocations: 3.222 MB / 406.1 MB, free: 9.344 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008621/0.3071, allocations: 1.619 MB / 407.8 MB, free: 8.082 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02606/0.3332, allocations: 13.89 MB / 421.7 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007333/0.334, allocations: 360.6 kB / 422 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007739/0.3418, allocations: 3.783 MB / 425.8 MB, free: 9.777 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004632/0.3464, allocations: 2.494 MB / 428.3 MB, free: 7.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003724/0.3468, allocations: 140 kB / 428.4 MB, free: 7.133 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01224/0.359, allocations: 2.509 MB / 430.9 MB, free: 4.621 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.008909/0.368, allocations: 9.777 MB / 440.7 MB, free: 10.72 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.005801/0.3738, allocations: 7.182 MB / 447.9 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001493/0.3753, allocations: 0.597 MB / 448.5 MB, free: 2.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.000354/0.3757, allocations: 28 kB / 448.5 MB, free: 2.805 MB / 350.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.03799/0.4137, allocations: 41.12 MB / 489.6 MB, free: 8.969 MB / 398.1 MB Notification: Performance of FunctionAlias: time 0.004977/0.4187, allocations: 4.67 MB / 494.3 MB, free: 4.281 MB / 398.1 MB Notification: Performance of Early Inline: time 0.00754/0.4262, allocations: 7.619 MB / 0.4902 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simplify1: time 0.0007906/0.427, allocations: 0.6595 MB / 0.4908 GB, free: 11.89 MB / 414.1 MB Notification: Performance of Alias: time 0.008739/0.4358, allocations: 7.771 MB / 0.4984 GB, free: 3.777 MB / 414.1 MB Notification: Performance of simplify2: time 0.0009977/0.4368, allocations: 0.5858 MB / 0.499 GB, free: 3.191 MB / 414.1 MB Notification: Performance of Events: time 0.001602/0.4384, allocations: 1.779 MB / 0.5007 GB, free: 1.398 MB / 414.1 MB Notification: Performance of Detect States: time 0.002038/0.4405, allocations: 1.694 MB / 0.5024 GB, free: 15.66 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.