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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001261/0.001261, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205.1 MB / 223.1 MB, free: 8.461 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001155/0.001155, allocations: 100.7 kB / 270.5 MB, free: 8.426 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1823/0.1823, allocations: 38.01 MB / 355.8 MB, free: 2.922 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 51.91 kB / 421.9 MB, free: 37.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3652, allocations: 55.23 MB / 477.1 MB, free: 9.898 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01738/0.3827, allocations: 15.34 MB / 492.4 MB, free: 14.97 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01866/0.4014, allocations: 8.829 MB / 0.4895 GB, free: 8.793 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003999/0.4055, allocations: 87.16 kB / 0.4896 GB, free: 8.758 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1329/0.5384, allocations: 96.19 MB / 0.5835 GB, free: 14.37 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006212/0.5447, allocations: 1.393 MB / 0.5849 GB, free: 12.97 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003531/0.5482, allocations: 0.9512 MB / 0.5858 GB, free: 12.02 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.02247/0.5707, allocations: 17.23 MB / 0.6027 GB, free: 10.75 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002838/0.5736, allocations: 1.458 MB / 0.6041 GB, free: 9.254 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03412/0.6078, allocations: 24.6 MB / 0.6281 GB, free: 0.625 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004663/0.6125, allocations: 1.99 MB / 0.63 GB, free: 14.63 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005174/0.6131, allocations: 139.9 kB / 0.6302 GB, free: 14.49 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002463/0.6155, allocations: 0.9516 MB / 0.6311 GB, free: 13.54 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001367/0.6169, allocations: 1.251 MB / 0.6323 GB, free: 12.29 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001973/0.6189, allocations: 1.317 MB / 0.6336 GB, free: 10.96 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004789/0.6237, allocations: 3.816 MB / 0.6373 GB, free: 7.133 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.939e-06/0.6237, allocations: 0 / 0.6373 GB, free: 7.133 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.6238, allocations: 0 / 0.6373 GB, free: 7.133 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.521e-05/0.6239, allocations: 0 / 0.6373 GB, free: 7.133 MB / 474.7 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.006697/0.6306, allocations: 3.193 MB / 0.6405 GB, free: 3.852 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.6306, allocations: 8.031 kB / 0.6405 GB, free: 3.844 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002081/0.6327, allocations: 457.2 kB / 0.6409 GB, free: 3.395 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003979/0.6367, allocations: 1.804 MB / 0.6427 GB, free: 1.535 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001499/0.6369, allocations: 151.9 kB / 0.6428 GB, free: 1.387 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005756/0.6375, allocations: 263.7 kB / 0.6431 GB, free: 1.129 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2906/0.9281, allocations: 3.173 MB / 0.6462 GB, free: 141.8 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003228/0.9285, allocations: 7.688 kB / 0.6462 GB, free: 141.8 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001131/0.9297, allocations: 94.52 kB / 0.6463 GB, free: 141.8 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001079/0.9308, allocations: 210.8 kB / 0.6465 GB, free: 141.7 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007535/0.9383, allocations: 2.849 MB / 0.6492 GB, free: 141.7 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02021/0.9585, allocations: 11.6 MB / 0.6606 GB, free: 136.8 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004297/0.9629, allocations: 2.598 MB / 0.6631 GB, free: 135.5 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002751/0.9657, allocations: 1.543 MB / 0.6646 GB, free: 134.8 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001224/0.9659, allocations: 27.8 kB / 0.6646 GB, free: 134.8 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002398/0.9683, allocations: 1.71 MB / 0.6663 GB, free: 133.8 MB / 474.7 MB Notification: Performance of pre-optimization done (n=247): time 4.689e-06/0.9683, allocations: 0 / 0.6663 GB, free: 133.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=267): time 0.02016/0.9884, allocations: 11.5 MB / 0.6775 GB, free: 124.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001271/0.9886, allocations: 417.1 kB / 0.6779 GB, free: 124.2 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/0.9902, allocations: 1.473 MB / 0.6794 GB, free: 122.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001629/0.9904, allocations: 84.34 kB / 0.6795 GB, free: 122.6 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005814/0.991, allocations: 1.005 MB / 0.6804 GB, free: 121.6 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006147/0.9916, allocations: 0.8586 MB / 0.6813 GB, free: 120.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006331/0.9922, allocations: 0.521 MB / 0.6818 GB, free: 120.2 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 4.777e-05/0.9923, allocations: 305.1 kB / 0.6821 GB, free: 119.9 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001628/0.9939, allocations: 1.331 MB / 0.6834 GB, free: 118.6 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001888/0.9958, allocations: 2.002 MB / 0.6853 GB, free: 116.3 MB / 474.7 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.01334/1.009, allocations: 6.983 MB / 0.6922 GB, free: 109.1 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.727e-05/1.009, allocations: 4 kB / 0.6922 GB, free: 109.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=402) (initialization): time 0.008569/1.018, allocations: 5.316 MB / 0.6973 GB, free: 103.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.802e-05/1.018, allocations: 79.33 kB / 0.6974 GB, free: 103.8 MB / 474.7 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.001765/1.02, allocations: 1.361 MB / 0.6988 GB, free: 102.4 MB / 474.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated