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.001505/0.001505, allocations: 103.2 kB / 17.06 MB, free: 5.742 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.00191/0.00191, allocations: 194.9 kB / 18 MB, free: 4.91 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-master/package.mo): time 0.1774/0.1774, allocations: 38.04 MB / 329.9 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 63.89 kB / 458.2 MB, free: 6.871 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4593/0.4608, allocations: 58.05 MB / 0.5041 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.01037/0.4712, allocations: 7.587 MB / 0.5115 GB, free: 2.418 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005053/0.4763, allocations: 2.314 MB / 0.5138 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009011/0.4772, allocations: 25.25 kB / 0.5138 GB, free: 0.793 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002722/0.48, allocations: 0.8581 MB / 0.5146 GB, free: 280 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001825/0.4818, allocations: 0.5184 MB / 0.5151 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002419/0.4842, allocations: 451.5 kB / 0.5156 GB, free: 15.76 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003835/0.4881, allocations: 1.319 MB / 0.5169 GB, free: 15.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001641/0.4897, allocations: 0.694 MB / 0.5175 GB, free: 14.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002021/0.4918, allocations: 0.5849 MB / 0.5181 GB, free: 14.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002153/0.4939, allocations: 0.6803 MB / 0.5188 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004516/0.4944, allocations: 82.44 kB / 0.5189 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001248/0.4957, allocations: 269 kB / 0.5191 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001145/0.4968, allocations: 0.4967 MB / 0.5196 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002008/0.4989, allocations: 0.5429 MB / 0.5201 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003362/0.5022, allocations: 1.318 MB / 0.5214 GB, free: 13.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.5023, allocations: 1.125 kB / 0.5214 GB, free: 13.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.901e-06/0.5023, allocations: 0 / 0.5214 GB, free: 13.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001086/0.5024, allocations: 4.5 kB / 0.5214 GB, free: 13.33 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.005053/0.5075, allocations: 1.333 MB / 0.5227 GB, free: 12.42 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.013e-05/0.5075, allocations: 13.48 kB / 0.5227 GB, free: 12.42 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001603/0.5091, allocations: 189.1 kB / 0.5229 GB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002098/0.5113, allocations: 0.735 MB / 0.5236 GB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.25e-05/0.5114, allocations: 64.75 kB / 0.5237 GB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004985/0.5119, allocations: 120.1 kB / 0.5238 GB, free: 11.85 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003051/0.5149, allocations: 1.218 MB / 0.525 GB, free: 11.28 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.117e-05/0.515, allocations: 6.844 kB / 0.525 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.5151, allocations: 34.61 kB / 0.525 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003162/0.5155, allocations: 62.78 kB / 0.5251 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002423/0.5179, allocations: 1.006 MB / 0.5261 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008763/0.5267, allocations: 4.705 MB / 0.5307 GB, free: 7.547 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/0.5281, allocations: 0.676 MB / 0.5313 GB, free: 7.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007468/0.5289, allocations: 465 kB / 0.5318 GB, free: 6.949 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.153e-05/0.529, allocations: 15.14 kB / 0.5318 GB, free: 6.941 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008622/0.5298, allocations: 0.5242 MB / 0.5323 GB, free: 6.582 MB / 398.1 MB Notification: Performance of pre-optimization done (n=71): time 4.749e-06/0.5298, allocations: 3.938 kB / 0.5323 GB, free: 6.578 MB / 398.1 MB Notification: Performance of matching and sorting (n=75): time 0.00635/0.5362, allocations: 3.033 MB / 0.5353 GB, free: 4.684 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001523/0.5364, allocations: 231.8 kB / 0.5355 GB, free: 4.418 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009665/0.5374, allocations: 0.5887 MB / 0.5361 GB, free: 4.074 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.584e-05/0.5375, allocations: 42.55 kB / 0.5361 GB, free: 4.031 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004932/0.538, allocations: 481.9 kB / 0.5366 GB, free: 3.609 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004595/0.5384, allocations: 256.2 kB / 0.5368 GB, free: 3.391 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004582/0.5389, allocations: 171.3 kB / 0.537 GB, free: 3.289 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003063/0.5392, allocations: 391.8 kB / 0.5373 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001004/0.5402, allocations: 393.1 kB / 0.5377 GB, free: 2.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.5414, allocations: 0.6308 MB / 0.5383 GB, free: 2.219 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.005859/0.5472, allocations: 2.227 MB / 0.5405 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.228e-05/0.5473, allocations: 2.375 kB / 0.5405 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003707/0.551, allocations: 1.664 MB / 0.5421 GB, free: 15.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.876e-05/0.551, allocations: 33.39 kB / 0.5422 GB, free: 15.95 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.0007679/0.5518, allocations: 397.1 kB / 0.5425 GB, free: 15.76 MB / 414.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated