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.001396/0.001396, allocations: 169.9 kB / 16.76 MB, free: 4.938 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.557/1.557, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007722/0.0007723, allocations: 82.44 kB / 271.3 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1784/0.1784, allocations: 38.08 MB / 357.6 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003381/0.0003381, allocations: 12 kB / 423.9 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2671, allocations: 56.32 MB / 480.3 MB, free: 9.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1289/0.3961, allocations: 103.8 MB / 0.5704 GB, free: 14.53 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/0.3964, allocations: 83.97 kB / 0.5705 GB, free: 14.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0742/0.4706, allocations: 27.03 MB / 0.5969 GB, free: 3.09 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.4706, allocations: 0 / 0.5969 GB, free: 3.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.736e-05/0.4707, allocations: 20 kB / 0.5969 GB, free: 3.07 MB / 426.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.002932/0.4737, allocations: 1.205 MB / 0.5981 GB, free: 1.801 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.4737, allocations: 8.031 kB / 0.5981 GB, free: 1.793 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001355/0.4751, allocations: 201.2 kB / 0.5983 GB, free: 1.598 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00211/0.4772, allocations: 1.026 MB / 0.5993 GB, free: 0.5312 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.115e-05/0.4773, allocations: 58 kB / 0.5993 GB, free: 484 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002156/0.4775, allocations: 99.81 kB / 0.5994 GB, free: 384 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/0.4793, allocations: 1.192 MB / 0.6006 GB, free: 15.11 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.167e-05/0.4793, allocations: 11.88 kB / 0.6006 GB, free: 15.1 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.627e-05/0.4794, allocations: 32 kB / 0.6006 GB, free: 15.07 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.71e-05/0.4795, allocations: 53.98 kB / 0.6007 GB, free: 15.02 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001464/0.481, allocations: 0.9756 MB / 0.6016 GB, free: 14.04 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005496/0.4865, allocations: 4.63 MB / 0.6061 GB, free: 9.223 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.4875, allocations: 0.6756 MB / 0.6068 GB, free: 8.527 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000627/0.4882, allocations: 490 kB / 0.6073 GB, free: 8.047 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.339e-05/0.4883, allocations: 20.53 kB / 0.6073 GB, free: 8.027 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007333/0.489, allocations: 0.5455 MB / 0.6078 GB, free: 7.445 MB / 442.7 MB Notification: Performance of pre-optimization done (n=75): time 2.906e-06/0.489, allocations: 0 / 0.6078 GB, free: 7.445 MB / 442.7 MB Notification: Performance of matching and sorting (n=79): time 0.004857/0.4939, allocations: 3.142 MB / 0.6109 GB, free: 4.219 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.677e-05/0.494, allocations: 226.3 kB / 0.6111 GB, free: 3.949 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006421/0.4946, allocations: 0.5781 MB / 0.6117 GB, free: 3.363 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.903e-05/0.4947, allocations: 41.7 kB / 0.6117 GB, free: 3.316 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003148/0.495, allocations: 463.1 kB / 0.6122 GB, free: 2.855 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002147/0.4953, allocations: 280.2 kB / 0.6124 GB, free: 2.578 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.233e-05/0.4953, allocations: 16 kB / 0.6124 GB, free: 2.562 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.4955, allocations: 390.7 kB / 0.6128 GB, free: 2.172 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005954/0.4961, allocations: 397.8 kB / 0.6132 GB, free: 1.785 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007202/0.4968, allocations: 0.6362 MB / 0.6138 GB, free: 1.047 MB / 442.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.009558/0.5064, allocations: 3.56 MB / 0.6173 GB, free: 13.38 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.5064, allocations: 0 / 0.6173 GB, free: 13.38 MB / 458.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003183/0.5096, allocations: 1.68 MB / 0.6189 GB, free: 11.67 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.55e-05/0.5096, allocations: 33.7 kB / 0.619 GB, free: 11.63 MB / 458.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.0006369/0.5103, allocations: 419.1 kB / 0.6194 GB, free: 11.23 MB / 458.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated