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.001308/0.001308, allocations: 109.5 kB / 17.06 MB, free: 6.023 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.001101/0.001101, allocations: 191 kB / 18 MB, free: 5.105 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.376/1.376, allocations: 222.9 MB / 241.7 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1739/0.1739, allocations: 38.04 MB / 329.9 MB, free: 8.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 67.86 kB / 458.1 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3664, allocations: 58.05 MB / 0.5041 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.009004/0.3755, allocations: 7.584 MB / 0.5115 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004674/0.3802, allocations: 2.319 MB / 0.5138 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006637/0.3809, allocations: 28.56 kB / 0.5138 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002398/0.3833, allocations: 0.8565 MB / 0.5146 GB, free: 380 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001523/0.3848, allocations: 0.506 MB / 0.5151 GB, free: 76 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001579/0.3864, allocations: 450.9 kB / 0.5156 GB, free: 15.87 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001814/0.3882, allocations: 1.327 MB / 0.5169 GB, free: 15.3 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00111/0.3893, allocations: 0.6899 MB / 0.5175 GB, free: 15.01 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001244/0.3906, allocations: 0.5807 MB / 0.5181 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001295/0.3919, allocations: 0.6885 MB / 0.5188 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001501/0.3921, allocations: 86.44 kB / 0.5188 GB, free: 14.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006357/0.3927, allocations: 270.2 kB / 0.5191 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006114/0.3933, allocations: 0.4922 MB / 0.5196 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006243/0.394, allocations: 0.5427 MB / 0.5201 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00193/0.3959, allocations: 1.323 MB / 0.5214 GB, free: 13.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3959, allocations: 0 / 0.5214 GB, free: 13.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3959, allocations: 0 / 0.5214 GB, free: 13.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.957e-05/0.396, allocations: 1.094 kB / 0.5214 GB, free: 13.43 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.002631/0.3986, allocations: 1.333 MB / 0.5227 GB, free: 12.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3987, allocations: 13.56 kB / 0.5227 GB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0013/0.4, allocations: 179.9 kB / 0.5229 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/0.4013, allocations: 0.7358 MB / 0.5236 GB, free: 12.03 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.512e-05/0.4014, allocations: 66.05 kB / 0.5237 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003081/0.4017, allocations: 126.7 kB / 0.5238 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002031/0.4037, allocations: 1.211 MB / 0.525 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.267e-05/0.4038, allocations: 7 kB / 0.525 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/0.4039, allocations: 37.64 kB / 0.525 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002702/0.4042, allocations: 62.44 kB / 0.5251 GB, free: 11.35 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001717/0.4059, allocations: 1.013 MB / 0.5261 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006192/0.4121, allocations: 4.703 MB / 0.5307 GB, free: 7.582 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.4132, allocations: 0.6825 MB / 0.5313 GB, free: 7.207 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000654/0.4139, allocations: 465.6 kB / 0.5318 GB, free: 6.977 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.703e-05/0.4139, allocations: 6.781 kB / 0.5318 GB, free: 6.977 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007782/0.4147, allocations: 0.5204 MB / 0.5323 GB, free: 6.621 MB / 398.1 MB Notification: Performance of pre-optimization done (n=71): time 2.364e-06/0.4147, allocations: 1.188 kB / 0.5323 GB, free: 6.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=75): time 0.005151/0.4199, allocations: 3.035 MB / 0.5353 GB, free: 4.723 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/0.42, allocations: 225.2 kB / 0.5355 GB, free: 4.465 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007005/0.4207, allocations: 0.5919 MB / 0.536 GB, free: 4.117 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.961e-05/0.4208, allocations: 42.3 kB / 0.5361 GB, free: 4.074 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003497/0.4212, allocations: 483 kB / 0.5365 GB, free: 3.652 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002276/0.4214, allocations: 255.8 kB / 0.5368 GB, free: 3.434 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002639/0.4217, allocations: 174.7 kB / 0.537 GB, free: 3.328 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.4218, allocations: 392.4 kB / 0.5373 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006061/0.4224, allocations: 388.2 kB / 0.5377 GB, free: 2.773 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007667/0.4232, allocations: 0.6388 MB / 0.5383 GB, free: 2.254 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.005486/0.4287, allocations: 2.227 MB / 0.5405 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.4287, allocations: 2.469 kB / 0.5405 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003368/0.4321, allocations: 1.663 MB / 0.5421 GB, free: 20 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.631e-05/0.4322, allocations: 34.8 kB / 0.5422 GB, free: 15.99 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.0006573/0.4328, allocations: 388.4 kB / 0.5425 GB, free: 15.8 MB / 414.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated