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/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.001061, allocations: 107 kB / 17.75 MB, free: 5.352 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.0009731/0.0009732, allocations: 186.5 kB / 18.68 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1703/0.1703, allocations: 38.05 MB / 330.6 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 63.89 kB / 458.8 MB, free: 6.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2864, allocations: 58.05 MB / 0.5048 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyInitial): time 0.007235/0.2937, allocations: 7.58 MB / 0.5122 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003376/0.2971, allocations: 2.316 MB / 0.5144 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003113/0.2974, allocations: 25.38 kB / 0.5145 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001953/0.2994, allocations: 0.8624 MB / 0.5153 GB, free: 340 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009057/0.3003, allocations: 0.5144 MB / 0.5158 GB, free: 28 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.3015, allocations: 455.5 kB / 0.5162 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001286/0.3028, allocations: 1.32 MB / 0.5175 GB, free: 15.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008419/0.3036, allocations: 0.6855 MB / 0.5182 GB, free: 14.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007711/0.3044, allocations: 0.5883 MB / 0.5188 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001043/0.3054, allocations: 0.6853 MB / 0.5194 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001344/0.3056, allocations: 81.88 kB / 0.5195 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000534/0.3061, allocations: 270.5 kB / 0.5198 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004756/0.3066, allocations: 0.496 MB / 0.5203 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005432/0.3072, allocations: 0.5472 MB / 0.5208 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001418/0.3086, allocations: 1.32 MB / 0.5221 GB, free: 13.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3086, allocations: 1.281 kB / 0.5221 GB, free: 13.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3086, allocations: 0 / 0.5221 GB, free: 13.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.99e-05/0.3086, allocations: 0 / 0.5221 GB, free: 13.39 MB / 398.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.002262/0.3109, allocations: 1.363 MB / 0.5234 GB, free: 12.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.311, allocations: 13.61 kB / 0.5234 GB, free: 12.45 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.3121, allocations: 192.3 kB / 0.5236 GB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.3133, allocations: 0.7449 MB / 0.5243 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.215e-05/0.3133, allocations: 60.91 kB / 0.5244 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002738/0.3136, allocations: 120 kB / 0.5245 GB, free: 11.87 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/0.3155, allocations: 1.221 MB / 0.5257 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.188e-05/0.3155, allocations: 10.14 kB / 0.5257 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.37e-05/0.3156, allocations: 38.64 kB / 0.5258 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002619/0.3159, allocations: 65.69 kB / 0.5258 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001644/0.3175, allocations: 1.007 MB / 0.5268 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005716/0.3232, allocations: 4.71 MB / 0.5314 GB, free: 7.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.3243, allocations: 0.676 MB / 0.5321 GB, free: 7.133 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006392/0.325, allocations: 469.2 kB / 0.5325 GB, free: 6.898 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.831e-05/0.3251, allocations: 10.83 kB / 0.5325 GB, free: 6.895 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007539/0.3258, allocations: 0.5214 MB / 0.533 GB, free: 6.539 MB / 398.1 MB Notification: Performance of pre-optimization done (n=71): time 4.628e-06/0.3258, allocations: 0 / 0.533 GB, free: 6.539 MB / 398.1 MB Notification: Performance of matching and sorting (n=75): time 0.004997/0.3308, allocations: 3.092 MB / 0.536 GB, free: 4.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.331, allocations: 228.1 kB / 0.5363 GB, free: 4.328 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006744/0.3316, allocations: 0.588 MB / 0.5368 GB, free: 3.984 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.788e-05/0.3317, allocations: 37.95 kB / 0.5369 GB, free: 3.945 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003564/0.3321, allocations: 492.3 kB / 0.5373 GB, free: 3.516 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002278/0.3323, allocations: 269.1 kB / 0.5376 GB, free: 3.285 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002641/0.3326, allocations: 182.9 kB / 0.5378 GB, free: 3.172 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.3328, allocations: 388.4 kB / 0.5381 GB, free: 2.805 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000598/0.3334, allocations: 384.7 kB / 0.5385 GB, free: 2.625 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007899/0.3342, allocations: 0.6378 MB / 0.5391 GB, free: 2.105 MB / 398.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.005121/0.3393, allocations: 2.22 MB / 0.5413 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.3393, allocations: 2.75 kB / 0.5413 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003157/0.3425, allocations: 1.668 MB / 0.5429 GB, free: 15.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.399e-05/0.3425, allocations: 34.55 kB / 0.543 GB, free: 15.84 MB / 414.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.0006617/0.3432, allocations: 388.5 kB / 0.5433 GB, free: 15.66 MB / 414.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated Error: Internal error SimCode DAEmode: The model PowerSystems.Examples.Introductory.SimulationSteadyInitial could not be translated