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.001347/0.001347, allocations: 108.2 kB / 16.92 MB, free: 6.145 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.001547/0.001547, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.408/1.408, 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-master/package.mo): time 0.1899/0.1899, allocations: 38.04 MB / 329.7 MB, free: 8.844 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 70 kB / 398.9 MB, free: 34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1057, allocations: 58.07 MB / 457 MB, free: 7.98 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.01111/0.1168, allocations: 7.574 MB / 464.5 MB, free: 376 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005866/0.1228, allocations: 2.321 MB / 466.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00093/0.1237, allocations: 31.81 kB / 466.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002692/0.1265, allocations: 0.8547 MB / 467.8 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001653/0.1282, allocations: 0.5053 MB / 468.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001504/0.1297, allocations: 443 kB / 468.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001879/0.1316, allocations: 1.328 MB / 470 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.1327, allocations: 0.6855 MB / 470.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00114/0.1339, allocations: 0.568 MB / 471.3 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001371/0.1353, allocations: 0.6969 MB / 472 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003262/0.1356, allocations: 80 kB / 472 MB, free: 8.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009126/0.1366, allocations: 267.6 kB / 472.3 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008422/0.1374, allocations: 0.5026 MB / 472.8 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001307/0.1387, allocations: 0.5404 MB / 473.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002023/0.1408, allocations: 1.3 MB / 474.7 MB, free: 6.227 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.1408, allocations: 0 / 474.7 MB, free: 6.227 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1408, allocations: 4 kB / 474.7 MB, free: 6.223 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.617e-05/0.1409, allocations: 0 / 474.7 MB, free: 6.223 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.003448/0.1443, allocations: 1.335 MB / 476 MB, free: 4.828 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.1444, allocations: 11.89 kB / 476 MB, free: 4.816 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002843/0.1447, allocations: 147.7 kB / 476.1 MB, free: 4.664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/0.1461, allocations: 183.5 kB / 476.3 MB, free: 4.484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.1474, allocations: 0.7037 MB / 477 MB, free: 3.738 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.075e-05/0.1475, allocations: 58.38 kB / 477.1 MB, free: 3.684 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002906/0.1478, allocations: 127.8 kB / 477.2 MB, free: 3.559 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001904/0.1497, allocations: 1.212 MB / 478.4 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.882e-05/0.1498, allocations: 15.83 kB / 478.4 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-05/0.1499, allocations: 32 kB / 478.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002675/0.1501, allocations: 61.97 kB / 478.5 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001691/0.1518, allocations: 1.015 MB / 479.5 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006357/0.1582, allocations: 4.718 MB / 484.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.1594, allocations: 0.6725 MB / 484.9 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000663/0.16, allocations: 463.2 kB / 485.4 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.427e-05/0.1601, allocations: 12.55 kB / 485.4 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007611/0.1609, allocations: 0.5299 MB / 485.9 MB, free: 10.51 MB / 366.1 MB Notification: Performance of pre-optimization done (n=71): time 2.986e-06/0.1609, allocations: 0 / 485.9 MB, free: 10.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.005029/0.1659, allocations: 3.03 MB / 489 MB, free: 7.395 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/0.1661, allocations: 230.2 kB / 489.2 MB, free: 7.117 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006879/0.1668, allocations: 0.5898 MB / 489.8 MB, free: 6.516 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.013e-05/0.1668, allocations: 45.7 kB / 489.8 MB, free: 6.465 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003458/0.1672, allocations: 467 kB / 490.3 MB, free: 6 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000226/0.1674, allocations: 264.3 kB / 490.5 MB, free: 5.738 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002588/0.1677, allocations: 170.5 kB / 490.7 MB, free: 5.566 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.1679, allocations: 390.8 kB / 491.1 MB, free: 5.176 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005924/0.1685, allocations: 397.7 kB / 491.5 MB, free: 4.785 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007588/0.1692, allocations: 0.634 MB / 492.1 MB, free: 4.039 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.005177/0.1744, allocations: 2.233 MB / 494.3 MB, free: 1.695 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/0.1744, allocations: 4 kB / 494.3 MB, free: 1.691 MB / 366.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.00337/0.1778, allocations: 1.665 MB / 496 MB, free: 0 / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.902e-05/0.1779, allocations: 37.83 kB / 496 MB, free: 15.95 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.0006343/0.1786, allocations: 397.4 kB / 496.4 MB, free: 15.57 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated