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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0009533/0.0009532, allocations: 176.6 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.584/1.584, allocations: 205.4 MB / 223.6 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007732/0.0007734, allocations: 89.55 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.186/0.186, allocations: 38.06 MB / 358.2 MB, free: 1.742 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003756/0.0003757, allocations: 12 kB / 425.2 MB, free: 37.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3211, allocations: 56.32 MB / 481.6 MB, free: 9.598 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1796/0.5008, allocations: 114.9 MB / 0.5825 GB, free: 3.332 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/0.5011, allocations: 99.81 kB / 0.5826 GB, free: 3.238 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08599/0.5871, allocations: 28.95 MB / 0.6108 GB, free: 5.984 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5872, allocations: 0 / 0.6108 GB, free: 5.984 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.349e-05/0.5873, allocations: 20 kB / 0.6109 GB, free: 5.965 MB / 442.7 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.006301/0.5936, allocations: 1.736 MB / 0.6126 GB, free: 4.137 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/0.5936, allocations: 12.03 kB / 0.6126 GB, free: 4.125 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001518/0.5952, allocations: 183.4 kB / 0.6127 GB, free: 3.945 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004238/0.5994, allocations: 1.295 MB / 0.614 GB, free: 2.609 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008461/0.6003, allocations: 0.5265 MB / 0.6145 GB, free: 2.008 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005941/0.6009, allocations: 95.91 kB / 0.6146 GB, free: 1.914 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005397/0.6063, allocations: 2.135 MB / 0.6167 GB, free: 15.71 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.8e-05/0.6064, allocations: 4 kB / 0.6167 GB, free: 15.71 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002452/0.6067, allocations: 36 kB / 0.6167 GB, free: 15.68 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001726/0.6069, allocations: 77.95 kB / 0.6168 GB, free: 15.6 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005429/0.6123, allocations: 2.385 MB / 0.6191 GB, free: 13.21 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01103/0.6233, allocations: 5.802 MB / 0.6248 GB, free: 7.289 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004328/0.6277, allocations: 1.753 MB / 0.6265 GB, free: 5.523 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002726/0.6305, allocations: 1.234 MB / 0.6277 GB, free: 4.277 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001103/0.6306, allocations: 24.97 kB / 0.6278 GB, free: 4.254 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003091/0.6337, allocations: 1.429 MB / 0.6291 GB, free: 2.805 MB / 458.7 MB Notification: Performance of pre-optimization done (n=120): time 3.887e-06/0.6338, allocations: 4 kB / 0.6292 GB, free: 2.801 MB / 458.7 MB Notification: Performance of matching and sorting (n=122): time 0.02795/0.6617, allocations: 10.42 MB / 0.6393 GB, free: 8.285 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.485e-05/0.6619, allocations: 102.1 kB / 0.6394 GB, free: 8.168 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007991/0.6627, allocations: 0.5025 MB / 0.6399 GB, free: 7.656 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002919/0.663, allocations: 53.7 kB / 0.64 GB, free: 7.598 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000428/0.6634, allocations: 396.4 kB / 0.6403 GB, free: 7.203 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005891/0.664, allocations: 406.2 kB / 0.6407 GB, free: 6.801 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.6642, allocations: 20 kB / 0.6408 GB, free: 6.781 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002394/0.6644, allocations: 394.8 kB / 0.6411 GB, free: 6.387 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002181/0.6666, allocations: 1.068 MB / 0.6422 GB, free: 5.32 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002245/0.6689, allocations: 1.232 MB / 0.6434 GB, free: 4.039 MB / 474.7 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.2653/0.9342, allocations: 6.62 MB / 0.6498 GB, free: 133.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.9342, allocations: 0.9375 kB / 0.6498 GB, free: 133.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=159) (initialization): time 0.01382/0.9481, allocations: 5.213 MB / 0.6549 GB, free: 133.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001158/0.9482, allocations: 65.78 kB / 0.655 GB, free: 133.7 MB / 474.7 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.002552/0.9508, allocations: 1.138 MB / 0.6561 GB, free: 133.6 MB / 474.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated