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.001037/0.001037, allocations: 91.8 kB / 17.31 MB, free: 6.535 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.001284/0.001284, allocations: 175.3 kB / 18.21 MB, free: 5.68 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.472/1.472, allocations: 223.3 MB / 242.2 MB, free: 14.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2408/0.2408, allocations: 38.09 MB / 331.5 MB, free: 8.539 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003234/0.0003232, allocations: 8 kB / 401.4 MB, free: 34.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1228, allocations: 59.16 MB / 460.5 MB, free: 7.059 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01506/0.1379, allocations: 14.75 MB / 475.3 MB, free: 8.242 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01395/0.1519, allocations: 8.616 MB / 483.9 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001853/0.1538, allocations: 83.38 kB / 484 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3822/0.536, allocations: 95.2 MB / 0.5656 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004616/0.5407, allocations: 1.39 MB / 0.567 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002902/0.5436, allocations: 0.9499 MB / 0.5679 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02216/0.5658, allocations: 17.18 MB / 0.5847 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003417/0.5693, allocations: 1.987 MB / 0.5866 GB, free: 8.488 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03265/0.6019, allocations: 24.47 MB / 0.6105 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00345/0.6054, allocations: 1.895 MB / 0.6123 GB, free: 15.01 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005238/0.606, allocations: 108 kB / 0.6124 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002334/0.6083, allocations: 0.9214 MB / 0.6133 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001583/0.6099, allocations: 1.198 MB / 0.6145 GB, free: 12.83 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001731/0.6117, allocations: 1.274 MB / 0.6158 GB, free: 11.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003334/0.615, allocations: 3.001 MB / 0.6187 GB, free: 8.645 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.615, allocations: 4 kB / 0.6187 GB, free: 8.641 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.6151, allocations: 0 / 0.6187 GB, free: 8.641 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.804e-05/0.6151, allocations: 0 / 0.6187 GB, free: 8.641 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.00618/0.6213, allocations: 2.7 MB / 0.6213 GB, free: 5.871 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.6214, allocations: 8.031 kB / 0.6213 GB, free: 5.863 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002533/0.6239, allocations: 466.7 kB / 0.6218 GB, free: 5.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003651/0.6276, allocations: 1.789 MB / 0.6235 GB, free: 3.594 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001493/0.6278, allocations: 162.9 kB / 0.6237 GB, free: 3.441 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000591/0.6284, allocations: 258.8 kB / 0.6239 GB, free: 3.195 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005472/0.6338, allocations: 3.19 MB / 0.627 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.373e-05/0.6339, allocations: 11.92 kB / 0.6271 GB, free: 15.85 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002243/0.6342, allocations: 79.83 kB / 0.6271 GB, free: 15.78 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006345/0.6348, allocations: 214.5 kB / 0.6273 GB, free: 15.57 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004815/0.6396, allocations: 2.875 MB / 0.6301 GB, free: 12.69 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01755/0.6572, allocations: 11.63 MB / 0.6415 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003691/0.6609, allocations: 2.606 MB / 0.644 GB, free: 14.03 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002426/0.6634, allocations: 1.541 MB / 0.6456 GB, free: 12.48 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.6635, allocations: 25.52 kB / 0.6456 GB, free: 12.46 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002538/0.6661, allocations: 1.718 MB / 0.6473 GB, free: 10.7 MB / 478.1 MB Notification: Performance of pre-optimization done (n=247): time 3.948e-06/0.6661, allocations: 4 kB / 0.6473 GB, free: 10.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=267): time 0.02274/0.6888, allocations: 11.57 MB / 0.6586 GB, free: 14.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002206/0.6891, allocations: 413.6 kB / 0.659 GB, free: 14.48 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001968/0.6911, allocations: 1.469 MB / 0.6604 GB, free: 13 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002247/0.6913, allocations: 77.7 kB / 0.6605 GB, free: 12.92 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008226/0.6921, allocations: 1.009 MB / 0.6614 GB, free: 11.91 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008108/0.6929, allocations: 0.8509 MB / 0.6623 GB, free: 11.07 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003414/0.6933, allocations: 268.2 kB / 0.6625 GB, free: 10.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.6934, allocations: 305.1 kB / 0.6628 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002083/0.6955, allocations: 1.329 MB / 0.6641 GB, free: 9.172 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002654/0.6982, allocations: 2.006 MB / 0.6661 GB, free: 6.906 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.0171/0.7153, allocations: 7.017 MB / 0.6729 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.53e-05/0.7153, allocations: 4 kB / 0.6729 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01115/0.7265, allocations: 5.336 MB / 0.6782 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006044/0.7272, allocations: 0.6864 MB / 0.6788 GB, free: 9.184 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.002468/0.7296, allocations: 1.386 MB / 0.6802 GB, free: 7.762 MB / 0.4981 GB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated