Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.DoubleRXline.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.DoubleRXline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,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.DoubleRXline") translateModel(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,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.DoubleRXline") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 110.8 kB / 17.74 MB, free: 5.336 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.001818/0.001818, allocations: 184.5 kB / 18.67 MB, free: 4.414 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.325/1.325, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1791/0.1791, allocations: 38.04 MB / 330.6 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 63.91 kB / 458.8 MB, free: 6.863 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3321, allocations: 58.05 MB / 0.5048 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.009106/0.3413, allocations: 10.19 MB / 0.5147 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006776/0.3481, allocations: 3.715 MB / 0.5183 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001114/0.3492, allocations: 35.25 kB / 0.5184 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003343/0.3526, allocations: 1.204 MB / 0.5195 GB, free: 13.3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003421/0.356, allocations: 1.153 MB / 0.5207 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002177/0.3582, allocations: 0.7229 MB / 0.5214 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003694/0.3619, allocations: 2.433 MB / 0.5238 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001647/0.3636, allocations: 1.043 MB / 0.5248 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002221/0.3658, allocations: 1.072 MB / 0.5258 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002368/0.3682, allocations: 1.37 MB / 0.5272 GB, free: 9.914 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000425/0.3687, allocations: 170.4 kB / 0.5273 GB, free: 9.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001697/0.3704, allocations: 0.7053 MB / 0.528 GB, free: 9.754 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001271/0.3717, allocations: 0.9664 MB / 0.529 GB, free: 9.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002175/0.3739, allocations: 1.008 MB / 0.5299 GB, free: 8.824 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003917/0.3778, allocations: 2.596 MB / 0.5325 GB, free: 7.156 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3778, allocations: 0 / 0.5325 GB, free: 7.156 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3778, allocations: 0 / 0.5325 GB, free: 7.156 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.225e-05/0.3779, allocations: 4 kB / 0.5325 GB, free: 7.152 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: 448 * Number of variables: 448 Notification: Performance of Generate backend data structure: time 0.005401/0.3833, allocations: 2.32 MB / 0.5347 GB, free: 5.484 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.3834, allocations: 13.48 kB / 0.5348 GB, free: 5.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002074/0.3855, allocations: 337.8 kB / 0.5351 GB, free: 5.316 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002331/0.3878, allocations: 1.134 MB / 0.5362 GB, free: 4.512 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.388, allocations: 128.4 kB / 0.5363 GB, free: 4.449 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004882/0.3885, allocations: 187 kB / 0.5365 GB, free: 4.387 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004231/0.3927, allocations: 2.47 MB / 0.5389 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.99e-05/0.3928, allocations: 16.47 kB / 0.5389 GB, free: 2.832 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001754/0.393, allocations: 68.53 kB / 0.539 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005869/0.3935, allocations: 167.7 kB / 0.5391 GB, free: 2.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003873/0.3974, allocations: 2.163 MB / 0.5413 GB, free: 1.723 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01426/0.4117, allocations: 9.193 MB / 0.5502 GB, free: 9.465 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002909/0.4147, allocations: 2.129 MB / 0.5523 GB, free: 7.207 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00184/0.4165, allocations: 1.181 MB / 0.5535 GB, free: 6.023 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001035/0.4167, allocations: 25.36 kB / 0.5535 GB, free: 5.996 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00214/0.4188, allocations: 1.407 MB / 0.5549 GB, free: 4.555 MB / 414.1 MB Notification: Performance of pre-optimization done (n=205): time 5.891e-06/0.4188, allocations: 3.984 kB / 0.5549 GB, free: 4.551 MB / 414.1 MB Notification: Performance of matching and sorting (n=213): time 0.01261/0.4314, allocations: 6.872 MB / 0.5616 GB, free: 13.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001617/0.4316, allocations: 285.2 kB / 0.5618 GB, free: 13.24 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/0.433, allocations: 0.9237 MB / 0.5627 GB, free: 12.29 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002317/0.4332, allocations: 69.69 kB / 0.5628 GB, free: 12.22 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006311/0.4338, allocations: 0.7335 MB / 0.5635 GB, free: 11.47 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000713/0.4346, allocations: 0.6628 MB / 0.5642 GB, free: 10.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007676/0.4353, allocations: 412.6 kB / 0.5646 GB, free: 10.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.4355, allocations: 301.1 kB / 0.5649 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001581/0.4371, allocations: 0.969 MB / 0.5658 GB, free: 9.121 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002015/0.4391, allocations: 1.52 MB / 0.5673 GB, free: 7.375 MB / 430.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.0137/0.4528, allocations: 6.234 MB / 0.5734 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.886e-05/0.4528, allocations: 4 kB / 0.5734 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008607/0.4615, allocations: 4.104 MB / 0.5774 GB, free: 12.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.377e-05/0.4616, allocations: 73.67 kB / 0.5775 GB, free: 12.67 MB / 446.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.001767/0.4633, allocations: 0.9795 MB / 0.5784 GB, free: 11.69 MB / 446.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated