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.001101/0.001101, allocations: 116.5 kB / 17.7 MB, free: 5.438 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.001036/0.001036, allocations: 187 kB / 18.63 MB, free: 4.512 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.386/1.386, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1801/0.1801, allocations: 38.04 MB / 330.5 MB, free: 8.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 58.95 kB / 400.3 MB, free: 33.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1035, allocations: 58.07 MB / 458.3 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01375/0.1173, allocations: 13.33 MB / 471.7 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0127/0.13, allocations: 7.912 MB / 479.6 MB, free: 2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00135/0.1314, allocations: 47.75 kB / 479.6 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3357/0.4672, allocations: 91.21 MB / 0.5574 GB, free: 5.031 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004189/0.4714, allocations: 1.466 MB / 0.5589 GB, free: 4.031 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002311/0.4737, allocations: 1.048 MB / 0.5599 GB, free: 3.086 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01977/0.4935, allocations: 14.52 MB / 0.5741 GB, free: 5.508 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002544/0.4961, allocations: 1.596 MB / 0.5756 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03171/0.5278, allocations: 23.52 MB / 0.5986 GB, free: 13.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002733/0.5306, allocations: 1.889 MB / 0.6004 GB, free: 11.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004425/0.5311, allocations: 244 kB / 0.6007 GB, free: 11.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001745/0.5328, allocations: 1.007 MB / 0.6017 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001165/0.534, allocations: 1.339 MB / 0.603 GB, free: 8.957 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001498/0.5355, allocations: 1.432 MB / 0.6044 GB, free: 7.527 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003586/0.5391, allocations: 3.985 MB / 0.6083 GB, free: 3.637 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.5391, allocations: 0 / 0.6083 GB, free: 3.637 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.5391, allocations: 3.938 kB / 0.6083 GB, free: 3.633 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.917e-05/0.5392, allocations: 0 / 0.6083 GB, free: 3.633 MB / 430.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.005989/0.5452, allocations: 3.179 MB / 0.6114 GB, free: 404 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.26e-05/0.5453, allocations: 11.89 kB / 0.6114 GB, free: 392 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002214/0.5475, allocations: 459.3 kB / 0.6118 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003701/0.5512, allocations: 1.843 MB / 0.6136 GB, free: 14.06 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/0.5514, allocations: 158.1 kB / 0.6138 GB, free: 13.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005001/0.5519, allocations: 255.8 kB / 0.614 GB, free: 13.67 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004454/0.5563, allocations: 3.181 MB / 0.6171 GB, free: 10.35 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.68e-05/0.5564, allocations: 11.84 kB / 0.6171 GB, free: 10.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002018/0.5566, allocations: 93.84 kB / 0.6172 GB, free: 10.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005586/0.5572, allocations: 207.8 kB / 0.6174 GB, free: 10.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004269/0.5615, allocations: 2.858 MB / 0.6202 GB, free: 7.188 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01664/0.5781, allocations: 11.51 MB / 0.6315 GB, free: 11.38 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003323/0.5815, allocations: 2.594 MB / 0.634 GB, free: 8.66 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002191/0.5837, allocations: 1.544 MB / 0.6355 GB, free: 7.109 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001182/0.5838, allocations: 24.19 kB / 0.6355 GB, free: 7.09 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002213/0.5861, allocations: 1.709 MB / 0.6372 GB, free: 5.34 MB / 462.1 MB Notification: Performance of pre-optimization done (n=247): time 4.278e-06/0.5861, allocations: 0 / 0.6372 GB, free: 5.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=267): time 0.02137/0.6075, allocations: 11.51 MB / 0.6484 GB, free: 9.676 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001939/0.6077, allocations: 413.8 kB / 0.6488 GB, free: 9.188 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001864/0.6096, allocations: 1.469 MB / 0.6503 GB, free: 7.711 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000269/0.6098, allocations: 88.97 kB / 0.6503 GB, free: 7.621 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007676/0.6106, allocations: 1 MB / 0.6513 GB, free: 6.617 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007417/0.6114, allocations: 0.8525 MB / 0.6521 GB, free: 5.781 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007228/0.6121, allocations: 0.5257 MB / 0.6527 GB, free: 5.254 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.365e-05/0.6122, allocations: 301.1 kB / 0.6529 GB, free: 4.957 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001951/0.6141, allocations: 1.335 MB / 0.6542 GB, free: 3.613 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002391/0.6165, allocations: 2.006 MB / 0.6562 GB, free: 1.348 MB / 478.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.01538/0.6319, allocations: 6.978 MB / 0.663 GB, free: 10.05 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.051e-05/0.632, allocations: 4 kB / 0.663 GB, free: 10.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=402) (initialization): time 0.009897/0.6419, allocations: 5.334 MB / 0.6682 GB, free: 4.629 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.703e-05/0.642, allocations: 63.41 kB / 0.6683 GB, free: 4.555 MB / 494.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.00213/0.6441, allocations: 1.335 MB / 0.6696 GB, free: 3.195 MB / 494.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated