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.0009218/0.0009218, allocations: 87.58 kB / 16.65 MB, free: 6.535 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.00111/0.001109, allocations: 176.2 kB / 17.56 MB, free: 6.18 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.602/1.602, allocations: 205.4 MB / 223.7 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.1884/0.1884, allocations: 38.06 MB / 310.1 MB, free: 5.898 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.0005554/0.0005554, allocations: 16 kB / 377.1 MB, free: 2.723 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2454, allocations: 56.33 MB / 433.5 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.006849/0.2523, allocations: 8.77 MB / 442.2 MB, free: 9.871 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004913/0.2572, allocations: 2.848 MB / 445.1 MB, free: 7.012 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/0.2584, allocations: 55.62 kB / 445.2 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008984/0.2593, allocations: 222.5 kB / 445.4 MB, free: 6.738 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001515/0.2609, allocations: 481.9 kB / 445.8 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.2623, allocations: 403.3 kB / 446.2 MB, free: 5.871 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002166/0.2645, allocations: 1.98 MB / 448.2 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001866/0.2664, allocations: 1.118 MB / 449.3 MB, free: 2.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/0.2675, allocations: 465.8 kB / 449.8 MB, free: 2.273 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001226/0.2687, allocations: 0.6735 MB / 450.5 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002213/0.269, allocations: 43.98 kB / 450.5 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007817/0.2698, allocations: 239.6 kB / 450.7 MB, free: 1.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000591/0.2704, allocations: 470.7 kB / 451.2 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009472/0.2713, allocations: 0.5068 MB / 451.7 MB, free: 352 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001797/0.2731, allocations: 1.253 MB / 453 MB, free: 15.08 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.2731, allocations: 4 kB / 453 MB, free: 15.08 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.2732, allocations: 0 / 453 MB, free: 15.08 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.714e-05/0.2732, allocations: 0 / 453 MB, free: 15.08 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.00282/0.276, allocations: 1.155 MB / 454.1 MB, free: 13.86 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.2761, allocations: 8.031 kB / 454.1 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00137/0.2775, allocations: 183.5 kB / 454.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/0.2789, allocations: 0.7077 MB / 455 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.433e-05/0.279, allocations: 70.3 kB / 455.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003404/0.2794, allocations: 120.1 kB / 455.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002016/0.2814, allocations: 1.212 MB / 456.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.967e-05/0.2814, allocations: 7.938 kB / 456.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.14e-05/0.2815, allocations: 36 kB / 456.5 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002641/0.2818, allocations: 61.97 kB / 456.5 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00174/0.2836, allocations: 1.007 MB / 457.5 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006295/0.2899, allocations: 4.722 MB / 462.2 MB, free: 5.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.291, allocations: 0.6765 MB / 462.9 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006274/0.2916, allocations: 471.1 kB / 463.4 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.23e-05/0.2917, allocations: 16.53 kB / 463.4 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007199/0.2924, allocations: 0.522 MB / 463.9 MB, free: 3.695 MB / 334.1 MB Notification: Performance of pre-optimization done (n=71): time 4.158e-06/0.2924, allocations: 4 kB / 463.9 MB, free: 3.691 MB / 334.1 MB Notification: Performance of matching and sorting (n=75): time 0.005309/0.2978, allocations: 3.038 MB / 467 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001479/0.2979, allocations: 230.1 kB / 467.2 MB, free: 300 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008808/0.2988, allocations: 0.586 MB / 467.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.487e-05/0.2989, allocations: 41.7 kB / 467.8 MB, free: 15.65 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004087/0.2993, allocations: 471 kB / 468.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002525/0.2996, allocations: 268.4 kB / 468.5 MB, free: 14.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.2997, allocations: 81.67 kB / 468.6 MB, free: 14.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.2999, allocations: 394.7 kB / 469 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000594/0.3005, allocations: 385.8 kB / 469.4 MB, free: 14.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008621/0.3014, allocations: 0.6456 MB / 470 MB, free: 13.3 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.005489/0.3069, allocations: 2.217 MB / 472.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.108e-05/0.3069, allocations: 4 kB / 472.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003268/0.3102, allocations: 1.665 MB / 473.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.255e-05/0.3102, allocations: 33.7 kB / 473.9 MB, free: 9.238 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.0006381/0.3109, allocations: 397.4 kB / 474.3 MB, free: 8.852 MB / 350.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated