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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.001036/0.001036, allocations: 94.67 kB / 16.3 MB, free: 5.996 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.0009486/0.0009487, allocations: 182 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.835/1.835, allocations: 205.4 MB / 223.4 MB, free: 13.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1899/0.1899, allocations: 38.04 MB / 309.7 MB, free: 6.145 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005653/0.0005653, allocations: 12 kB / 376.5 MB, free: 3.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3372, allocations: 56.34 MB / 432.8 MB, free: 18.86 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.006864/0.3441, allocations: 7.848 MB / 440.7 MB, free: 10.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005153/0.3493, allocations: 2.741 MB / 443.4 MB, free: 8.227 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008584/0.3502, allocations: 59.56 kB / 443.5 MB, free: 8.168 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005915/0.3508, allocations: 258.5 kB / 443.7 MB, free: 7.914 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001281/0.3521, allocations: 494.4 kB / 444.2 MB, free: 7.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.3534, allocations: 459 kB / 444.6 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006887/0.3541, allocations: 0.6787 MB / 445.3 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001222/0.3554, allocations: 0.9982 MB / 446.3 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000556/0.3559, allocations: 414.4 kB / 446.7 MB, free: 4.859 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005512/0.3565, allocations: 470.5 kB / 447.2 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.132e-05/0.3566, allocations: 44 kB / 447.2 MB, free: 4.355 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004079/0.357, allocations: 179.7 kB / 447.4 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003174/0.3573, allocations: 423 kB / 447.8 MB, free: 3.766 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001812/0.3575, allocations: 213.1 kB / 448 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007003/0.3582, allocations: 0.9819 MB / 449 MB, free: 2.566 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.3582, allocations: 0 / 449 MB, free: 2.566 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3582, allocations: 0 / 449 MB, free: 2.566 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.667e-05/0.3582, allocations: 0 / 449 MB, free: 2.566 MB / 318.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.001901/0.3602, allocations: 1.163 MB / 450.2 MB, free: 1.344 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.3602, allocations: 12.03 kB / 450.2 MB, free: 1.332 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/0.3613, allocations: 186.6 kB / 450.4 MB, free: 1.148 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.3624, allocations: 0.6757 MB / 451 MB, free: 444 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.595e-05/0.3625, allocations: 65.98 kB / 451.1 MB, free: 376 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002342/0.3627, allocations: 123.8 kB / 451.2 MB, free: 252 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/0.3645, allocations: 1.208 MB / 452.4 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.3646, allocations: 3.938 kB / 452.4 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.336e-05/0.3647, allocations: 36 kB / 452.5 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002515/0.3649, allocations: 61.95 kB / 452.5 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001508/0.3664, allocations: 1.007 MB / 453.5 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006632/0.3731, allocations: 4.729 MB / 458.3 MB, free: 8.934 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.3744, allocations: 0.6726 MB / 458.9 MB, free: 8.242 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.113e-05/0.3745, allocations: 16.61 kB / 458.9 MB, free: 8.227 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009066/0.3754, allocations: 0.5143 MB / 459.5 MB, free: 7.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 3.587e-06/0.3754, allocations: 0 / 459.5 MB, free: 7.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=75): time 0.006264/0.3817, allocations: 3.189 MB / 462.7 MB, free: 4.371 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001503/0.3819, allocations: 230.2 kB / 462.9 MB, free: 4.098 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007302/0.3826, allocations: 0.5822 MB / 463.5 MB, free: 3.508 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.059e-05/0.3827, allocations: 45.64 kB / 463.5 MB, free: 3.457 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003899/0.3831, allocations: 478.9 kB / 464 MB, free: 2.98 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002316/0.3833, allocations: 260.4 kB / 464.2 MB, free: 2.723 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/0.3834, allocations: 16 kB / 464.2 MB, free: 2.707 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.3836, allocations: 390.7 kB / 464.6 MB, free: 2.316 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005685/0.3841, allocations: 385.8 kB / 465 MB, free: 1.938 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007669/0.3849, allocations: 0.6261 MB / 465.6 MB, free: 1.195 MB / 334.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.00436/0.3893, allocations: 1.239 MB / 466.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.3893, allocations: 0 / 466.9 MB, free: 15.95 MB / 350.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. Error: No system for the symbolic initialization was generated