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.001755/0.001755, allocations: 115.9 kB / 17.06 MB, free: 5.816 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.001317/0.001317, allocations: 196 kB / 18.01 MB, free: 4.938 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.377/1.377, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1806/0.1806, allocations: 38.03 MB / 329.9 MB, free: 8.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 67.89 kB / 457.7 MB, free: 7.312 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.3217, allocations: 58.04 MB / 0.5036 GB, free: 7.703 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.006968/0.3287, allocations: 7.585 MB / 0.511 GB, free: 2.391 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003895/0.3326, allocations: 2.316 MB / 0.5133 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006233/0.3333, allocations: 29.69 kB / 0.5133 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002212/0.3355, allocations: 0.851 MB / 0.5141 GB, free: 248 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001381/0.3369, allocations: 0.5079 MB / 0.5146 GB, free: 15.94 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.3385, allocations: 443.1 kB / 0.5151 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002188/0.3407, allocations: 1.326 MB / 0.5164 GB, free: 15.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/0.3421, allocations: 0.6897 MB / 0.517 GB, free: 14.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001295/0.3434, allocations: 0.5817 MB / 0.5176 GB, free: 14.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001284/0.3447, allocations: 0.684 MB / 0.5183 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002227/0.3449, allocations: 82.25 kB / 0.5183 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007874/0.3457, allocations: 262.8 kB / 0.5186 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006622/0.3464, allocations: 0.4946 MB / 0.5191 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007009/0.3471, allocations: 0.5433 MB / 0.5196 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001841/0.3489, allocations: 1.326 MB / 0.5209 GB, free: 13.31 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3489, allocations: 4.969 kB / 0.5209 GB, free: 13.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.057e-06/0.349, allocations: 0 / 0.5209 GB, free: 13.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.21e-05/0.349, allocations: 3.938 kB / 0.5209 GB, free: 13.3 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.002956/0.3519, allocations: 1.36 MB / 0.5222 GB, free: 12.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.352, allocations: 14.11 kB / 0.5223 GB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001937/0.3522, allocations: 139.6 kB / 0.5224 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/0.3534, allocations: 189.4 kB / 0.5226 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.3548, allocations: 0.7441 MB / 0.5233 GB, free: 11.76 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.738e-05/0.3548, allocations: 65.53 kB / 0.5234 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002663/0.3551, allocations: 118.6 kB / 0.5235 GB, free: 11.69 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001946/0.3571, allocations: 1.226 MB / 0.5247 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.3e-05/0.3571, allocations: 7.781 kB / 0.5247 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001425/0.3573, allocations: 32.25 kB / 0.5247 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002569/0.3575, allocations: 62.41 kB / 0.5248 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001674/0.3592, allocations: 1.015 MB / 0.5258 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006302/0.3655, allocations: 4.71 MB / 0.5304 GB, free: 7.379 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/0.3667, allocations: 0.6791 MB / 0.531 GB, free: 7.008 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006529/0.3674, allocations: 464.9 kB / 0.5315 GB, free: 6.777 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.433e-05/0.3674, allocations: 11.89 kB / 0.5315 GB, free: 6.773 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008245/0.3683, allocations: 0.5283 MB / 0.532 GB, free: 6.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=71): time 3.046e-06/0.3683, allocations: 0 / 0.532 GB, free: 6.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=75): time 0.005493/0.3738, allocations: 3.088 MB / 0.535 GB, free: 4.465 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000144/0.3739, allocations: 225.1 kB / 0.5352 GB, free: 4.207 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007482/0.3747, allocations: 0.588 MB / 0.5358 GB, free: 3.863 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.103e-05/0.3748, allocations: 49.89 kB / 0.5358 GB, free: 3.812 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000461/0.3752, allocations: 484.7 kB / 0.5363 GB, free: 3.391 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002748/0.3755, allocations: 272.6 kB / 0.5366 GB, free: 3.156 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002851/0.3758, allocations: 175.1 kB / 0.5367 GB, free: 3.051 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002104/0.376, allocations: 391.8 kB / 0.5371 GB, free: 2.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006137/0.3767, allocations: 389.2 kB / 0.5375 GB, free: 2.496 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000835/0.3775, allocations: 0.639 MB / 0.5381 GB, free: 1.977 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.005412/0.3829, allocations: 2.218 MB / 0.5403 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.383, allocations: 2.312 kB / 0.5403 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.0035/0.3865, allocations: 1.664 MB / 0.5419 GB, free: 15.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.229e-05/0.3865, allocations: 35.14 kB / 0.5419 GB, free: 15.72 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.0007168/0.3873, allocations: 398 kB / 0.5423 GB, free: 15.53 MB / 414.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated