Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 69.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 162.5 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.576/1.576, allocations: 177.2 MB / 204.9 MB, free: 8.996 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1772/0.1772, allocations: 29.43 MB / 290.7 MB, free: 3.27 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 64.19 kB / 431.2 MB, free: 3.215 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3549, allocations: 62.44 MB / 493.6 MB, free: 37.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.007597/0.3625, allocations: 6.683 MB / 0.4886 GB, free: 33.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004054/0.3666, allocations: 2.269 MB / 0.4908 GB, free: 31.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004773/0.367, allocations: 42.66 kB / 0.4909 GB, free: 31.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001395/0.3684, allocations: 0.5166 MB / 0.4914 GB, free: 31.51 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001313/0.3697, allocations: 0.6026 MB / 0.4919 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.3708, allocations: 0.5166 MB / 0.4924 GB, free: 30.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001494/0.3722, allocations: 1.995 MB / 0.4944 GB, free: 30.08 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007031/0.373, allocations: 0.5997 MB / 0.495 GB, free: 29.78 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001123/0.3741, allocations: 0.8347 MB / 0.4958 GB, free: 29.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001107/0.3752, allocations: 0.9643 MB / 0.4967 GB, free: 29.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002067/0.3754, allocations: 159.8 kB / 0.4969 GB, free: 29.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009815/0.3764, allocations: 0.6541 MB / 0.4975 GB, free: 29.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000515/0.3769, allocations: 0.6552 MB / 0.4982 GB, free: 28.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005962/0.3775, allocations: 0.5776 MB / 0.4987 GB, free: 28.44 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001751/0.3792, allocations: 2.099 MB / 0.5008 GB, free: 27.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3792, allocations: 0 / 0.5008 GB, free: 27.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3792, allocations: 3.406 kB / 0.5008 GB, free: 27.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.88e-05/0.3793, allocations: 0 / 0.5008 GB, free: 27.71 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.003865/0.3831, allocations: 1.841 MB / 0.5026 GB, free: 26.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.3832, allocations: 14.11 kB / 0.5026 GB, free: 26.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009411/0.3841, allocations: 215.6 kB / 0.5028 GB, free: 26.63 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001775/0.3859, allocations: 0.8665 MB / 0.5036 GB, free: 26.19 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006219/0.3865, allocations: 1.12 MB / 0.5047 GB, free: 25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002432/0.3867, allocations: 111.9 kB / 0.5049 GB, free: 24.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003498/0.3902, allocations: 2.042 MB / 0.5068 GB, free: 24.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.982e-05/0.3903, allocations: 3.938 kB / 0.5068 GB, free: 24.22 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.3904, allocations: 37.47 kB / 0.5069 GB, free: 24.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002053/0.3906, allocations: 87.78 kB / 0.507 GB, free: 24.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004406/0.395, allocations: 2.25 MB / 0.5092 GB, free: 23.53 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008567/0.4036, allocations: 5.267 MB / 0.5143 GB, free: 20.65 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004357/0.4079, allocations: 1.518 MB / 0.5158 GB, free: 20.19 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002644/0.4106, allocations: 1.043 MB / 0.5168 GB, free: 19.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.286e-05/0.4106, allocations: 12.02 kB / 0.5168 GB, free: 19.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002937/0.4136, allocations: 1.309 MB / 0.5181 GB, free: 19.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=116): time 3.176e-06/0.4136, allocations: 0 / 0.5181 GB, free: 19.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=118): time 0.0297/0.4433, allocations: 8.36 MB / 0.5263 GB, free: 17.37 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.4434, allocations: 101.3 kB / 0.5264 GB, free: 17.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008229/0.4442, allocations: 471.6 kB / 0.5268 GB, free: 17.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003738/0.4446, allocations: 57.23 kB / 0.5269 GB, free: 16.99 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003499/0.4449, allocations: 419.8 kB / 0.5273 GB, free: 16.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004582/0.4454, allocations: 408.2 kB / 0.5277 GB, free: 16.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004705/0.4459, allocations: 225.1 kB / 0.5279 GB, free: 16.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.446, allocations: 388.6 kB / 0.5282 GB, free: 15.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002173/0.4482, allocations: 1.025 MB / 0.5292 GB, free: 15.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002255/0.4504, allocations: 1.21 MB / 0.5304 GB, free: 15.03 MB / 446.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.01205/0.4625, allocations: 5.008 MB / 0.5353 GB, free: 12.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/0.4625, allocations: 6.016 kB / 0.5353 GB, free: 12.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01244/0.4749, allocations: 4.389 MB / 0.5396 GB, free: 10.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.34e-05/0.475, allocations: 68.33 kB / 0.5397 GB, free: 10.03 MB / 446.1 MB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001863/0.4769, allocations: 1.022 MB / 0.5407 GB, free: 9 MB / 446.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.1375332069583237] Failed to read output from testmodel.py, exit status != 0: 0.48461754899472 0.495716437 0.1132013 Calling exit ...