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: translateModel(PowerSystems.Examples.Introductory.SimulationSteadyInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyInitial") translateModel(PowerSystems.Examples.Introductory.SimulationSteadyInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 113.5 kB / 17.06 MB, free: 5.992 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.001656/0.001656, allocations: 200 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.43/1.43, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2026/0.2026, allocations: 38.04 MB / 329.9 MB, free: 8.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 67.89 kB / 458.1 MB, free: 6.812 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4755/0.477, allocations: 58.06 MB / 0.5041 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.009185/0.4862, allocations: 7.569 MB / 0.5115 GB, free: 2.508 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004485/0.4907, allocations: 2.325 MB / 0.5138 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006443/0.4914, allocations: 29.72 kB / 0.5138 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00231/0.4937, allocations: 0.8583 MB / 0.5146 GB, free: 352 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001452/0.4952, allocations: 0.5035 MB / 0.5151 GB, free: 48 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001564/0.4968, allocations: 450.7 kB / 0.5156 GB, free: 15.85 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0024/0.4992, allocations: 1.315 MB / 0.5168 GB, free: 15.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00141/0.5006, allocations: 0.6861 MB / 0.5175 GB, free: 15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001516/0.5021, allocations: 0.582 MB / 0.5181 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001808/0.504, allocations: 0.6881 MB / 0.5187 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004152/0.5044, allocations: 81.88 kB / 0.5188 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001101/0.5055, allocations: 266 kB / 0.5191 GB, free: 14.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001004/0.5065, allocations: 0.4961 MB / 0.5196 GB, free: 14.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001434/0.508, allocations: 0.5461 MB / 0.5201 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00202/0.51, allocations: 1.326 MB / 0.5214 GB, free: 13.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.51, allocations: 0.6562 kB / 0.5214 GB, free: 13.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.51, allocations: 0 / 0.5214 GB, free: 13.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.791e-05/0.51, allocations: 1.094 kB / 0.5214 GB, free: 13.41 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.002764/0.5128, allocations: 1.362 MB / 0.5227 GB, free: 12.47 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.5129, allocations: 13.48 kB / 0.5227 GB, free: 12.47 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001208/0.5141, allocations: 192 kB / 0.5229 GB, free: 12.4 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.5155, allocations: 0.7415 MB / 0.5236 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.526e-05/0.5156, allocations: 64.81 kB / 0.5237 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002937/0.5159, allocations: 119.1 kB / 0.5238 GB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002221/0.5181, allocations: 1.218 MB / 0.525 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.442e-05/0.5181, allocations: 7.281 kB / 0.525 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.733e-05/0.5182, allocations: 37.81 kB / 0.525 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002676/0.5185, allocations: 62.84 kB / 0.5251 GB, free: 11.28 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001798/0.5203, allocations: 1.014 MB / 0.5261 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006527/0.5269, allocations: 4.715 MB / 0.5307 GB, free: 7.547 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.528, allocations: 0.6771 MB / 0.5314 GB, free: 7.176 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007251/0.5288, allocations: 464.7 kB / 0.5318 GB, free: 6.945 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.893e-05/0.5289, allocations: 8.219 kB / 0.5318 GB, free: 6.945 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00083/0.5297, allocations: 0.528 MB / 0.5323 GB, free: 6.582 MB / 398.1 MB Notification: Performance of pre-optimization done (n=71): time 2.595e-06/0.5297, allocations: 0 / 0.5323 GB, free: 6.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=75): time 0.005711/0.5354, allocations: 3.085 MB / 0.5353 GB, free: 4.641 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/0.5356, allocations: 232.6 kB / 0.5356 GB, free: 4.375 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007806/0.5364, allocations: 0.5879 MB / 0.5361 GB, free: 4.031 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.791e-05/0.5364, allocations: 43.23 kB / 0.5362 GB, free: 3.988 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004072/0.5369, allocations: 494.6 kB / 0.5367 GB, free: 3.555 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002587/0.5371, allocations: 269.6 kB / 0.5369 GB, free: 3.324 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003225/0.5375, allocations: 175.3 kB / 0.5371 GB, free: 3.219 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002128/0.5377, allocations: 392.7 kB / 0.5375 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006481/0.5383, allocations: 384.7 kB / 0.5378 GB, free: 2.668 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008099/0.5391, allocations: 0.6371 MB / 0.5384 GB, free: 2.148 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.005351/0.5445, allocations: 2.219 MB / 0.5406 GB, free: 0.832 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.5445, allocations: 6.75 kB / 0.5406 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003319/0.5479, allocations: 1.657 MB / 0.5422 GB, free: 15.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.442e-05/0.5479, allocations: 34.27 kB / 0.5423 GB, free: 15.89 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.0006474/0.5486, allocations: 398.3 kB / 0.5426 GB, free: 15.7 MB / 414.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated