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.00105/0.00105, allocations: 108.3 kB / 16.51 MB, free: 6.707 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.001101/0.001101, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.355/1.355, allocations: 222.9 MB / 241.1 MB, free: 13.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1832/0.1832, allocations: 38.03 MB / 329.3 MB, free: 8.805 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 65.03 kB / 398.1 MB, free: 34.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1269, allocations: 58.05 MB / 456.1 MB, free: 8.496 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.009956/0.1369, allocations: 9.222 MB / 465.4 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005201/0.1422, allocations: 2.851 MB / 468.2 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001459/0.1437, allocations: 67.56 kB / 468.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002311/0.1461, allocations: 0.8048 MB / 469.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001414/0.1475, allocations: 493.9 kB / 469.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.1489, allocations: 391.3 kB / 469.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002131/0.151, allocations: 1.991 MB / 471.9 MB, free: 8.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001019/0.1521, allocations: 0.6655 MB / 472.6 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.1531, allocations: 0.4939 MB / 473.1 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001307/0.1544, allocations: 0.7204 MB / 473.8 MB, free: 6.746 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.1545, allocations: 60 kB / 473.9 MB, free: 6.688 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006643/0.1552, allocations: 251.6 kB / 474.1 MB, free: 6.441 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004917/0.1557, allocations: 494.7 kB / 474.6 MB, free: 5.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000578/0.1563, allocations: 0.5091 MB / 475.1 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.1577, allocations: 1.281 MB / 476.4 MB, free: 4.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.1577, allocations: 3.938 kB / 476.4 MB, free: 4.156 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1577, allocations: 0 / 476.4 MB, free: 4.156 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.844e-05/0.1577, allocations: 0 / 476.4 MB, free: 4.156 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.002646/0.1604, allocations: 1.331 MB / 477.7 MB, free: 2.762 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.1604, allocations: 8.031 kB / 477.7 MB, free: 2.754 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001231/0.1617, allocations: 187.4 kB / 477.9 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.1629, allocations: 0.6999 MB / 478.6 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.019e-05/0.1629, allocations: 66.38 kB / 478.7 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002694/0.1632, allocations: 123.9 kB / 478.8 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001795/0.165, allocations: 1.216 MB / 480 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.046e-05/0.1651, allocations: 4 kB / 480 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.1652, allocations: 43.98 kB / 480.1 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002819/0.1655, allocations: 61.97 kB / 480.1 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001641/0.1671, allocations: 1.011 MB / 481.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006168/0.1733, allocations: 4.718 MB / 485.9 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.1745, allocations: 0.676 MB / 486.5 MB, free: 9.621 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006299/0.1751, allocations: 463.2 kB / 487 MB, free: 9.164 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.888e-05/0.1752, allocations: 12.55 kB / 487 MB, free: 9.152 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008021/0.176, allocations: 0.526 MB / 487.5 MB, free: 8.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=71): time 2.976e-06/0.176, allocations: 0 / 487.5 MB, free: 8.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.005237/0.1812, allocations: 3.041 MB / 490.6 MB, free: 5.465 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/0.1814, allocations: 226.2 kB / 490.8 MB, free: 5.191 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007582/0.1822, allocations: 0.59 MB / 491.4 MB, free: 4.594 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.377e-05/0.1822, allocations: 45.64 kB / 491.4 MB, free: 4.543 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004454/0.1827, allocations: 478.9 kB / 491.9 MB, free: 4.066 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002512/0.183, allocations: 260.4 kB / 492.1 MB, free: 3.809 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002885/0.1833, allocations: 166.6 kB / 492.3 MB, free: 3.641 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.1834, allocations: 394.7 kB / 492.7 MB, free: 3.246 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006039/0.184, allocations: 385.8 kB / 493.1 MB, free: 2.867 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007784/0.1848, allocations: 0.634 MB / 493.7 MB, free: 2.121 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.005636/0.1905, allocations: 2.229 MB / 495.9 MB, free: 15.78 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/0.1905, allocations: 4 kB / 495.9 MB, free: 15.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003739/0.1943, allocations: 1.654 MB / 497.6 MB, free: 14.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.268e-05/0.1944, allocations: 43.81 kB / 497.6 MB, free: 14.05 MB / 382.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.0007916/0.1952, allocations: 401.4 kB / 498 MB, free: 13.66 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated