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.001265/0.001265, allocations: 107.7 kB / 17.06 MB, free: 5.996 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.001301/0.001301, allocations: 197.3 kB / 18.01 MB, free: 5.066 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.432/1.432, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1846/0.1846, allocations: 38.05 MB / 329.9 MB, free: 8.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 63.89 kB / 457.7 MB, free: 7.336 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3193, allocations: 58.04 MB / 0.5036 GB, free: 7.496 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.006997/0.3263, allocations: 7.588 MB / 0.511 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003737/0.3301, allocations: 2.317 MB / 0.5133 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004812/0.3306, allocations: 29.91 kB / 0.5133 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002064/0.3327, allocations: 0.8516 MB / 0.5142 GB, free: 32 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001223/0.334, allocations: 0.4991 MB / 0.5146 GB, free: 15.74 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001366/0.3353, allocations: 451.3 kB / 0.5151 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001599/0.3369, allocations: 1.322 MB / 0.5164 GB, free: 14.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009241/0.3379, allocations: 0.6881 MB / 0.517 GB, free: 14.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009541/0.3388, allocations: 0.5775 MB / 0.5176 GB, free: 14.42 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/0.34, allocations: 0.6889 MB / 0.5183 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001641/0.3402, allocations: 81.81 kB / 0.5184 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006044/0.3408, allocations: 265.5 kB / 0.5186 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005304/0.3413, allocations: 0.4999 MB / 0.5191 GB, free: 13.92 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005903/0.3419, allocations: 0.5433 MB / 0.5196 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001492/0.3434, allocations: 1.321 MB / 0.5209 GB, free: 13.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.3434, allocations: 1.219 kB / 0.5209 GB, free: 13.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.507e-06/0.3435, allocations: 0 / 0.5209 GB, free: 13.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.3435, allocations: 4.688 kB / 0.5209 GB, free: 13.1 MB / 398.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.002395/0.3459, allocations: 1.36 MB / 0.5222 GB, free: 12.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.3459, allocations: 13.7 kB / 0.5223 GB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001818/0.3461, allocations: 143.9 kB / 0.5224 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.3472, allocations: 188.2 kB / 0.5226 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.3484, allocations: 0.7489 MB / 0.5233 GB, free: 11.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.132e-05/0.3485, allocations: 68.72 kB / 0.5234 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002589/0.3487, allocations: 119.3 kB / 0.5235 GB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001761/0.3505, allocations: 1.218 MB / 0.5247 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.998e-05/0.3505, allocations: 6.641 kB / 0.5247 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.068e-05/0.3506, allocations: 38.25 kB / 0.5247 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000242/0.3509, allocations: 62.66 kB / 0.5248 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001592/0.3525, allocations: 1.018 MB / 0.5258 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005522/0.358, allocations: 4.705 MB / 0.5304 GB, free: 7.203 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.359, allocations: 0.6754 MB / 0.531 GB, free: 6.836 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000606/0.3597, allocations: 457.1 kB / 0.5315 GB, free: 6.613 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.422e-05/0.3597, allocations: 15.39 kB / 0.5315 GB, free: 6.605 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007228/0.3605, allocations: 0.5277 MB / 0.532 GB, free: 6.242 MB / 398.1 MB Notification: Performance of pre-optimization done (n=71): time 2.144e-06/0.3605, allocations: 0 / 0.532 GB, free: 6.242 MB / 398.1 MB Notification: Performance of matching and sorting (n=75): time 0.004757/0.3652, allocations: 3.093 MB / 0.535 GB, free: 4.293 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/0.3654, allocations: 216.1 kB / 0.5352 GB, free: 4.043 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006159/0.366, allocations: 0.5965 MB / 0.5358 GB, free: 3.691 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.923e-05/0.3661, allocations: 39.02 kB / 0.5358 GB, free: 3.652 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003539/0.3664, allocations: 491.3 kB / 0.5363 GB, free: 3.223 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002835/0.3667, allocations: 273.1 kB / 0.5366 GB, free: 2.988 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002835/0.367, allocations: 175.2 kB / 0.5367 GB, free: 2.883 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002101/0.3672, allocations: 388.2 kB / 0.5371 GB, free: 2.516 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005746/0.3678, allocations: 385.6 kB / 0.5375 GB, free: 2.336 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007574/0.3686, allocations: 0.645 MB / 0.5381 GB, free: 1.809 MB / 398.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.004995/0.3736, allocations: 2.224 MB / 0.5403 GB, free: 500 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.687e-06/0.3736, allocations: 10.19 kB / 0.5403 GB, free: 492 kB / 398.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003036/0.3766, allocations: 1.656 MB / 0.5419 GB, free: 15.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.96e-05/0.3767, allocations: 39.31 kB / 0.5419 GB, free: 15.54 MB / 414.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.0006109/0.3773, allocations: 396.6 kB / 0.5423 GB, free: 15.35 MB / 414.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated