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.001844/0.001844, allocations: 110.1 kB / 17.29 MB, free: 6.059 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.002279/0.002279, allocations: 197.3 kB / 18.21 MB, free: 5.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.532/2.532, allocations: 222.9 MB / 241.9 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.4323/0.4323, allocations: 38.02 MB / 330 MB, free: 8.965 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002029, allocations: 62.28 kB / 398.9 MB, free: 34.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1996, allocations: 58.06 MB / 457 MB, free: 8.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.0214/0.2211, allocations: 9.226 MB / 466.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01481/0.236, allocations: 2.816 MB / 469 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002316/0.2384, allocations: 63.56 kB / 469.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008371/0.2468, allocations: 0.8089 MB / 469.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002754/0.2496, allocations: 485.9 kB / 470.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002452/0.2521, allocations: 411.3 kB / 470.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0033/0.2555, allocations: 1.313 MB / 472.1 MB, free: 9.246 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002147/0.2577, allocations: 0.7401 MB / 472.8 MB, free: 8.496 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002046/0.2597, allocations: 0.5719 MB / 473.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002131/0.2619, allocations: 0.7398 MB / 474.1 MB, free: 7.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005/0.2624, allocations: 80 kB / 474.2 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/0.2639, allocations: 267.6 kB / 474.5 MB, free: 6.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00114/0.2651, allocations: 0.5065 MB / 475 MB, free: 6.332 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005941/0.2711, allocations: 0.5326 MB / 475.5 MB, free: 5.797 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002553/0.2737, allocations: 1.017 MB / 476.5 MB, free: 4.777 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.2737, allocations: 0 / 476.5 MB, free: 4.777 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.2737, allocations: 0 / 476.5 MB, free: 4.777 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.62e-05/0.2738, allocations: 4 kB / 476.5 MB, free: 4.773 MB / 350.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.005224/0.2791, allocations: 1.331 MB / 477.9 MB, free: 3.383 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.012e-05/0.2792, allocations: 15.89 kB / 477.9 MB, free: 3.367 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002139/0.2813, allocations: 179.4 kB / 478.1 MB, free: 3.191 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002902/0.2843, allocations: 0.6999 MB / 478.8 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000142/0.2844, allocations: 70.36 kB / 478.8 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007485/0.2852, allocations: 123.9 kB / 479 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00453/0.2898, allocations: 1.22 MB / 480.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-05/0.2899, allocations: 7.938 kB / 480.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002491/0.2902, allocations: 36 kB / 480.2 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005577/0.2948, allocations: 61.97 kB / 480.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003912/0.2987, allocations: 1.011 MB / 481.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01091/0.3097, allocations: 4.714 MB / 486 MB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002162/0.3119, allocations: 0.6786 MB / 486.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001161/0.3131, allocations: 459.2 kB / 487.1 MB, free: 9.793 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.555e-05/0.3133, allocations: 12.56 kB / 487.1 MB, free: 9.781 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005739/0.319, allocations: 0.5259 MB / 487.7 MB, free: 9.219 MB / 366.1 MB Notification: Performance of pre-optimization done (n=71): time 1.156e-05/0.3191, allocations: 4 kB / 487.7 MB, free: 9.215 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.009445/0.3286, allocations: 3.042 MB / 490.7 MB, free: 6.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001905/0.3288, allocations: 222.1 kB / 490.9 MB, free: 5.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/0.3303, allocations: 0.59 MB / 491.5 MB, free: 5.219 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001266/0.3304, allocations: 37.7 kB / 491.6 MB, free: 5.176 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006659/0.3311, allocations: 478.9 kB / 492 MB, free: 4.699 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004692/0.3316, allocations: 260.4 kB / 492.3 MB, free: 4.441 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004948/0.3321, allocations: 174.5 kB / 492.4 MB, free: 4.266 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002729/0.3324, allocations: 394.8 kB / 492.8 MB, free: 3.871 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009884/0.3334, allocations: 381.8 kB / 493.2 MB, free: 3.496 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001304/0.3347, allocations: 0.6379 MB / 493.8 MB, free: 2.75 MB / 366.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.01243/0.3472, allocations: 2.236 MB / 496.1 MB, free: 408 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.291e-05/0.3473, allocations: 4 kB / 496.1 MB, free: 404 kB / 366.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.005939/0.3532, allocations: 1.654 MB / 497.7 MB, free: 14.72 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001032/0.3534, allocations: 41.69 kB / 497.8 MB, free: 14.67 MB / 382.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.001093/0.3545, allocations: 401.4 kB / 498.2 MB, free: 14.28 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated