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.001212/0.001212, allocations: 109.8 kB / 16.92 MB, free: 5.77 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.001262/0.001262, allocations: 191.5 kB / 17.85 MB, free: 5.176 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.307/1.307, allocations: 222.9 MB / 241.6 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1788/0.1788, allocations: 38.03 MB / 329.7 MB, free: 8.84 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 66.86 kB / 398.9 MB, free: 33.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1032, allocations: 58.07 MB / 457 MB, free: 7.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.008115/0.1114, allocations: 7.577 MB / 464.5 MB, free: 360 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0036/0.115, allocations: 2.325 MB / 466.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004921/0.1155, allocations: 31.81 kB / 466.9 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002177/0.1177, allocations: 0.8518 MB / 467.8 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001266/0.119, allocations: 0.5092 MB / 468.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.1202, allocations: 447 kB / 468.7 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001471/0.1217, allocations: 1.317 MB / 470 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00104/0.1227, allocations: 0.6933 MB / 470.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008885/0.1236, allocations: 0.568 MB / 471.3 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001054/0.1247, allocations: 0.693 MB / 472 MB, free: 8.898 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001984/0.1249, allocations: 80 kB / 472 MB, free: 8.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000613/0.1255, allocations: 267.6 kB / 472.3 MB, free: 8.559 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000574/0.1261, allocations: 0.4949 MB / 472.8 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009745/0.1271, allocations: 0.5442 MB / 473.3 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001775/0.1289, allocations: 1.297 MB / 474.6 MB, free: 6.215 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/0.1289, allocations: 7.938 kB / 474.7 MB, free: 6.207 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1289, allocations: 0 / 474.7 MB, free: 6.207 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.601e-05/0.129, allocations: 0 / 474.7 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.00273/0.1317, allocations: 1.335 MB / 476 MB, free: 4.812 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1318, allocations: 11.89 kB / 476 MB, free: 4.801 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002157/0.132, allocations: 147.7 kB / 476.1 MB, free: 4.648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001296/0.1333, allocations: 183.5 kB / 476.3 MB, free: 4.469 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.1345, allocations: 0.7076 MB / 477 MB, free: 3.719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.03e-05/0.1345, allocations: 58.38 kB / 477.1 MB, free: 3.664 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002655/0.1348, allocations: 119.9 kB / 477.2 MB, free: 3.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/0.1365, allocations: 1.216 MB / 478.4 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.242e-05/0.1366, allocations: 11.84 kB / 478.4 MB, free: 2.246 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.357e-05/0.1367, allocations: 35.98 kB / 478.5 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002656/0.137, allocations: 65.95 kB / 478.5 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/0.1385, allocations: 1.011 MB / 479.5 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005486/0.144, allocations: 4.718 MB / 484.3 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.145, allocations: 0.6803 MB / 484.9 MB, free: 11.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005942/0.1456, allocations: 459.2 kB / 485.4 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.665e-05/0.1457, allocations: 16.48 kB / 485.4 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000723/0.1464, allocations: 0.5182 MB / 485.9 MB, free: 10.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=71): time 3.326e-06/0.1464, allocations: 0 / 485.9 MB, free: 10.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.004796/0.1512, allocations: 3.038 MB / 489 MB, free: 7.375 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.1514, allocations: 222.2 kB / 489.2 MB, free: 7.105 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006577/0.1521, allocations: 0.5978 MB / 489.8 MB, free: 6.496 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.663e-05/0.1521, allocations: 41.7 kB / 489.8 MB, free: 6.449 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003658/0.1525, allocations: 467 kB / 490.3 MB, free: 5.984 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002471/0.1528, allocations: 264.3 kB / 490.5 MB, free: 5.723 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000271/0.153, allocations: 174.5 kB / 490.7 MB, free: 5.547 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.1532, allocations: 394.7 kB / 491.1 MB, free: 5.152 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005884/0.1538, allocations: 389.7 kB / 491.5 MB, free: 4.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000718/0.1546, allocations: 0.6379 MB / 492.1 MB, free: 4.02 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.004925/0.1595, allocations: 2.229 MB / 494.3 MB, free: 1.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.1595, allocations: 4 kB / 494.3 MB, free: 1.676 MB / 366.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002938/0.1624, allocations: 1.661 MB / 496 MB, free: 15.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.516e-05/0.1625, 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.000585/0.1631, allocations: 398.1 kB / 496.4 MB, free: 15.56 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated