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.001337/0.001337, allocations: 110 kB / 17.68 MB, free: 5.332 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.001135/0.001135, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.425/1.425, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1749/0.1749, 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.001618/0.001618, allocations: 63.91 kB / 376.8 MB, free: 2.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3377, allocations: 55.26 MB / 432 MB, free: 19.49 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.00724/0.345, allocations: 7.576 MB / 439.6 MB, free: 11.89 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003728/0.3488, allocations: 2.369 MB / 442 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004199/0.3492, allocations: 23.88 kB / 442 MB, free: 9.484 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002044/0.3513, allocations: 0.8596 MB / 442.9 MB, free: 8.621 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00114/0.3524, allocations: 0.5013 MB / 443.4 MB, free: 8.117 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.3535, allocations: 451 kB / 443.8 MB, free: 7.676 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001083/0.3546, allocations: 1.324 MB / 445.1 MB, free: 6.348 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006655/0.3553, allocations: 0.6855 MB / 445.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000556/0.3559, allocations: 0.5758 MB / 446.4 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007039/0.3566, allocations: 0.6892 MB / 447.1 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.3567, allocations: 84 kB / 447.1 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005319/0.3572, allocations: 259.6 kB / 447.4 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003761/0.3576, allocations: 0.4987 MB / 447.9 MB, free: 3.547 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000453/0.3581, allocations: 0.5403 MB / 448.4 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.3591, allocations: 1.324 MB / 449.8 MB, free: 1.676 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3591, allocations: 7.938 kB / 449.8 MB, free: 1.668 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3591, allocations: 0 / 449.8 MB, free: 1.668 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.3592, allocations: 0 / 449.8 MB, free: 1.668 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.002064/0.3612, allocations: 1.329 MB / 451.1 MB, free: 292 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.3613, allocations: 11.89 kB / 451.1 MB, free: 280 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.3624, allocations: 183.4 kB / 451.3 MB, free: 96 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.3637, allocations: 0.739 MB / 452 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.718e-05/0.3638, allocations: 62.36 kB / 452.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002733/0.3641, allocations: 120 kB / 452.2 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/0.3658, allocations: 1.216 MB / 453.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.383e-05/0.3658, allocations: 11.94 kB / 453.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.3659, allocations: 35.98 kB / 453.5 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002458/0.3662, allocations: 61.97 kB / 453.5 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001538/0.3677, allocations: 1.007 MB / 454.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006111/0.3738, allocations: 4.694 MB / 459.2 MB, free: 7.844 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.3749, allocations: 0.676 MB / 459.9 MB, free: 7.148 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005998/0.3755, allocations: 470.9 kB / 460.4 MB, free: 6.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.501e-05/0.3756, allocations: 20.48 kB / 460.4 MB, free: 6.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007081/0.3763, allocations: 0.5104 MB / 460.9 MB, free: 6.113 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 2.424e-06/0.3763, allocations: 4 kB / 460.9 MB, free: 6.109 MB / 334.1 MB Notification: Performance of matching and sorting (n=75): time 0.004867/0.3812, allocations: 3.038 MB / 463.9 MB, free: 2.988 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.3813, allocations: 226.1 kB / 464.2 MB, free: 2.719 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006579/0.382, allocations: 0.5861 MB / 464.7 MB, free: 2.121 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.52e-05/0.3821, allocations: 45.62 kB / 464.8 MB, free: 2.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003324/0.3824, allocations: 478.9 kB / 465.3 MB, free: 1.594 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002075/0.3826, allocations: 264.3 kB / 465.5 MB, free: 1.332 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00025/0.3829, allocations: 182.5 kB / 465.7 MB, free: 1.148 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.3831, allocations: 390.8 kB / 466.1 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005511/0.3836, allocations: 381.8 kB / 466.5 MB, free: 392 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007985/0.3844, 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.004835/0.3893, allocations: 2.217 MB / 469.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.3893, allocations: 4 kB / 469.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003002/0.3923, allocations: 1.657 MB / 471 MB, free: 11.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.695e-05/0.3924, allocations: 41.7 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.0005883/0.3929, allocations: 391.8 kB / 471.4 MB, free: 11.19 MB / 350.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated