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.00113/0.00113, allocations: 91.42 kB / 17.31 MB, free: 5.59 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.001052/0.001052, allocations: 178.3 kB / 18.21 MB, free: 5.191 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.438/1.438, allocations: 223.3 MB / 242.2 MB, free: 15.93 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1822/0.1822, allocations: 38.1 MB / 331.5 MB, free: 8.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003151/0.0003151, allocations: 8 kB / 401.4 MB, free: 34.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.115, allocations: 59.18 MB / 460.5 MB, free: 7.055 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.009342/0.1243, allocations: 8.75 MB / 469.3 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005302/0.1297, allocations: 2.816 MB / 472.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009004/0.1306, allocations: 55.62 kB / 472.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005817/0.1312, allocations: 210.6 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001075/0.1323, allocations: 481.9 kB / 472.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.1333, allocations: 403.3 kB / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001981/0.1353, allocations: 1.987 MB / 475.2 MB, free: 8.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001766/0.1371, allocations: 1.129 MB / 476.3 MB, free: 7.156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007413/0.1379, allocations: 461.8 kB / 476.8 MB, free: 6.703 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008936/0.1388, allocations: 0.6852 MB / 477.5 MB, free: 6.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.37e-05/0.1389, allocations: 40 kB / 477.5 MB, free: 5.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005032/0.1394, allocations: 235.6 kB / 477.7 MB, free: 5.746 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004333/0.1398, allocations: 470.7 kB / 478.2 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005992/0.1404, allocations: 0.503 MB / 478.7 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008962/0.1413, allocations: 0.9819 MB / 479.7 MB, free: 3.789 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1413, allocations: 0 / 479.7 MB, free: 3.789 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1413, allocations: 0 / 479.7 MB, free: 3.789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.1414, allocations: 0 / 479.7 MB, free: 3.789 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.00216/0.1435, allocations: 1.152 MB / 480.8 MB, free: 2.574 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.1436, allocations: 8.031 kB / 480.8 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.1447, allocations: 183.5 kB / 481 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.1458, allocations: 0.6999 MB / 481.7 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.041e-05/0.1459, allocations: 62.36 kB / 481.8 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002704/0.1461, allocations: 127.9 kB / 481.9 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/0.1479, allocations: 1.219 MB / 483.1 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/0.1479, allocations: 0 / 483.1 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-05/0.148, allocations: 43.92 kB / 483.2 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002483/0.1483, allocations: 61.95 kB / 483.2 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/0.1499, allocations: 1.015 MB / 484.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005751/0.1556, allocations: 4.722 MB / 489 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.1567, allocations: 0.6759 MB / 489.6 MB, free: 9.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006143/0.1573, allocations: 467.2 kB / 490.1 MB, free: 8.969 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.63e-05/0.1574, allocations: 12.55 kB / 490.1 MB, free: 8.957 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000723/0.1581, allocations: 0.5221 MB / 490.6 MB, free: 8.398 MB / 366.1 MB Notification: Performance of pre-optimization done (n=71): time 2.104e-06/0.1581, allocations: 0 / 490.6 MB, free: 8.398 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.00473/0.1629, allocations: 3.041 MB / 493.7 MB, free: 5.273 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.163, allocations: 230.2 kB / 493.9 MB, free: 4.996 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000666/0.1637, allocations: 0.5899 MB / 494.5 MB, free: 4.398 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.844e-05/0.1637, allocations: 41.7 kB / 494.5 MB, free: 4.352 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003651/0.1641, allocations: 478.9 kB / 495 MB, free: 3.875 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000212/0.1643, allocations: 260.4 kB / 495.3 MB, free: 3.617 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.1645, allocations: 85.66 kB / 495.3 MB, free: 3.527 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.1646, allocations: 390.8 kB / 495.7 MB, free: 3.137 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006137/0.1653, allocations: 389.8 kB / 496.1 MB, free: 2.754 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007582/0.166, allocations: 0.634 MB / 496.7 MB, free: 2.008 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.005042/0.1711, allocations: 2.229 MB / 499 MB, free: 15.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.1711, allocations: 0 / 499 MB, free: 15.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003062/0.1742, allocations: 1.661 MB / 0.4889 GB, free: 13.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.209e-05/0.1742, allocations: 41.83 kB / 0.4889 GB, free: 13.93 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.0006516/0.1749, allocations: 397.4 kB / 0.4893 GB, free: 13.55 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated