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.001342/0.001342, allocations: 109.6 kB / 17.06 MB, free: 6.023 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.001469/0.00147, allocations: 191 kB / 18 MB, free: 5.105 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.383/1.383, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1783/0.1783, allocations: 38.04 MB / 329.9 MB, free: 8.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 59.89 kB / 458.1 MB, free: 6.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.376/0.3773, allocations: 58.06 MB / 0.5041 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01382/0.3912, allocations: 13.34 MB / 0.5171 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01487/0.4061, allocations: 7.917 MB / 0.5249 GB, free: 8.848 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002224/0.4084, allocations: 50.75 kB / 0.5249 GB, free: 8.828 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1369/0.5454, allocations: 91.21 MB / 0.614 GB, free: 7.977 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004674/0.5501, allocations: 1.498 MB / 0.6154 GB, free: 6.473 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003582/0.5537, allocations: 1.048 MB / 0.6165 GB, free: 5.426 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0215/0.5752, allocations: 14.52 MB / 0.6306 GB, free: 6.883 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002598/0.5778, allocations: 1.609 MB / 0.6322 GB, free: 5.234 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03435/0.6122, allocations: 23.52 MB / 0.6552 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003626/0.6159, allocations: 1.892 MB / 0.657 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001047/0.617, allocations: 244 kB / 0.6573 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003404/0.6204, allocations: 1.01 MB / 0.6583 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002636/0.623, allocations: 1.344 MB / 0.6596 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003996/0.6271, allocations: 1.431 MB / 0.661 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006958/0.634, allocations: 3.976 MB / 0.6648 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.6341, allocations: 7.938 kB / 0.6649 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.996e-06/0.6341, allocations: 0 / 0.6649 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001677/0.6343, allocations: 0 / 0.6649 GB, free: 3.746 MB / 0.5137 GB 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.009521/0.6438, allocations: 3.181 MB / 0.668 GB, free: 488 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.6439, allocations: 15.89 kB / 0.668 GB, free: 472 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002695/0.6466, allocations: 457.2 kB / 0.6684 GB, free: 12 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004056/0.6506, allocations: 1.839 MB / 0.6702 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001577/0.6508, allocations: 171.8 kB / 0.6704 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007617/0.6516, allocations: 251.8 kB / 0.6706 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005568/0.6572, allocations: 3.18 MB / 0.6737 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.499e-05/0.6573, allocations: 15.84 kB / 0.6737 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002471/0.6575, allocations: 87.91 kB / 0.6738 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006053/0.6581, allocations: 207.8 kB / 0.674 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005436/0.6636, allocations: 2.853 MB / 0.6768 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02018/0.6838, allocations: 11.51 MB / 0.688 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003901/0.6877, allocations: 2.597 MB / 0.6906 GB, free: 8.559 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002439/0.6902, allocations: 1.526 MB / 0.6921 GB, free: 7.027 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001441/0.6904, allocations: 30.05 kB / 0.6921 GB, free: 6.996 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002758/0.6931, allocations: 1.702 MB / 0.6938 GB, free: 5.25 MB / 0.545 GB Notification: Performance of pre-optimization done (n=247): time 6.282e-06/0.6932, allocations: 0 / 0.6938 GB, free: 5.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=276): time 0.0284/0.7216, allocations: 13.97 MB / 0.7074 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000258/0.7219, allocations: 409.8 kB / 0.7078 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002129/0.724, allocations: 1.473 MB / 0.7092 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001816/0.7242, allocations: 81.7 kB / 0.7093 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008621/0.7251, allocations: 1.005 MB / 0.7103 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009009/0.726, allocations: 0.8939 MB / 0.7112 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008537/0.7269, allocations: 0.5341 MB / 0.7117 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.924e-05/0.727, allocations: 305.1 kB / 0.712 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002213/0.7292, allocations: 1.343 MB / 0.7133 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2787/1.008, allocations: 2.012 MB / 0.7153 GB, free: 187.2 MB / 0.5606 GB 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.01605/1.024, allocations: 7.239 MB / 0.7223 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.397e-05/1.024, allocations: 13.28 kB / 0.7223 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=409) (initialization): time 0.01042/1.034, allocations: 5.371 MB / 0.7276 GB, free: 182.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.109e-05/1.035, allocations: 65.5 kB / 0.7276 GB, free: 182.7 MB / 0.5606 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.002191/1.037, allocations: 1.362 MB / 0.729 GB, free: 182.2 MB / 0.5606 GB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated