Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationSteadyInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.SimulationSteadyInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationSteadyInitial") translateModel(PowerSystems.Examples.Introductory.SimulationSteadyInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationSteadyInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009132/0.0009132, allocations: 174.9 kB / 16.07 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.185/1.185, allocations: 205.4 MB / 222.2 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000713/0.000713, allocations: 84.8 kB / 270.6 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.165/0.165, allocations: 38.08 MB / 356.9 MB, free: 1.727 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003145/0.0003146, allocations: 19.98 kB / 423.3 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2161, allocations: 56.32 MB / 479.6 MB, free: 9.223 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.007018/0.2232, allocations: 8.284 MB / 487.9 MB, free: 3.555 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004328/0.2275, allocations: 2.726 MB / 490.6 MB, free: 1.617 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009593/0.2285, allocations: 54.78 kB / 490.7 MB, free: 1.594 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008451/0.2294, allocations: 260.4 kB / 490.9 MB, free: 1.461 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001655/0.231, allocations: 0.5885 MB / 491.5 MB, free: 1.133 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.2325, allocations: 482.2 kB / 492 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00185/0.2343, allocations: 1.561 MB / 493.6 MB, free: 372 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001777/0.2361, allocations: 1.101 MB / 494.7 MB, free: 15.76 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001006/0.2372, allocations: 480.1 kB / 495.1 MB, free: 15.57 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001233/0.2384, allocations: 0.6729 MB / 495.8 MB, free: 15.36 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000208/0.2386, allocations: 40.75 kB / 495.8 MB, free: 15.36 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007565/0.2394, allocations: 223.9 kB / 496.1 MB, free: 15.3 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006474/0.2401, allocations: 477.4 kB / 496.5 MB, free: 15.18 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009372/0.241, allocations: 498.2 kB / 497 MB, free: 14.9 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001344/0.2424, allocations: 0.9815 MB / 498 MB, free: 14.68 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.2424, allocations: 1.703 kB / 498 MB, free: 14.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2424, allocations: 0 / 498 MB, free: 14.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.587e-05/0.2424, allocations: 0 / 498 MB, free: 14.68 MB / 330.7 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.002629/0.2451, allocations: 1.149 MB / 499.1 MB, free: 13.81 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.2451, allocations: 9.094 kB / 499.2 MB, free: 13.81 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/0.2463, allocations: 186.5 kB / 499.3 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.2477, allocations: 0.7087 MB / 0.4883 GB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.444e-05/0.2478, allocations: 68.83 kB / 0.4884 GB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002996/0.2481, allocations: 114.7 kB / 0.4885 GB, free: 13.1 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002041/0.2501, allocations: 1.211 MB / 0.4897 GB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.566e-05/0.2502, allocations: 6.906 kB / 0.4897 GB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.697e-05/0.2503, allocations: 37.89 kB / 0.4897 GB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002575/0.2505, allocations: 64.58 kB / 0.4898 GB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00172/0.2523, allocations: 1 MB / 0.4908 GB, free: 11.78 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006154/0.2584, allocations: 4.725 MB / 0.4954 GB, free: 7.941 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.2596, allocations: 0.6688 MB / 0.496 GB, free: 7.574 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006693/0.2603, allocations: 466.8 kB / 0.4965 GB, free: 7.336 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.899e-05/0.2603, allocations: 11.95 kB / 0.4965 GB, free: 7.332 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007939/0.2611, allocations: 0.5224 MB / 0.497 GB, free: 6.969 MB / 330.7 MB Notification: Performance of pre-optimization done (n=71): time 3.486e-06/0.2612, allocations: 0 / 0.497 GB, free: 6.969 MB / 330.7 MB Notification: Performance of matching and sorting (n=75): time 0.005098/0.2663, allocations: 3.028 MB / 0.5 GB, free: 5.078 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.2664, allocations: 228.9 kB / 0.5002 GB, free: 4.816 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007357/0.2671, allocations: 0.587 MB / 0.5007 GB, free: 4.469 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.72e-05/0.2672, allocations: 42.73 kB / 0.5008 GB, free: 4.426 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003573/0.2676, allocations: 478 kB / 0.5012 GB, free: 4.008 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002419/0.2678, allocations: 264.1 kB / 0.5015 GB, free: 3.781 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-05/0.2679, allocations: 19.78 kB / 0.5015 GB, free: 3.766 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.2681, allocations: 392.5 kB / 0.5019 GB, free: 3.395 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006073/0.2687, allocations: 384 kB / 0.5023 GB, free: 3.086 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007625/0.2694, allocations: 0.6378 MB / 0.5029 GB, free: 2.336 MB / 330.7 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.004988/0.2744, allocations: 2.217 MB / 0.505 GB, free: 8 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.2745, allocations: 4 kB / 0.505 GB, free: 4 kB / 330.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003087/0.2776, allocations: 1.634 MB / 0.5066 GB, free: 14.34 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.429e-05/0.2776, allocations: 33.7 kB / 0.5067 GB, free: 14.3 MB / 346.7 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.0006263/0.2782, allocations: 393.4 kB / 0.507 GB, free: 13.92 MB / 346.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated