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.001323/0.001323, allocations: 175 kB / 13.63 MB, free: 1.684 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.426/1.426, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001045/0.001045, allocations: 78.66 kB / 267.5 MB, free: 14.12 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1543/0.1543, allocations: 37.98 MB / 353.5 MB, free: 1.754 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.031e-05/3.038e-05, allocations: 4 kB / 417.7 MB, free: 29.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09952/0.09956, allocations: 56.32 MB / 474.1 MB, free: 4.793 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3831/0.4827, allocations: 114.8 MB / 0.575 GB, free: 4.332 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/0.4831, allocations: 95.95 kB / 0.5751 GB, free: 4.285 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08293/0.566, allocations: 28.95 MB / 0.6034 GB, free: 11.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5661, allocations: 0 / 0.6034 GB, free: 11.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.526e-05/0.5662, allocations: 24 kB / 0.6034 GB, free: 11.11 MB / 410.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.003963/0.5701, allocations: 1.649 MB / 0.605 GB, free: 9.449 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.5702, allocations: 8.031 kB / 0.605 GB, free: 9.441 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009035/0.5711, allocations: 174.6 kB / 0.6052 GB, free: 9.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004779/0.5759, allocations: 1.629 MB / 0.6068 GB, free: 7.871 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006677/0.5766, allocations: 0.5237 MB / 0.6073 GB, free: 7.324 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002386/0.5768, allocations: 90.61 kB / 0.6074 GB, free: 7.262 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002884/0.5797, allocations: 1.787 MB / 0.6091 GB, free: 5.969 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.802e-05/0.5798, allocations: 0 / 0.6091 GB, free: 5.969 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001397/0.5799, allocations: 45.47 kB / 0.6092 GB, free: 5.949 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001553/0.5801, allocations: 76.97 kB / 0.6092 GB, free: 5.879 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002768/0.5829, allocations: 1.821 MB / 0.611 GB, free: 4.668 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009318/0.5922, allocations: 5.795 MB / 0.6167 GB, free: 44 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001892/0.5941, allocations: 1.231 MB / 0.6179 GB, free: 15.22 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001222/0.5954, allocations: 0.9066 MB / 0.6188 GB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001118/0.5955, allocations: 20.48 kB / 0.6188 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001581/0.5971, allocations: 1.102 MB / 0.6199 GB, free: 13.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=120): time 3.707e-06/0.5971, allocations: 3.938 kB / 0.6199 GB, free: 13.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=122): time 0.01416/0.6113, allocations: 5.871 MB / 0.6256 GB, free: 7.73 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.092e-05/0.6114, allocations: 106 kB / 0.6257 GB, free: 7.605 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006651/0.6121, allocations: 444.5 kB / 0.6261 GB, free: 7.164 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002969/0.6124, allocations: 53.7 kB / 0.6262 GB, free: 7.105 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003085/0.6127, allocations: 388.5 kB / 0.6265 GB, free: 6.719 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003842/0.6131, allocations: 418.1 kB / 0.6269 GB, free: 6.305 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.799e-05/0.6132, allocations: 16 kB / 0.627 GB, free: 6.289 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.6134, allocations: 394.8 kB / 0.6273 GB, free: 5.895 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/0.6146, allocations: 0.8574 MB / 0.6282 GB, free: 5.039 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001292/0.6159, allocations: 1.014 MB / 0.6292 GB, free: 3.977 MB / 426.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.01256/0.6285, allocations: 4.248 MB / 0.6333 GB, free: 15.71 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-05/0.6286, allocations: 4 kB / 0.6333 GB, free: 15.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=159) (initialization): time 0.01217/0.6407, allocations: 4.587 MB / 0.6378 GB, free: 11.11 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.6409, allocations: 61.67 kB / 0.6379 GB, free: 11.05 MB / 442.7 MB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singulare and cannot handled because number of unassigned equations is larger than number of states. Use -d=bltdump to get more information. Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001987/0.6429, allocations: 0.9326 MB / 0.6388 GB, free: 10.1 MB / 442.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated