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.001287/0.001287, allocations: 114.2 kB / 17.07 MB, free: 5.945 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.001263/0.001263, allocations: 197.4 kB / 18.01 MB, free: 5.023 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.437/1.437, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1869/0.1869, allocations: 38.04 MB / 329.9 MB, free: 8.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002353/0.002353, allocations: 63.91 kB / 457.7 MB, free: 7.324 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3856, allocations: 58.06 MB / 0.5036 GB, free: 7.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.009555/0.3952, allocations: 7.58 MB / 0.511 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004978/0.4002, allocations: 2.314 MB / 0.5133 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.4012, allocations: 28.81 kB / 0.5133 GB, free: 0.543 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003048/0.4043, allocations: 0.8591 MB / 0.5142 GB, free: 24 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002783/0.4071, allocations: 0.5075 MB / 0.5147 GB, free: 15.72 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002412/0.4096, allocations: 447 kB / 0.5151 GB, free: 15.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003618/0.4132, allocations: 1.322 MB / 0.5164 GB, free: 14.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001525/0.4148, allocations: 0.6901 MB / 0.517 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002196/0.417, allocations: 0.5727 MB / 0.5176 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002037/0.4191, allocations: 0.696 MB / 0.5183 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002916/0.4194, allocations: 82 kB / 0.5184 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009528/0.4203, allocations: 265.7 kB / 0.5186 GB, free: 14.08 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006235/0.421, allocations: 0.4917 MB / 0.5191 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007455/0.4217, allocations: 0.5478 MB / 0.5196 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001984/0.4237, allocations: 1.317 MB / 0.5209 GB, free: 13.1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.4237, allocations: 0.75 kB / 0.5209 GB, free: 13.1 MB / 398.1 MB Notification: Performance of FrontEnd: time 6.362e-06/0.4237, allocations: 0 / 0.5209 GB, free: 13.1 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.562e-05/0.4238, allocations: 9.312 kB / 0.5209 GB, free: 13.09 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.00306/0.4268, allocations: 1.359 MB / 0.5223 GB, free: 12.15 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.4269, allocations: 12.86 kB / 0.5223 GB, free: 12.15 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002074/0.4271, allocations: 146.8 kB / 0.5224 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/0.4284, allocations: 193.1 kB / 0.5226 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.43, allocations: 0.7449 MB / 0.5233 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.185e-05/0.43, allocations: 60.75 kB / 0.5234 GB, free: 11.51 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003104/0.4304, allocations: 119.4 kB / 0.5235 GB, free: 11.47 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002193/0.4326, allocations: 1.222 MB / 0.5247 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.759e-05/0.4326, allocations: 7.422 kB / 0.5247 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/0.4327, allocations: 34.34 kB / 0.5247 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002768/0.433, allocations: 61.33 kB / 0.5248 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00194/0.435, allocations: 1.015 MB / 0.5258 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007457/0.4424, allocations: 4.708 MB / 0.5304 GB, free: 7.203 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/0.4437, allocations: 0.6796 MB / 0.531 GB, free: 6.832 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006485/0.4443, allocations: 457.3 kB / 0.5315 GB, free: 6.609 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.744e-05/0.4444, allocations: 7.531 kB / 0.5315 GB, free: 6.609 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008119/0.4452, allocations: 0.5324 MB / 0.532 GB, free: 6.242 MB / 398.1 MB Notification: Performance of pre-optimization done (n=71): time 2.565e-06/0.4452, allocations: 0 / 0.532 GB, free: 6.242 MB / 398.1 MB Notification: Performance of matching and sorting (n=75): time 0.005667/0.4509, allocations: 3.092 MB / 0.535 GB, free: 4.293 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001562/0.4511, allocations: 221.4 kB / 0.5352 GB, free: 4.039 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008394/0.4519, allocations: 0.5876 MB / 0.5358 GB, free: 3.695 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.024e-05/0.452, allocations: 46.53 kB / 0.5358 GB, free: 3.648 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000482/0.4525, allocations: 487.7 kB / 0.5363 GB, free: 3.223 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002863/0.4528, allocations: 274.3 kB / 0.5366 GB, free: 2.988 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003217/0.4532, allocations: 170 kB / 0.5367 GB, free: 2.887 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000238/0.4534, allocations: 391.8 kB / 0.5371 GB, free: 2.516 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006482/0.4541, allocations: 389.6 kB / 0.5375 GB, free: 2.332 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009512/0.455, allocations: 0.642 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.005719/0.4607, allocations: 2.224 MB / 0.5403 GB, free: 500 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.4608, allocations: 2.25 kB / 0.5403 GB, free: 500 kB / 398.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003764/0.4645, allocations: 1.665 MB / 0.5419 GB, free: 15.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.241e-05/0.4646, allocations: 33.95 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.0007012/0.4653, allocations: 397.4 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