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.001019/0.001019, allocations: 179.9 kB / 16.38 MB, free: 5.766 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.345/1.345, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0008045/0.0008045, allocations: 89.02 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.163/0.163, allocations: 38.06 MB / 357.2 MB, free: 1.891 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002787/0.0002787, allocations: 8 kB / 424 MB, free: 37.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.254, allocations: 56.32 MB / 480.3 MB, free: 9.555 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1495/0.4036, allocations: 114.9 MB / 0.5812 GB, free: 3.527 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/0.4039, allocations: 95.95 kB / 0.5813 GB, free: 3.434 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08027/0.4842, allocations: 28.97 MB / 0.6096 GB, free: 6.16 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4842, allocations: 0 / 0.6096 GB, free: 6.16 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.106e-05/0.4843, allocations: 23.94 kB / 0.6096 GB, free: 6.137 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.003771/0.488, allocations: 1.743 MB / 0.6113 GB, free: 4.305 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.4881, allocations: 8.031 kB / 0.6113 GB, free: 4.297 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007887/0.4889, allocations: 178.5 kB / 0.6115 GB, free: 4.121 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004506/0.4934, allocations: 1.644 MB / 0.6131 GB, free: 2.434 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006256/0.4941, allocations: 0.5218 MB / 0.6136 GB, free: 1.84 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002142/0.4943, allocations: 99.89 kB / 0.6137 GB, free: 1.742 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004028/0.4983, allocations: 2.123 MB / 0.6158 GB, free: 15.55 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/0.4984, allocations: 0 / 0.6158 GB, free: 15.55 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001356/0.4985, allocations: 36 kB / 0.6158 GB, free: 15.52 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001559/0.4987, allocations: 85.94 kB / 0.6159 GB, free: 15.43 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004714/0.5034, allocations: 2.385 MB / 0.6182 GB, free: 13.05 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009246/0.5126, allocations: 5.795 MB / 0.6239 GB, free: 7.121 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003988/0.5167, allocations: 1.756 MB / 0.6256 GB, free: 5.352 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.049e-05/0.5168, allocations: 10.31 kB / 0.6256 GB, free: 5.344 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002729/0.5195, allocations: 1.445 MB / 0.627 GB, free: 3.875 MB / 458.7 MB Notification: Performance of pre-optimization done (n=120): time 3.767e-06/0.5195, allocations: 0 / 0.627 GB, free: 3.875 MB / 458.7 MB Notification: Performance of matching and sorting (n=122): time 0.02656/0.5461, allocations: 10.74 MB / 0.6375 GB, free: 8.969 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.613e-05/0.5462, allocations: 106 kB / 0.6376 GB, free: 8.848 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005825/0.5468, allocations: 450 kB / 0.638 GB, free: 8.402 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001321/0.5469, allocations: 49.7 kB / 0.6381 GB, free: 8.348 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003201/0.5473, allocations: 392.4 kB / 0.6385 GB, free: 7.957 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003363/0.5476, allocations: 410.3 kB / 0.6389 GB, free: 7.551 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.561e-05/0.5477, allocations: 24 kB / 0.6389 GB, free: 7.527 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.5479, allocations: 386.8 kB / 0.6392 GB, free: 7.141 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0019/0.5498, allocations: 1.095 MB / 0.6403 GB, free: 6.043 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001978/0.5518, allocations: 1.252 MB / 0.6415 GB, free: 4.746 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.01281/0.5646, allocations: 4.629 MB / 0.6461 GB, free: 100 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.5646, allocations: 0 / 0.6461 GB, free: 100 kB / 474.7 MB Notification: Performance of matching and sorting (n=159) (initialization): time 0.2237/0.7883, allocations: 5.263 MB / 0.6512 GB, free: 134.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001279/0.7885, allocations: 64.94 kB / 0.6513 GB, free: 134.3 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.0024/0.7909, allocations: 1.17 MB / 0.6524 GB, free: 134.3 MB / 474.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated