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.0007521/0.0007566, allocations: 98.58 kB / 16.96 MB, free: 6.41 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.001107/0.001107, allocations: 179.8 kB / 17.84 MB, free: 5.969 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.366/1.366, allocations: 223.3 MB / 241.9 MB, free: 292 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1689/0.1689, allocations: 38.1 MB / 331.1 MB, free: 8.855 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003123/0.0003123, allocations: 9 kB / 400.7 MB, free: 34.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.12, allocations: 59.17 MB / 459.9 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.0142/0.1342, allocations: 13.81 MB / 473.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01317/0.1475, allocations: 8.013 MB / 481.7 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002036/0.1495, allocations: 79.44 kB / 481.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.368/0.5176, allocations: 92.44 MB / 0.5607 GB, free: 5.391 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00395/0.5216, allocations: 1.473 MB / 0.5622 GB, free: 4.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002295/0.5239, allocations: 0.8901 MB / 0.5631 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02027/0.5442, allocations: 15.63 MB / 0.5783 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003301/0.5475, allocations: 1.761 MB / 0.58 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03364/0.5812, allocations: 23.89 MB / 0.6034 GB, free: 11.81 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003271/0.5845, allocations: 1.853 MB / 0.6052 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004217/0.585, allocations: 104 kB / 0.6053 GB, free: 9.988 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00188/0.5868, allocations: 0.8362 MB / 0.6061 GB, free: 9.18 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001305/0.5882, allocations: 1.221 MB / 0.6073 GB, free: 7.965 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007592/0.5889, allocations: 0.4964 MB / 0.6078 GB, free: 7.461 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003155/0.5921, allocations: 2.989 MB / 0.6107 GB, free: 4.566 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.5921, allocations: 4 kB / 0.6107 GB, free: 4.562 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.5921, allocations: 0 / 0.6107 GB, free: 4.562 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.241e-05/0.5922, allocations: 0 / 0.6107 GB, free: 4.562 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.005217/0.5974, allocations: 2.729 MB / 0.6134 GB, free: 1.781 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.5975, allocations: 8.031 kB / 0.6134 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002038/0.5995, allocations: 456.3 kB / 0.6138 GB, free: 1.324 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003317/0.6028, allocations: 1.743 MB / 0.6155 GB, free: 15.56 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/0.603, allocations: 163.5 kB / 0.6157 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004951/0.6035, allocations: 254.9 kB / 0.6159 GB, free: 15.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005041/0.6086, allocations: 3.184 MB / 0.619 GB, free: 11.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.291e-05/0.6086, allocations: 7.938 kB / 0.619 GB, free: 11.83 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002118/0.6088, allocations: 94.23 kB / 0.6191 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005573/0.6094, allocations: 214.5 kB / 0.6193 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004583/0.614, allocations: 2.857 MB / 0.6221 GB, free: 8.676 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01668/0.6307, allocations: 11.63 MB / 0.6335 GB, free: 12.76 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00358/0.6343, allocations: 2.598 MB / 0.636 GB, free: 10.04 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002432/0.6368, allocations: 1.551 MB / 0.6375 GB, free: 8.48 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000213/0.637, allocations: 29.11 kB / 0.6375 GB, free: 8.457 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002382/0.6394, allocations: 1.709 MB / 0.6392 GB, free: 6.703 MB / 462.1 MB Notification: Performance of pre-optimization done (n=247): time 3.868e-06/0.6394, allocations: 0 / 0.6392 GB, free: 6.703 MB / 462.1 MB Notification: Performance of matching and sorting (n=267): time 0.02187/0.6613, allocations: 11.6 MB / 0.6505 GB, free: 10.95 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002614/0.6616, allocations: 417 kB / 0.6509 GB, free: 10.46 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001829/0.6634, allocations: 1.461 MB / 0.6524 GB, free: 8.996 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001963/0.6636, allocations: 81.69 kB / 0.6524 GB, free: 8.91 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007623/0.6644, allocations: 1.003 MB / 0.6534 GB, free: 7.906 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007188/0.6651, allocations: 0.8576 MB / 0.6543 GB, free: 7.066 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.6653, allocations: 58.66 kB / 0.6543 GB, free: 7.012 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002855/0.6656, allocations: 432.5 kB / 0.6547 GB, free: 6.582 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001986/0.6676, allocations: 1.318 MB / 0.656 GB, free: 5.262 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002391/0.67, allocations: 1.998 MB / 0.658 GB, free: 3 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.01043/0.6804, allocations: 3.935 MB / 0.6618 GB, free: 15.04 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.991e-05/0.6804, allocations: 4 kB / 0.6618 GB, free: 15.04 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. Error: No system for the symbolic initialization was generated