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.0007733/0.0007734, allocations: 93.41 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.0007905/0.0007905, allocations: 175.5 kB / 18.21 MB, free: 5.684 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.478/1.478, allocations: 223.2 MB / 242.2 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.18/0.18, allocations: 38.08 MB / 331.4 MB, free: 8.516 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003774/0.0003774, allocations: 13.22 kB / 401.4 MB, free: 34.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1515, allocations: 59.17 MB / 460.5 MB, free: 7.031 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXline): time 0.01358/0.1652, allocations: 11.08 MB / 471.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00979/0.1751, allocations: 4.164 MB / 475.8 MB, free: 7.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001902/0.177, allocations: 55.62 kB / 475.8 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001353/0.1784, allocations: 337.9 kB / 476.2 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003866/0.1823, allocations: 1.063 MB / 477.2 MB, free: 6.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002467/0.1848, allocations: 0.6552 MB / 477.9 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005777/0.1906, allocations: 3.79 MB / 481.7 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003298/0.1939, allocations: 1.503 MB / 483.2 MB, free: 268 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002257/0.1962, allocations: 0.84 MB / 484 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00237/0.1985, allocations: 1.371 MB / 485.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002312/0.1988, allocations: 80 kB / 485.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001621/0.2004, allocations: 0.6785 MB / 486.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001208/0.2016, allocations: 0.8727 MB / 487 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001245/0.2029, allocations: 0.9187 MB / 487.9 MB, free: 11.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002257/0.2052, allocations: 1.917 MB / 489.8 MB, free: 9.559 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2052, allocations: 0 / 489.8 MB, free: 9.559 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.647e-06/0.2052, allocations: 0 / 489.8 MB, free: 9.559 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.211e-05/0.2052, allocations: 0 / 489.8 MB, free: 9.559 MB / 366.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.00442/0.2097, allocations: 1.998 MB / 491.8 MB, free: 7.477 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.2097, allocations: 8.031 kB / 491.8 MB, free: 7.469 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001995/0.2117, allocations: 338.3 kB / 492.2 MB, free: 7.137 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002181/0.2139, allocations: 1.079 MB / 493.3 MB, free: 6.012 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/0.2141, allocations: 131.1 kB / 493.4 MB, free: 5.883 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006072/0.2147, allocations: 195.8 kB / 493.6 MB, free: 5.691 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004611/0.2193, allocations: 2.465 MB / 496 MB, free: 3.098 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.289e-05/0.2194, allocations: 7.938 kB / 496.1 MB, free: 3.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001885/0.2196, allocations: 67.97 kB / 496.1 MB, free: 3.023 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005101/0.2201, allocations: 162.8 kB / 496.3 MB, free: 2.863 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004004/0.2241, allocations: 2.166 MB / 498.4 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01472/0.2389, allocations: 9.284 MB / 0.4958 GB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002976/0.2419, allocations: 2.125 MB / 0.4979 GB, free: 4.824 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001837/0.2438, allocations: 1.189 MB / 0.4991 GB, free: 3.633 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001104/0.2439, allocations: 25.36 kB / 0.4991 GB, free: 3.605 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002128/0.246, allocations: 1.407 MB / 0.5005 GB, free: 2.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=205): time 3.587e-06/0.246, allocations: 0 / 0.5005 GB, free: 2.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=213): time 0.2601/0.5062, allocations: 6.867 MB / 0.5072 GB, free: 54.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001651/0.5064, allocations: 280.1 kB / 0.5074 GB, free: 54.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001363/0.5078, allocations: 0.9283 MB / 0.5083 GB, free: 53.67 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001787/0.5079, allocations: 73.23 kB / 0.5084 GB, free: 53.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005341/0.5085, allocations: 0.7305 MB / 0.5091 GB, free: 53.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005452/0.509, allocations: 0.6607 MB / 0.5098 GB, free: 52.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002696/0.5093, allocations: 202.9 kB / 0.51 GB, free: 52.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.285e-05/0.5094, allocations: 306.6 kB / 0.5103 GB, free: 52.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001584/0.511, allocations: 0.9655 MB / 0.5112 GB, free: 51.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001822/0.5128, allocations: 1.523 MB / 0.5127 GB, free: 50.88 MB / 382.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.01468/0.5275, allocations: 6.227 MB / 0.5188 GB, free: 48.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.482e-05/0.5275, allocations: 4.938 kB / 0.5188 GB, free: 48.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.008012/0.5356, allocations: 4.111 MB / 0.5228 GB, free: 46.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.263e-05/0.5357, allocations: 71.72 kB / 0.5229 GB, free: 46.82 MB / 382.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.001885/0.5376, allocations: 0.9958 MB / 0.5238 GB, free: 46.41 MB / 382.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated