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: "" <> buildModelFMU(PowerSystems.Examples.Introductory.SimulationSteadyInitial,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_SimulationSteadyInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.SimulationSteadyInitial,fileNamePrefix="PowerSystems_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.001073/0.001073, allocations: 107.5 kB / 16.92 MB, free: 6.332 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.001104/0.001104, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.289/1.289, allocations: 222.9 MB / 241.5 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1767/0.1767, allocations: 38.02 MB / 329.7 MB, free: 8.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002504/0.002505, allocations: 61.36 kB / 398.9 MB, free: 33.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1075, allocations: 58.06 MB / 457 MB, free: 7.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.008939/0.1165, allocations: 7.577 MB / 464.5 MB, free: 360 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003991/0.1206, allocations: 2.329 MB / 466.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005437/0.1211, allocations: 23.88 kB / 466.9 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00222/0.1234, allocations: 0.8537 MB / 467.7 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001387/0.1248, allocations: 0.5052 MB / 468.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001329/0.1261, allocations: 451 kB / 468.7 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001568/0.1277, allocations: 1.317 MB / 470 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009006/0.1286, allocations: 0.6894 MB / 470.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000964/0.1296, allocations: 0.568 MB / 471.3 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001187/0.1308, allocations: 0.6931 MB / 472 MB, free: 8.906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002295/0.1311, allocations: 83.94 kB / 472 MB, free: 8.824 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006645/0.1317, allocations: 267.6 kB / 472.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005905/0.1323, allocations: 0.4948 MB / 472.8 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008078/0.1331, allocations: 0.5365 MB / 473.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001432/0.1346, allocations: 1.304 MB / 474.6 MB, free: 6.219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.1346, allocations: 4 kB / 474.6 MB, free: 6.215 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1346, allocations: 4 kB / 474.6 MB, free: 6.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.824e-05/0.1347, allocations: 3.938 kB / 474.6 MB, free: 6.207 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.00296/0.1376, allocations: 1.331 MB / 476 MB, free: 4.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.1377, allocations: 15.89 kB / 476 MB, free: 4.801 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002326/0.1379, allocations: 135.7 kB / 476.1 MB, free: 4.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/0.1393, allocations: 183.5 kB / 476.3 MB, free: 4.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.1406, allocations: 0.7076 MB / 477 MB, free: 3.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.419e-05/0.1407, allocations: 66.36 kB / 477.1 MB, free: 3.668 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003023/0.141, allocations: 123.9 kB / 477.2 MB, free: 3.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001949/0.1429, allocations: 1.219 MB / 478.4 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.774e-05/0.143, allocations: 7.906 kB / 478.4 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-05/0.1431, allocations: 35.98 kB / 478.5 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002776/0.1434, allocations: 61.97 kB / 478.5 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/0.1452, allocations: 1.019 MB / 479.5 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006226/0.1514, allocations: 4.706 MB / 484.2 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.1525, allocations: 0.6791 MB / 484.9 MB, free: 11.53 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000623/0.1531, allocations: 463.2 kB / 485.4 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.899e-05/0.1532, allocations: 16.53 kB / 485.4 MB, free: 11.06 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000711/0.1539, allocations: 0.5297 MB / 485.9 MB, free: 10.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=71): time 2.625e-06/0.1539, allocations: 0 / 485.9 MB, free: 10.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.004871/0.1588, allocations: 3.034 MB / 489 MB, free: 7.375 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.1589, allocations: 230.1 kB / 489.2 MB, free: 7.098 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006387/0.1596, allocations: 0.5938 MB / 489.8 MB, free: 6.492 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.907e-05/0.1597, allocations: 41.7 kB / 489.8 MB, free: 6.445 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003224/0.16, allocations: 467 kB / 490.3 MB, free: 5.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002129/0.1602, allocations: 264.3 kB / 490.5 MB, free: 5.719 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002506/0.1605, allocations: 170.5 kB / 490.7 MB, free: 5.547 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.1606, allocations: 394.7 kB / 491.1 MB, free: 5.152 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006083/0.1612, allocations: 389.8 kB / 491.5 MB, free: 4.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007553/0.162, allocations: 0.634 MB / 492.1 MB, free: 4.023 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.005216/0.1672, allocations: 2.236 MB / 494.3 MB, free: 1.676 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.1672, allocations: 0 / 494.3 MB, free: 1.676 MB / 366.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003259/0.1705, allocations: 1.658 MB / 496 MB, free: 15.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.835e-05/0.1706, allocations: 37.7 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.0006284/0.1712, allocations: 405.3 kB / 496.4 MB, free: 15.55 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated