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.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) 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(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 111.8 kB / 17.06 MB, free: 6.004 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.00136/0.00136, allocations: 195 kB / 18 MB, free: 5.086 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.413/1.413, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1789/0.1789, allocations: 38.04 MB / 329.9 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 63.91 kB / 458.2 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3894, allocations: 58.06 MB / 0.5041 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid): time 0.008503/0.398, allocations: 6.989 MB / 0.5109 GB, free: 2.969 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004372/0.4024, allocations: 2.374 MB / 0.5133 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006304/0.403, allocations: 30.62 kB / 0.5133 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001546/0.4046, allocations: 0.5165 MB / 0.5138 GB, free: 1.004 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001592/0.4062, allocations: 0.6096 MB / 0.5144 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.4076, allocations: 0.5034 MB / 0.5149 GB, free: 452 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002485/0.4101, allocations: 1.998 MB / 0.5168 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001758/0.4119, allocations: 0.9135 MB / 0.5177 GB, free: 15.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001937/0.4138, allocations: 0.7995 MB / 0.5185 GB, free: 14.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001686/0.4155, allocations: 0.9483 MB / 0.5194 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002999/0.4158, allocations: 158.9 kB / 0.5196 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001532/0.4174, allocations: 0.6514 MB / 0.5202 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008978/0.4183, allocations: 0.6513 MB / 0.5209 GB, free: 14.1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001024/0.4193, allocations: 0.6828 MB / 0.5215 GB, free: 13.69 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003315/0.4227, allocations: 2.067 MB / 0.5235 GB, free: 12.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4227, allocations: 0 / 0.5235 GB, free: 12.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.4227, allocations: 3.938 kB / 0.5235 GB, free: 12.97 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.687e-05/0.4228, allocations: 0 / 0.5235 GB, free: 12.97 MB / 398.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.005674/0.4284, allocations: 1.878 MB / 0.5254 GB, free: 11.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.4285, allocations: 12.84 kB / 0.5254 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.4296, allocations: 179.6 kB / 0.5256 GB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002034/0.4317, allocations: 0.9306 MB / 0.5265 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006895/0.4324, allocations: 0.4991 MB / 0.527 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003164/0.4327, allocations: 107.7 kB / 0.5271 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004656/0.4374, allocations: 2.039 MB / 0.529 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.256e-05/0.4374, allocations: 5.781 kB / 0.5291 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001516/0.4376, allocations: 44.94 kB / 0.5291 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002566/0.4379, allocations: 93.06 kB / 0.5292 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005686/0.4436, allocations: 2.248 MB / 0.5314 GB, free: 8.387 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01161/0.4552, allocations: 5.76 MB / 0.537 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004761/0.46, allocations: 1.608 MB / 0.5386 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002781/0.4628, allocations: 1.116 MB / 0.5397 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.554e-05/0.4629, allocations: 14.61 kB / 0.5397 GB, free: 2.902 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003166/0.4661, allocations: 1.314 MB / 0.541 GB, free: 2.152 MB / 398.1 MB Notification: Performance of pre-optimization done (n=116): time 3.537e-06/0.4661, allocations: 0 / 0.541 GB, free: 2.152 MB / 398.1 MB Notification: Performance of matching and sorting (n=118): time 0.02805/0.4942, allocations: 8.58 MB / 0.5493 GB, free: 9.781 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.705e-05/0.4943, allocations: 102.1 kB / 0.5494 GB, free: 9.664 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007124/0.495, allocations: 0.5221 MB / 0.5499 GB, free: 9.133 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002949/0.4953, allocations: 53.69 kB / 0.55 GB, free: 9.074 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003352/0.4957, allocations: 400.2 kB / 0.5504 GB, free: 8.676 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004041/0.4961, allocations: 390.5 kB / 0.5508 GB, free: 8.289 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004072/0.4965, allocations: 226.7 kB / 0.551 GB, free: 8.059 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.4967, allocations: 398.7 kB / 0.5514 GB, free: 7.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001983/0.4986, allocations: 0.9823 MB / 0.5523 GB, free: 6.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002104/0.5008, allocations: 1.154 MB / 0.5534 GB, free: 5.469 MB / 414.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.01212/0.5129, allocations: 5.014 MB / 0.5583 GB, free: 388 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.5129, allocations: 0 / 0.5583 GB, free: 388 kB / 414.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.01317/0.5261, allocations: 4.363 MB / 0.5626 GB, free: 12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001389/0.5263, allocations: 61.67 kB / 0.5627 GB, free: 11.93 MB / 430.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.002765/0.529, allocations: 1.046 MB / 0.5637 GB, free: 10.88 MB / 430.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated