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.001031/0.001031, allocations: 112.5 kB / 17.7 MB, free: 5.426 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.001037/0.001037, allocations: 183 kB / 18.62 MB, free: 4.5 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.458/1.458, allocations: 205.1 MB / 224.5 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1823/0.1823, allocations: 37.99 MB / 309.8 MB, free: 5.969 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.001358/0.001358, allocations: 63.91 kB / 376.8 MB, free: 2.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2476, allocations: 55.25 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.00629/0.2539, allocations: 7.595 MB / 439.6 MB, free: 11.88 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003167/0.2571, allocations: 2.361 MB / 442 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003628/0.2575, allocations: 27.81 kB / 442 MB, free: 9.477 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001685/0.2592, allocations: 0.8579 MB / 442.9 MB, free: 8.617 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001155/0.2604, allocations: 0.5052 MB / 443.4 MB, free: 8.109 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.2614, allocations: 451 kB / 443.8 MB, free: 7.668 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001082/0.2625, allocations: 1.317 MB / 445.1 MB, free: 6.348 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006179/0.2631, allocations: 0.6855 MB / 445.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000582/0.2637, allocations: 0.5758 MB / 446.4 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006334/0.2644, allocations: 0.6852 MB / 447.1 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.505e-05/0.2645, allocations: 91.94 kB / 447.2 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004236/0.2649, allocations: 259.7 kB / 447.4 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003113/0.2652, allocations: 0.4987 MB / 447.9 MB, free: 3.543 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004037/0.2656, allocations: 0.5365 MB / 448.4 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008259/0.2665, allocations: 1.328 MB / 449.8 MB, free: 1.672 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.2665, allocations: 0 / 449.8 MB, free: 1.672 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2665, allocations: 0 / 449.8 MB, free: 1.672 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.2665, allocations: 0 / 449.8 MB, free: 1.672 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.001785/0.2683, allocations: 1.327 MB / 451.1 MB, free: 296 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.2683, allocations: 11.89 kB / 451.1 MB, free: 284 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.2693, allocations: 191.4 kB / 451.3 MB, free: 92 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.2706, allocations: 0.7351 MB / 452 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.219e-05/0.2707, allocations: 66.36 kB / 452.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002459/0.271, allocations: 124 kB / 452.2 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/0.2726, allocations: 1.219 MB / 453.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.2726, allocations: 3.938 kB / 453.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.98e-05/0.2727, allocations: 36 kB / 453.5 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002344/0.2729, allocations: 57.97 kB / 453.5 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.2744, allocations: 1.022 MB / 454.6 MB, free: 12.72 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00537/0.2798, allocations: 4.698 MB / 459.3 MB, free: 7.824 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009524/0.2808, allocations: 0.672 MB / 459.9 MB, free: 7.133 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005886/0.2814, allocations: 459 kB / 460.4 MB, free: 6.676 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.917e-05/0.2815, allocations: 8.562 kB / 460.4 MB, free: 6.668 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007022/0.2822, allocations: 0.5376 MB / 460.9 MB, free: 6.094 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 2.024e-06/0.2822, allocations: 0 / 460.9 MB, free: 6.094 MB / 334.1 MB Notification: Performance of matching and sorting (n=75): time 0.004485/0.2867, allocations: 3.03 MB / 464 MB, free: 2.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.2868, allocations: 226.1 kB / 464.2 MB, free: 2.711 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006063/0.2874, allocations: 0.59 MB / 464.8 MB, free: 2.109 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.593e-05/0.2875, allocations: 41.7 kB / 464.8 MB, free: 2.062 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003163/0.2878, allocations: 482.9 kB / 465.3 MB, free: 1.582 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001974/0.288, allocations: 260.4 kB / 465.5 MB, free: 1.324 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002383/0.2883, allocations: 170.5 kB / 465.7 MB, free: 1.152 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.2884, allocations: 390.8 kB / 466.1 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005563/0.289, allocations: 389.8 kB / 466.5 MB, free: 388 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007813/0.2898, allocations: 0.6417 MB / 467.1 MB, free: 15.63 MB / 350.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.004926/0.2947, allocations: 2.225 MB / 469.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.441e-05/0.2947, allocations: 7.938 kB / 469.3 MB, free: 13.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003068/0.2978, allocations: 1.649 MB / 471 MB, free: 11.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.363e-05/0.2979, allocations: 37.69 kB / 471 MB, free: 11.57 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. Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005859/0.2985, allocations: 391.8 kB / 471.4 MB, free: 11.18 MB / 350.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated