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.001046/0.001046, allocations: 105.7 kB / 17.16 MB, free: 6.082 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.0009303/0.0009304, allocations: 198.9 kB / 18.08 MB, free: 5.285 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.337/1.337, allocations: 222.9 MB / 241.7 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1658/0.1658, allocations: 38.04 MB / 329.9 MB, free: 8.984 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001064/0.001064, allocations: 58.31 kB / 398.7 MB, free: 34.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1209, allocations: 58.05 MB / 456.8 MB, free: 8.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.0154/0.1364, allocations: 15.33 MB / 472.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01404/0.1505, allocations: 8.771 MB / 480.9 MB, free: 340 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002248/0.1527, allocations: 87.44 kB / 481 MB, free: 252 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3808/0.5336, allocations: 96.2 MB / 0.5637 GB, free: 12.74 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003998/0.5377, allocations: 1.393 MB / 0.565 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002389/0.5401, allocations: 0.951 MB / 0.5659 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02104/0.5611, allocations: 17.18 MB / 0.5827 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002343/0.5635, allocations: 1.469 MB / 0.5842 GB, free: 9.227 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03136/0.5949, allocations: 24.59 MB / 0.6082 GB, free: 1.383 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002804/0.5978, allocations: 1.984 MB / 0.6101 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004116/0.5982, allocations: 136 kB / 0.6102 GB, free: 15.4 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00181/0.6, allocations: 0.9568 MB / 0.6112 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001112/0.6011, allocations: 1.247 MB / 0.6124 GB, free: 13.24 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001461/0.6026, allocations: 1.318 MB / 0.6137 GB, free: 11.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002713/0.6053, allocations: 3.052 MB / 0.6167 GB, free: 8.965 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.6053, allocations: 4 kB / 0.6167 GB, free: 8.961 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.6053, allocations: 0 / 0.6167 GB, free: 8.961 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.48e-05/0.6054, allocations: 0 / 0.6167 GB, free: 8.961 MB / 446.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.005957/0.6114, allocations: 3.183 MB / 0.6198 GB, free: 5.723 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.6114, allocations: 8.031 kB / 0.6198 GB, free: 5.715 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002161/0.6136, allocations: 455.2 kB / 0.6202 GB, free: 5.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003142/0.6167, allocations: 1.79 MB / 0.622 GB, free: 3.453 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/0.6169, allocations: 161.7 kB / 0.6221 GB, free: 3.301 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005566/0.6175, allocations: 257.7 kB / 0.6224 GB, free: 3.059 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004787/0.6223, allocations: 3.186 MB / 0.6255 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.525e-05/0.6223, allocations: 7.938 kB / 0.6255 GB, free: 15.72 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002016/0.6225, allocations: 85.84 kB / 0.6256 GB, free: 15.64 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000567/0.6231, allocations: 215.2 kB / 0.6258 GB, free: 15.44 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004317/0.6274, allocations: 2.86 MB / 0.6286 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01548/0.6429, allocations: 11.59 MB / 0.6399 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003343/0.6463, allocations: 2.598 MB / 0.6424 GB, free: 13.96 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002188/0.6485, allocations: 1.541 MB / 0.6439 GB, free: 12.41 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.6487, allocations: 32.5 kB / 0.6439 GB, free: 12.38 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002297/0.651, allocations: 1.705 MB / 0.6456 GB, free: 10.64 MB / 478.1 MB Notification: Performance of pre-optimization done (n=247): time 3.837e-06/0.651, allocations: 0 / 0.6456 GB, free: 10.64 MB / 478.1 MB Notification: Performance of matching and sorting (n=267): time 0.02112/0.6721, allocations: 11.49 MB / 0.6568 GB, free: 14.99 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001906/0.6723, allocations: 421.8 kB / 0.6572 GB, free: 14.49 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001711/0.674, allocations: 1.469 MB / 0.6587 GB, free: 13.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001686/0.6742, allocations: 84.5 kB / 0.6588 GB, free: 12.93 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007265/0.675, allocations: 1.01 MB / 0.6597 GB, free: 11.92 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006478/0.6756, allocations: 0.8475 MB / 0.6606 GB, free: 11.09 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007289/0.6763, allocations: 0.5257 MB / 0.6611 GB, free: 10.55 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.65e-05/0.6765, allocations: 301.1 kB / 0.6614 GB, free: 10.26 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001933/0.6784, allocations: 1.339 MB / 0.6627 GB, free: 8.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002344/0.6807, allocations: 1.994 MB / 0.6646 GB, free: 6.656 MB / 494.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.01495/0.6957, allocations: 6.985 MB / 0.6714 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.221e-05/0.6958, allocations: 4 kB / 0.6714 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.009794/0.7056, allocations: 5.331 MB / 0.6767 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.936e-05/0.7056, allocations: 63.41 kB / 0.6767 GB, free: 9.859 MB / 0.4981 GB 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.001976/0.7076, allocations: 1.36 MB / 0.678 GB, free: 8.457 MB / 0.4981 GB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated