Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Inverters.InverterToGrid") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002263/0.002263, allocations: 185.5 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.046/2.046, allocations: 205.2 MB / 218.9 MB, free: 9.203 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001061/0.001061, allocations: 84.89 kB / 267.1 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2634/0.2634, allocations: 37.97 MB / 353.1 MB, free: 3.062 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.269e-05/3.285e-05, allocations: 7.984 kB / 416.8 MB, free: 41.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1023, allocations: 56.31 MB / 473.1 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5107/0.613, allocations: 114.8 MB / 0.5741 GB, free: 4.926 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003273/0.6134, allocations: 91.95 kB / 0.5742 GB, free: 4.836 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1357/0.7492, allocations: 28.95 MB / 0.6025 GB, free: 7.594 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.7492, allocations: 0 / 0.6025 GB, free: 7.594 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.653e-05/0.7493, allocations: 20 kB / 0.6025 GB, free: 7.574 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.007159/0.7565, allocations: 1.65 MB / 0.6041 GB, free: 5.84 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.7566, allocations: 12.03 kB / 0.6041 GB, free: 5.828 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001713/0.7583, allocations: 174.6 kB / 0.6043 GB, free: 5.656 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008092/0.7664, allocations: 1.629 MB / 0.6059 GB, free: 3.98 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001113/0.7676, allocations: 0.5218 MB / 0.6064 GB, free: 3.387 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004909/0.7681, allocations: 95.98 kB / 0.6065 GB, free: 3.293 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004796/0.7729, allocations: 1.785 MB / 0.6082 GB, free: 1.445 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.415e-05/0.773, allocations: 0 / 0.6082 GB, free: 1.445 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002198/0.7732, allocations: 40 kB / 0.6083 GB, free: 1.406 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002651/0.7735, allocations: 85.94 kB / 0.6083 GB, free: 1.32 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005037/0.7785, allocations: 1.815 MB / 0.6101 GB, free: 15.5 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01648/0.795, allocations: 5.795 MB / 0.6158 GB, free: 9.582 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00347/0.7986, allocations: 1.232 MB / 0.617 GB, free: 8.332 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002319/0.8009, allocations: 0.9112 MB / 0.6179 GB, free: 7.414 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001715/0.8011, allocations: 21.97 kB / 0.6179 GB, free: 7.395 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002659/0.8038, allocations: 1.105 MB / 0.619 GB, free: 6.27 MB / 458.7 MB Notification: Performance of pre-optimization done (n=120): time 6.272e-06/0.8038, allocations: 3.938 kB / 0.619 GB, free: 6.266 MB / 458.7 MB Notification: Performance of matching and sorting (n=122): time 0.03749/0.8413, allocations: 5.867 MB / 0.6247 GB, free: 352 kB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/0.8415, allocations: 106 kB / 0.6248 GB, free: 224 kB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/0.8428, allocations: 440.6 kB / 0.6252 GB, free: 15.78 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000489/0.8433, allocations: 61.59 kB / 0.6253 GB, free: 15.71 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005512/0.8439, allocations: 419 kB / 0.6257 GB, free: 15.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007901/0.8447, allocations: 414.1 kB / 0.6261 GB, free: 14.89 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002056/0.8449, allocations: 24 kB / 0.6261 GB, free: 14.87 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002382/0.8452, allocations: 362.8 kB / 0.6264 GB, free: 14.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0092/0.8544, allocations: 0.8535 MB / 0.6273 GB, free: 13.65 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003414/0.8579, allocations: 1.014 MB / 0.6283 GB, free: 12.59 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.04912/0.907, allocations: 4.24 MB / 0.6324 GB, free: 8.336 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.9071, allocations: 0 / 0.6324 GB, free: 8.336 MB / 474.7 MB Notification: Performance of matching and sorting (n=159) (initialization): time 0.02174/0.9288, allocations: 4.56 MB / 0.6369 GB, free: 3.766 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001343/0.929, allocations: 61.67 kB / 0.6369 GB, free: 3.699 MB / 474.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.002696/0.9317, allocations: 0.9287 MB / 0.6378 GB, free: 2.758 MB / 474.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated