Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_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="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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 173.4 kB / 16.76 MB, free: 5.027 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.657/1.657, allocations: 205.4 MB / 222.9 MB, free: 8.938 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.0007426/0.0007426, allocations: 81.08 kB / 271.3 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1853/0.1853, allocations: 38.07 MB / 357.6 MB, free: 1.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.0003608, allocations: 12 kB / 423.9 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3923, allocations: 56.33 MB / 480.3 MB, free: 9.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1948/0.5871, allocations: 114.9 MB / 0.5812 GB, free: 3.422 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/0.5875, allocations: 95.95 kB / 0.5813 GB, free: 3.328 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08634/0.6739, allocations: 28.94 MB / 0.6096 GB, free: 6.086 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.118e-06/0.6739, allocations: 0 / 0.6096 GB, free: 6.086 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.229e-05/0.674, allocations: 23.98 kB / 0.6096 GB, free: 6.062 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.004614/0.6786, allocations: 1.732 MB / 0.6113 GB, free: 4.238 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.6787, allocations: 12.03 kB / 0.6113 GB, free: 4.227 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009528/0.6797, allocations: 183.5 kB / 0.6115 GB, free: 4.047 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003747/0.6834, allocations: 1.299 MB / 0.6127 GB, free: 2.707 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008083/0.6843, allocations: 0.5227 MB / 0.6133 GB, free: 2.109 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002698/0.6846, allocations: 95.91 kB / 0.6133 GB, free: 2.016 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004801/0.6894, allocations: 2.131 MB / 0.6154 GB, free: 15.82 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.354e-05/0.6894, allocations: 4 kB / 0.6154 GB, free: 15.82 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001463/0.6896, allocations: 35.98 kB / 0.6155 GB, free: 15.78 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000183/0.6898, allocations: 89.89 kB / 0.6155 GB, free: 15.7 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005348/0.6951, allocations: 2.381 MB / 0.6179 GB, free: 13.31 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01087/0.706, allocations: 5.801 MB / 0.6235 GB, free: 7.387 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004358/0.7104, allocations: 1.748 MB / 0.6252 GB, free: 5.625 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002734/0.7132, allocations: 1.238 MB / 0.6265 GB, free: 4.375 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/0.7134, allocations: 26.17 kB / 0.6265 GB, free: 4.352 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003054/0.7164, allocations: 1.429 MB / 0.6279 GB, free: 2.902 MB / 458.7 MB Notification: Performance of pre-optimization done (n=120): time 5.009e-06/0.7165, allocations: 0 / 0.6279 GB, free: 2.902 MB / 458.7 MB Notification: Performance of matching and sorting (n=122): time 0.02876/0.7452, allocations: 10.42 MB / 0.638 GB, free: 8.391 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.7454, allocations: 102.1 kB / 0.6381 GB, free: 8.273 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007895/0.7462, allocations: 0.5064 MB / 0.6386 GB, free: 7.758 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003851/0.7466, allocations: 61.69 kB / 0.6387 GB, free: 7.691 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003812/0.747, allocations: 392.4 kB / 0.6391 GB, free: 7.301 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004559/0.7474, allocations: 406.2 kB / 0.6395 GB, free: 6.898 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.812e-05/0.7475, allocations: 20 kB / 0.6395 GB, free: 6.879 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002233/0.7478, allocations: 394.8 kB / 0.6399 GB, free: 6.484 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002087/0.7499, allocations: 1.064 MB / 0.6409 GB, free: 5.422 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002144/0.752, allocations: 1.228 MB / 0.6421 GB, free: 4.145 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.3219/1.074, allocations: 6.634 MB / 0.6486 GB, free: 133.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/1.074, allocations: 0 / 0.6486 GB, free: 133.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=159) (initialization): time 0.01695/1.091, allocations: 5.21 MB / 0.6537 GB, free: 133.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001619/1.091, allocations: 59.3 kB / 0.6537 GB, free: 133.2 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.003545/1.095, allocations: 1.141 MB / 0.6548 GB, free: 133.1 MB / 474.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated