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: translateModel(PowerSystems.Examples.Introductory.SimulationSteadyInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyInitial") translateModel(PowerSystems.Examples.Introductory.SimulationSteadyInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_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.001654/0.001654, allocations: 108.9 kB / 17.06 MB, free: 6.137 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.002386/0.002386, allocations: 191 kB / 18 MB, free: 5.219 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.425/1.425, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1739/0.1739, allocations: 38.05 MB / 329.9 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 59.91 kB / 458.1 MB, free: 6.871 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.366, allocations: 58.05 MB / 0.5041 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.009793/0.3758, allocations: 7.578 MB / 0.5115 GB, free: 2.715 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00461/0.3805, allocations: 2.32 MB / 0.5138 GB, free: 1.094 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005888/0.3811, allocations: 29.75 kB / 0.5138 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002068/0.3832, allocations: 0.8573 MB / 0.5146 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001304/0.3845, allocations: 0.511 MB / 0.5151 GB, free: 272 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.3859, allocations: 442.8 kB / 0.5156 GB, free: 76 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001806/0.3877, allocations: 1.332 MB / 0.5169 GB, free: 15.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001066/0.3888, allocations: 0.6817 MB / 0.5175 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001169/0.3899, allocations: 0.5815 MB / 0.5181 GB, free: 14.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001101/0.3911, allocations: 0.6917 MB / 0.5188 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000131/0.3912, allocations: 86.59 kB / 0.5188 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005507/0.3918, allocations: 265.8 kB / 0.5191 GB, free: 14.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000536/0.3923, allocations: 0.4953 MB / 0.5196 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006416/0.393, allocations: 0.5448 MB / 0.5201 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001703/0.3947, allocations: 1.31 MB / 0.5214 GB, free: 13.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3947, allocations: 0 / 0.5214 GB, free: 13.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.617e-06/0.3947, allocations: 0 / 0.5214 GB, free: 13.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.689e-05/0.3947, allocations: 9.062 kB / 0.5214 GB, free: 13.64 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.00255/0.3973, allocations: 1.337 MB / 0.5227 GB, free: 12.72 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.3973, allocations: 13.88 kB / 0.5227 GB, free: 12.72 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001217/0.3985, allocations: 180.1 kB / 0.5229 GB, free: 12.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.3999, allocations: 0.7446 MB / 0.5236 GB, free: 12.22 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.247e-05/0.3999, allocations: 65.53 kB / 0.5237 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000302/0.4002, allocations: 119.1 kB / 0.5238 GB, free: 12.15 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001993/0.4022, allocations: 1.226 MB / 0.525 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.456e-05/0.4023, allocations: 3.125 kB / 0.525 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.4024, allocations: 37.69 kB / 0.525 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002833/0.4027, allocations: 62.94 kB / 0.5251 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001812/0.4045, allocations: 1.011 MB / 0.5261 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00619/0.4107, allocations: 4.699 MB / 0.5307 GB, free: 7.816 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.4119, allocations: 0.6772 MB / 0.5313 GB, free: 7.445 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006586/0.4126, allocations: 458 kB / 0.5318 GB, free: 7.223 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.527e-05/0.4126, allocations: 15.48 kB / 0.5318 GB, free: 7.215 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00078/0.4134, allocations: 0.524 MB / 0.5323 GB, free: 6.855 MB / 398.1 MB Notification: Performance of pre-optimization done (n=71): time 2.635e-06/0.4134, allocations: 3.938 kB / 0.5323 GB, free: 6.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=75): time 0.005221/0.4187, allocations: 3.032 MB / 0.5353 GB, free: 4.957 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.4188, allocations: 232.2 kB / 0.5355 GB, free: 4.691 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007147/0.4195, allocations: 0.5923 MB / 0.5361 GB, free: 4.344 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.692e-05/0.4196, allocations: 38.36 kB / 0.5361 GB, free: 4.305 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003761/0.42, allocations: 479 kB / 0.5366 GB, free: 3.887 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000237/0.4202, allocations: 260.3 kB / 0.5368 GB, free: 3.664 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002754/0.4205, allocations: 170.9 kB / 0.537 GB, free: 3.562 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.4207, allocations: 391.8 kB / 0.5373 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000624/0.4213, allocations: 388.6 kB / 0.5377 GB, free: 3.008 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000794/0.4221, allocations: 0.6343 MB / 0.5383 GB, free: 2.492 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.00526/0.4274, allocations: 2.236 MB / 0.5405 GB, free: 1.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.4274, allocations: 6.625 kB / 0.5405 GB, free: 1.156 MB / 398.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003225/0.4307, allocations: 1.652 MB / 0.5421 GB, free: 264 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.938e-05/0.4307, allocations: 37.48 kB / 0.5422 GB, free: 228 kB / 398.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.0006234/0.4313, allocations: 397 kB / 0.5425 GB, free: 32 kB / 398.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated