Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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="mat",numberOfIntervals=2000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyInitial") translateModel(PowerSystems.Examples.Introductory.SimulationSteadyInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_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.001137/0.001137, allocations: 115.5 kB / 17.69 MB, free: 5.312 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.001128/0.001128, allocations: 191 kB / 18.63 MB, free: 4.379 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.348/1.348, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1738/0.1738, allocations: 38.04 MB / 330.5 MB, free: 8.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 60.69 kB / 400.3 MB, free: 33.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1126, allocations: 58.06 MB / 458.3 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.009406/0.122, allocations: 7.581 MB / 465.9 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004975/0.127, allocations: 2.317 MB / 468.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.1281, allocations: 35.75 kB / 468.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002322/0.1304, allocations: 0.8509 MB / 469.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001354/0.1318, allocations: 0.5092 MB / 469.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001271/0.1331, allocations: 439 kB / 470 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001554/0.1347, allocations: 1.317 MB / 471.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/0.1357, allocations: 0.6933 MB / 472 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007641/0.1365, allocations: 0.5797 MB / 472.6 MB, free: 8.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009226/0.1374, allocations: 0.6969 MB / 473.3 MB, free: 8.289 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001228/0.1375, allocations: 80 kB / 473.4 MB, free: 8.211 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005314/0.1381, allocations: 259.7 kB / 473.7 MB, free: 7.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005282/0.1386, allocations: 0.4987 MB / 474.2 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005811/0.1392, allocations: 0.5481 MB / 474.7 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001314/0.1405, allocations: 1.308 MB / 476 MB, free: 5.594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1406, allocations: 0 / 476 MB, free: 5.594 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1406, allocations: 0 / 476 MB, free: 5.594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.1406, allocations: 4 kB / 476 MB, free: 5.59 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.002423/0.143, allocations: 1.331 MB / 477.3 MB, free: 4.199 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.1431, allocations: 15.89 kB / 477.4 MB, free: 4.184 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/0.1442, allocations: 183.5 kB / 477.5 MB, free: 4.004 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.1456, allocations: 0.7466 MB / 478.3 MB, free: 3.215 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/0.1458, allocations: 70.3 kB / 478.4 MB, free: 3.148 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002757/0.1461, allocations: 120.1 kB / 478.5 MB, free: 3.031 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/0.1478, allocations: 1.219 MB / 479.7 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.125e-05/0.1479, allocations: 7.906 kB / 479.7 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.284e-05/0.148, allocations: 36 kB / 479.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000248/0.1482, allocations: 61.97 kB / 479.8 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001908/0.1501, allocations: 1.011 MB / 480.8 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005859/0.156, allocations: 4.69 MB / 485.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.1571, allocations: 0.6794 MB / 486.2 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006383/0.1577, allocations: 463.2 kB / 486.6 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.673e-05/0.1578, allocations: 8.547 kB / 486.6 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007463/0.1586, allocations: 0.5337 MB / 487.2 MB, free: 10.01 MB / 366.1 MB Notification: Performance of pre-optimization done (n=71): time 2.615e-06/0.1586, allocations: 0 / 487.2 MB, free: 10.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.004825/0.1634, allocations: 3.026 MB / 490.2 MB, free: 6.895 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/0.1636, allocations: 226.1 kB / 490.4 MB, free: 6.621 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007165/0.1643, allocations: 0.5978 MB / 491 MB, free: 6.012 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.152e-05/0.1644, allocations: 41.7 kB / 491.1 MB, free: 5.965 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003607/0.1647, allocations: 474.9 kB / 491.5 MB, free: 5.492 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002045/0.1649, allocations: 264.4 kB / 491.8 MB, free: 5.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002517/0.1652, allocations: 170.5 kB / 491.9 MB, free: 5.059 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.1654, allocations: 390.7 kB / 492.3 MB, free: 4.668 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006252/0.166, allocations: 389.8 kB / 492.7 MB, free: 4.285 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000739/0.1667, allocations: 0.634 MB / 493.3 MB, free: 3.539 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.005078/0.1718, allocations: 2.233 MB / 495.6 MB, free: 1.195 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.1719, allocations: 0 / 495.6 MB, free: 1.195 MB / 366.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003228/0.1751, allocations: 1.649 MB / 497.2 MB, free: 15.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.907e-05/0.1751, allocations: 38.38 kB / 497.3 MB, free: 15.48 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.0006176/0.1758, allocations: 395.8 kB / 497.6 MB, free: 15.09 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated