Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG.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.AC3ph.Transmission.DoubleRXlineTG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|abc.i_abc.1.|abc.i_abc.2.|abc.i_abc.3.|meterF.i.1.|meterF.i.2.|meterF.i.3.|meterF.p.1.|meterF.p.2.|meterF.p.3.|meterF.v.1.|meterF.v.2.|meterF.v.3.|meterL.i.1.|meterL.i.2.|meterL.i.3.|meterL.p.1.|meterL.p.2.|meterL.p.3.|meterL.v.1.|meterL.v.2.|meterL.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG") translateModel(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|abc.i_abc.1.|abc.i_abc.2.|abc.i_abc.3.|meterF.i.1.|meterF.i.2.|meterF.i.3.|meterF.p.1.|meterF.p.2.|meterF.p.3.|meterF.v.1.|meterF.v.2.|meterF.v.3.|meterL.i.1.|meterL.i.2.|meterL.i.3.|meterL.p.1.|meterL.p.2.|meterL.p.3.|meterL.v.1.|meterL.v.2.|meterL.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007227/0.0007226, allocations: 94.77 kB / 16.65 MB, free: 6.59 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.0007685/0.0007684, allocations: 182.6 kB / 17.56 MB, free: 6.203 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.298/1.298, allocations: 223.3 MB / 241.6 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1624/0.1624, allocations: 38.08 MB / 330.8 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002707/0.0002707, allocations: 8 kB / 400.7 MB, free: 34.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.106, allocations: 59.16 MB / 459.9 MB, free: 7.059 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01594/0.122, allocations: 14.74 MB / 474.6 MB, free: 8.246 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01358/0.1356, allocations: 8.62 MB / 483.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002496/0.1381, allocations: 79.44 kB / 483.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3485/0.4867, allocations: 95.19 MB / 0.565 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003697/0.4904, allocations: 1.397 MB / 0.5663 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002429/0.4929, allocations: 0.9525 MB / 0.5673 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02019/0.5131, allocations: 17.17 MB / 0.584 GB, free: 10.31 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002905/0.516, allocations: 1.99 MB / 0.586 GB, free: 8.406 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03039/0.5465, allocations: 24.47 MB / 0.6099 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003105/0.5496, allocations: 1.889 MB / 0.6117 GB, free: 14.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004492/0.5501, allocations: 105.4 kB / 0.6118 GB, free: 14.83 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002131/0.5522, allocations: 0.9296 MB / 0.6127 GB, free: 13.94 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001227/0.5535, allocations: 1.205 MB / 0.6139 GB, free: 12.74 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001394/0.5549, allocations: 1.271 MB / 0.6151 GB, free: 11.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003755/0.5586, allocations: 3.733 MB / 0.6188 GB, free: 7.828 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.5587, allocations: 4 kB / 0.6188 GB, free: 7.824 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.5587, allocations: 0 / 0.6188 GB, free: 7.824 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.786e-05/0.5587, allocations: 0 / 0.6188 GB, free: 7.824 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 574 * Number of variables: 574 Notification: Performance of Generate backend data structure: time 0.005392/0.5641, allocations: 2.705 MB / 0.6214 GB, free: 5.051 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.5642, allocations: 8.031 kB / 0.6214 GB, free: 5.043 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00208/0.5663, allocations: 453.3 kB / 0.6219 GB, free: 4.598 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003115/0.5694, allocations: 1.8 MB / 0.6236 GB, free: 2.773 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/0.5695, allocations: 151.3 kB / 0.6238 GB, free: 2.629 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005236/0.5701, allocations: 260.9 kB / 0.624 GB, free: 2.383 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004737/0.5748, allocations: 3.19 MB / 0.6271 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.206e-05/0.5749, allocations: 13.28 kB / 0.6271 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000206/0.5751, allocations: 90.86 kB / 0.6272 GB, free: 14.96 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005684/0.5757, allocations: 218.2 kB / 0.6274 GB, free: 14.75 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00426/0.5799, allocations: 2.869 MB / 0.6302 GB, free: 11.87 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01449/0.5944, allocations: 11.63 MB / 0.6416 GB, free: 15.94 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003167/0.5976, allocations: 2.602 MB / 0.6441 GB, free: 13.22 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00215/0.5998, allocations: 1.546 MB / 0.6456 GB, free: 11.66 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.75e-05/0.5999, allocations: 33.98 kB / 0.6457 GB, free: 11.63 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002296/0.6022, allocations: 1.703 MB / 0.6473 GB, free: 9.887 MB / 478.1 MB Notification: Performance of pre-optimization done (n=247): time 3.506e-06/0.6022, allocations: 0 / 0.6473 GB, free: 9.887 MB / 478.1 MB Notification: Performance of matching and sorting (n=267): time 0.02178/0.624, allocations: 11.58 MB / 0.6587 GB, free: 14.15 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002206/0.6243, allocations: 405.9 kB / 0.659 GB, free: 13.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001966/0.6263, allocations: 1.477 MB / 0.6605 GB, free: 12.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002218/0.6265, allocations: 84.58 kB / 0.6606 GB, free: 12.09 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000867/0.6274, allocations: 1.003 MB / 0.6615 GB, free: 11.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007726/0.6281, allocations: 0.861 MB / 0.6624 GB, free: 10.24 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003422/0.6285, allocations: 267.3 kB / 0.6626 GB, free: 9.977 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.6286, allocations: 301.1 kB / 0.6629 GB, free: 9.68 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002091/0.6307, allocations: 1.326 MB / 0.6642 GB, free: 8.352 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002435/0.6332, allocations: 2.006 MB / 0.6662 GB, free: 6.086 MB / 494.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.01581/0.649, allocations: 7.019 MB / 0.673 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-05/0.649, allocations: 12 kB / 0.673 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01038/0.6594, allocations: 5.337 MB / 0.6783 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004841/0.6599, allocations: 0.6787 MB / 0.6789 GB, free: 8.363 MB / 0.4981 GB 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.002323/0.6623, allocations: 1.375 MB / 0.6803 GB, free: 6.949 MB / 0.4981 GB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated