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.0009474/0.0009473, allocations: 91.66 kB / 17.31 MB, free: 5.59 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.00115/0.001151, allocations: 179.5 kB / 18.21 MB, free: 5.191 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.8/1.8, allocations: 205.4 MB / 224.4 MB, free: 13.05 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1711/0.1711, allocations: 38.05 MB / 310.7 MB, free: 5.902 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.0005264/0.0005264, allocations: 12 kB / 377.8 MB, free: 2.719 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.32, allocations: 56.33 MB / 434.1 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.007718/0.3278, allocations: 8.769 MB / 442.9 MB, free: 9.871 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005176/0.333, allocations: 2.844 MB / 445.8 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006845/0.3337, allocations: 59.56 kB / 445.8 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006283/0.3343, allocations: 214.6 kB / 446 MB, free: 6.746 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009929/0.3353, allocations: 485.9 kB / 446.5 MB, free: 6.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009681/0.3363, allocations: 403.3 kB / 446.9 MB, free: 5.875 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001322/0.3377, allocations: 1.98 MB / 448.9 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001397/0.3391, allocations: 1.111 MB / 450 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000534/0.3396, allocations: 465.7 kB / 450.4 MB, free: 2.285 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007504/0.3404, allocations: 0.6774 MB / 451.1 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.889e-05/0.3405, allocations: 40 kB / 451.1 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004408/0.3409, allocations: 243.6 kB / 451.4 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003462/0.3413, allocations: 470.7 kB / 451.8 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003975/0.3417, allocations: 0.503 MB / 452.3 MB, free: 364 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009255/0.3426, allocations: 0.9819 MB / 453.3 MB, free: 15.37 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3426, allocations: 4 kB / 453.3 MB, free: 15.37 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.3426, allocations: 0 / 453.3 MB, free: 15.37 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.3427, allocations: 0 / 453.3 MB, free: 15.37 MB / 334.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.002222/0.3449, allocations: 1.152 MB / 454.5 MB, free: 14.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.3449, allocations: 8.031 kB / 454.5 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/0.3461, allocations: 191.5 kB / 454.7 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.3472, allocations: 0.7037 MB / 455.4 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.028e-05/0.3473, allocations: 66.38 kB / 455.4 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002793/0.3476, allocations: 120 kB / 455.6 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/0.3494, allocations: 1.216 MB / 456.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.63e-05/0.3494, allocations: 0 / 456.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.685e-05/0.3496, allocations: 43.98 kB / 456.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002592/0.3498, allocations: 65.95 kB / 456.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001539/0.3514, allocations: 1.007 MB / 457.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00583/0.3572, allocations: 4.71 MB / 462.6 MB, free: 5.727 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.3584, allocations: 0.6842 MB / 463.3 MB, free: 5.023 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006685/0.3591, allocations: 475.2 kB / 463.8 MB, free: 4.551 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.449e-05/0.3592, allocations: 8.562 kB / 463.8 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008051/0.36, allocations: 0.5295 MB / 464.3 MB, free: 3.984 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 2.194e-06/0.36, allocations: 0 / 464.3 MB, free: 3.984 MB / 334.1 MB Notification: Performance of matching and sorting (n=75): time 0.004977/0.365, allocations: 3.042 MB / 467.3 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002071/0.3652, allocations: 230 kB / 467.6 MB, free: 0.582 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007036/0.3659, allocations: 0.59 MB / 468.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.326e-05/0.366, allocations: 41.7 kB / 468.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003465/0.3663, allocations: 478.9 kB / 468.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002326/0.3666, allocations: 260.4 kB / 468.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.3667, allocations: 85.66 kB / 469 MB, free: 15.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.3669, allocations: 390.8 kB / 469.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006015/0.3675, allocations: 385.8 kB / 469.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008257/0.3683, allocations: 0.6417 MB / 470.4 MB, free: 13.59 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.005486/0.3738, allocations: 2.221 MB / 472.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.3739, allocations: 0 / 472.6 MB, free: 11.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003438/0.3773, allocations: 1.661 MB / 474.3 MB, free: 9.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.575e-05/0.3774, allocations: 37.7 kB / 474.3 MB, free: 9.527 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.000685/0.3781, allocations: 401.4 kB / 474.7 MB, free: 9.137 MB / 350.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated