Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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="mat",numberOfIntervals=2000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.SimulationSteadyInitial") translateModel(PowerSystems.Examples.Introductory.SimulationSteadyInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_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.001215/0.001215, allocations: 186.5 kB / 17.27 MB, free: 4.504 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.589/1.589, allocations: 205.1 MB / 223.1 MB, free: 8.457 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.0009821/0.0009822, allocations: 96.36 kB / 270.5 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1779/0.1779, allocations: 38 MB / 355.8 MB, free: 2.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 51.92 kB / 421.9 MB, free: 37.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.4009, allocations: 55.24 MB / 477.1 MB, free: 9.906 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.01085/0.4118, allocations: 9.239 MB / 486.3 MB, free: 3.316 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006041/0.4179, allocations: 2.896 MB / 489.2 MB, free: 1.273 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001614/0.4196, allocations: 60.75 kB / 489.3 MB, free: 1.25 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002297/0.4219, allocations: 0.7967 MB / 490.1 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001893/0.4238, allocations: 481.6 kB / 490.6 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00167/0.4255, allocations: 412.5 kB / 491 MB, free: 316 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003405/0.4289, allocations: 1.98 MB / 492.9 MB, free: 15.69 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001578/0.4305, allocations: 0.6769 MB / 493.6 MB, free: 15.41 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001388/0.4319, allocations: 0.5023 MB / 494.1 MB, free: 15.2 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001464/0.4334, allocations: 0.7275 MB / 494.8 MB, free: 14.95 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001532/0.4336, allocations: 56.44 kB / 494.9 MB, free: 14.95 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008427/0.4344, allocations: 254 kB / 495.1 MB, free: 14.88 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007909/0.4352, allocations: 486.1 kB / 495.6 MB, free: 14.74 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007891/0.436, allocations: 0.5118 MB / 496.1 MB, free: 14.45 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002567/0.4386, allocations: 1.284 MB / 497.4 MB, free: 13.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.093e-05/0.4386, allocations: 1.5 kB / 497.4 MB, free: 13.89 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.955e-06/0.4386, allocations: 0 / 497.4 MB, free: 13.89 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.56e-05/0.4387, allocations: 4 kB / 497.4 MB, free: 13.88 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.003486/0.4422, allocations: 1.333 MB / 498.8 MB, free: 12.85 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.182e-05/0.4423, allocations: 13.8 kB / 498.8 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001328/0.4436, allocations: 186.7 kB / 498.9 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001673/0.4453, allocations: 0.6996 MB / 499.6 MB, free: 12.22 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.625e-05/0.4454, allocations: 64.59 kB / 499.7 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003327/0.4457, allocations: 123.8 kB / 499.8 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002314/0.448, allocations: 1.22 MB / 0.4893 GB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.681e-05/0.4481, allocations: 3.906 kB / 0.4893 GB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/0.4482, allocations: 41.11 kB / 0.4894 GB, free: 11.31 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002953/0.4485, allocations: 60.12 kB / 0.4894 GB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002032/0.4505, allocations: 1.018 MB / 0.4904 GB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008272/0.4588, allocations: 4.716 MB / 0.495 GB, free: 6.973 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.4603, allocations: 0.6727 MB / 0.4957 GB, free: 6.605 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008434/0.4611, allocations: 462.2 kB / 0.4961 GB, free: 6.375 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.32e-05/0.4612, allocations: 11.42 kB / 0.4961 GB, free: 6.371 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001069/0.4623, allocations: 0.528 MB / 0.4966 GB, free: 6.004 MB / 330.7 MB Notification: Performance of pre-optimization done (n=71): time 4.057e-06/0.4623, allocations: 0 / 0.4966 GB, free: 6.004 MB / 330.7 MB Notification: Performance of matching and sorting (n=75): time 0.005812/0.4681, allocations: 3.043 MB / 0.4996 GB, free: 3.934 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.4683, allocations: 222.1 kB / 0.4998 GB, free: 3.668 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007606/0.4691, allocations: 0.59 MB / 0.5004 GB, free: 3.07 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.326e-05/0.4691, allocations: 41.7 kB / 0.5004 GB, free: 3.023 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004438/0.4696, allocations: 482.9 kB / 0.5009 GB, free: 2.543 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002542/0.4698, allocations: 256.4 kB / 0.5011 GB, free: 2.289 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002604/0.4701, allocations: 170.5 kB / 0.5013 GB, free: 2.117 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.4703, allocations: 390.8 kB / 0.5017 GB, free: 1.727 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006148/0.4709, allocations: 385.8 kB / 0.502 GB, free: 1.348 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007751/0.4717, allocations: 0.6456 MB / 0.5027 GB, free: 0.5898 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.005034/0.4768, allocations: 2.229 MB / 0.5048 GB, free: 14.25 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.4768, allocations: 0 / 0.5048 GB, free: 14.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003127/0.4799, allocations: 1.653 MB / 0.5065 GB, free: 12.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.563e-05/0.48, allocations: 37.69 kB / 0.5065 GB, free: 12.52 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.0006359/0.4806, allocations: 405.4 kB / 0.5069 GB, free: 12.13 MB / 346.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated