Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.SimulationSteadyInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyInitial") translateModel(PowerSystems.Examples.Introductory.SimulationSteadyInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 108 kB / 16.92 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 191.5 kB / 17.85 MB, free: 5.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1758/0.1758, allocations: 38.03 MB / 329.7 MB, free: 8.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 66.62 kB / 398.8 MB, free: 34.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1272, allocations: 58.04 MB / 456.8 MB, free: 8.098 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.008926/0.1361, allocations: 7.581 MB / 464.4 MB, free: 488 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004561/0.1407, allocations: 2.325 MB / 466.7 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007121/0.1415, allocations: 23.88 kB / 466.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002433/0.1439, allocations: 0.8553 MB / 467.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001484/0.1454, allocations: 0.5014 MB / 468.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.1468, allocations: 454.9 kB / 468.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001898/0.1487, allocations: 1.321 MB / 469.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001096/0.1498, allocations: 0.6933 MB / 470.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001166/0.151, allocations: 0.568 MB / 471.2 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001286/0.1523, allocations: 0.6969 MB / 471.9 MB, free: 9.023 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000265/0.1526, allocations: 80 kB / 471.9 MB, free: 8.945 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008643/0.1535, allocations: 267.6 kB / 472.2 MB, free: 8.684 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006886/0.1542, allocations: 0.491 MB / 472.7 MB, free: 8.191 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001122/0.1553, allocations: 0.5443 MB / 473.2 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002041/0.1574, allocations: 1.308 MB / 474.5 MB, free: 6.332 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1574, allocations: 0 / 474.5 MB, free: 6.332 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1574, allocations: 0 / 474.5 MB, free: 6.332 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.885e-05/0.1575, allocations: 0 / 474.5 MB, free: 6.332 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.004642/0.1621, allocations: 1.335 MB / 475.9 MB, free: 4.938 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.1622, allocations: 19.83 kB / 475.9 MB, free: 4.918 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001591/0.1638, allocations: 179.5 kB / 476.1 MB, free: 4.742 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001814/0.1656, allocations: 0.7037 MB / 476.8 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/0.1658, allocations: 62.36 kB / 476.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004762/0.1663, allocations: 116.1 kB / 476.9 MB, free: 3.824 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002657/0.1689, allocations: 1.227 MB / 478.2 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.337e-05/0.169, allocations: 11.83 kB / 478.2 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.593e-05/0.1691, allocations: 36 kB / 478.2 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002671/0.1694, allocations: 57.97 kB / 478.3 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001927/0.1713, allocations: 1.007 MB / 479.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007546/0.1789, allocations: 4.718 MB / 484 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/0.1803, allocations: 0.6829 MB / 484.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006087/0.1809, allocations: 465.4 kB / 485.1 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.248e-05/0.1809, allocations: 8.562 kB / 485.1 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007321/0.1817, allocations: 0.5337 MB / 485.7 MB, free: 10.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=71): time 2.906e-06/0.1817, allocations: 0 / 485.7 MB, free: 10.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.00519/0.1869, allocations: 3.026 MB / 488.7 MB, free: 7.652 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/0.187, allocations: 226.1 kB / 488.9 MB, free: 7.379 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007173/0.1878, allocations: 0.5978 MB / 489.5 MB, free: 6.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.724e-05/0.1878, allocations: 45.69 kB / 489.6 MB, free: 6.719 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004086/0.1882, allocations: 475 kB / 490 MB, free: 6.246 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002255/0.1885, allocations: 260.4 kB / 490.3 MB, free: 5.988 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002395/0.1887, allocations: 170.5 kB / 490.4 MB, free: 5.816 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002032/0.1889, allocations: 386.8 kB / 490.8 MB, free: 5.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006221/0.1896, allocations: 389.8 kB / 491.2 MB, free: 5.047 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000709/0.1903, allocations: 0.6418 MB / 491.8 MB, free: 4.293 MB / 366.1 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.005039/0.1953, allocations: 2.229 MB / 494.1 MB, free: 1.953 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.1953, allocations: 7.938 kB / 494.1 MB, free: 1.945 MB / 366.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003082/0.1984, allocations: 1.653 MB / 495.7 MB, free: 272 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.081e-05/0.1985, allocations: 33.7 kB / 495.8 MB, free: 232 kB / 366.1 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.0005987/0.1991, allocations: 398.1 kB / 496.2 MB, free: 15.84 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated