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: "" <> buildModelFMU(PowerSystems.Examples.Introductory.SimulationSteadyInitial,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_SimulationSteadyInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.SimulationSteadyInitial,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_SimulationSteadyInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 93.27 kB / 16.3 MB, free: 6.133 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.0012/0.0012, allocations: 179 kB / 17.2 MB, free: 6.016 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.313/1.313, allocations: 223.2 MB / 241.1 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1656/0.1656, allocations: 38.08 MB / 330.3 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004557/0.0004558, allocations: 10.5 kB / 400.1 MB, free: 34.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1268, allocations: 59.17 MB / 459.2 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.008109/0.135, allocations: 7.845 MB / 467.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00473/0.1397, allocations: 2.72 MB / 469.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000725/0.1405, allocations: 55.62 kB / 469.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006467/0.1412, allocations: 258.5 kB / 470.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001275/0.1424, allocations: 490.4 kB / 470.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.1437, allocations: 455 kB / 471 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008657/0.1445, allocations: 0.6748 MB / 471.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001512/0.1461, allocations: 1.01 MB / 472.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006098/0.1467, allocations: 410.5 kB / 473.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006211/0.1473, allocations: 470.5 kB / 473.6 MB, free: 8.906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.323e-05/0.1474, allocations: 40 kB / 473.6 MB, free: 8.867 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004538/0.1479, allocations: 179.7 kB / 473.8 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003776/0.1483, allocations: 423 kB / 474.2 MB, free: 8.277 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000199/0.1485, allocations: 209.2 kB / 474.4 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009233/0.1494, allocations: 0.9819 MB / 475.4 MB, free: 7.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1494, allocations: 0 / 475.4 MB, free: 7.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1494, allocations: 0 / 475.4 MB, free: 7.082 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.405e-05/0.1494, allocations: 0 / 475.4 MB, free: 7.082 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.002222/0.1517, allocations: 1.163 MB / 476.5 MB, free: 5.855 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.1517, allocations: 8.031 kB / 476.6 MB, free: 5.848 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001647/0.1519, allocations: 143.5 kB / 476.7 MB, free: 5.699 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.1531, allocations: 194.5 kB / 476.9 MB, free: 5.508 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/0.1543, allocations: 0.6795 MB / 477.6 MB, free: 4.789 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.13e-05/0.1544, allocations: 65.94 kB / 477.6 MB, free: 4.723 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002586/0.1547, allocations: 116 kB / 477.7 MB, free: 4.609 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001794/0.1565, allocations: 1.205 MB / 478.9 MB, free: 3.336 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.688e-05/0.1565, allocations: 7.891 kB / 479 MB, free: 3.328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.775e-05/0.1566, allocations: 39.98 kB / 479 MB, free: 3.289 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002652/0.1569, allocations: 69.89 kB / 479.1 MB, free: 3.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/0.1585, allocations: 0.9991 MB / 480.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006023/0.1645, allocations: 4.714 MB / 484.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.1656, allocations: 0.6721 MB / 485.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.033e-05/0.1657, allocations: 12.61 kB / 485.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007272/0.1664, allocations: 0.5337 MB / 486 MB, free: 12.03 MB / 366.1 MB Notification: Performance of pre-optimization done (n=71): time 2.685e-06/0.1664, allocations: 0 / 486 MB, free: 12.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.005076/0.1715, allocations: 3.193 MB / 489.2 MB, free: 8.719 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/0.1717, allocations: 226.3 kB / 489.4 MB, free: 8.449 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006753/0.1724, allocations: 0.5898 MB / 490 MB, free: 7.852 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.944e-05/0.1724, allocations: 41.7 kB / 490 MB, free: 7.805 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000374/0.1728, allocations: 467 kB / 490.5 MB, free: 7.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002426/0.1731, allocations: 264.3 kB / 490.7 MB, free: 7.078 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.451e-05/0.1731, allocations: 16 kB / 490.8 MB, free: 7.062 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.1733, allocations: 394.7 kB / 491.1 MB, free: 6.668 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005753/0.1739, allocations: 381.8 kB / 491.5 MB, free: 6.293 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000727/0.1746, allocations: 0.6301 MB / 492.2 MB, free: 5.547 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.003767/0.1784, allocations: 1.251 MB / 493.4 MB, free: 4.297 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.1784, allocations: 0 / 493.4 MB, free: 4.297 MB / 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. Error: No system for the symbolic initialization was generated