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.0008219/0.000822, allocations: 95.3 kB / 16.65 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.0009016/0.0009021, allocations: 175.1 kB / 17.56 MB, free: 6.184 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.369/1.369, allocations: 223.2 MB / 241.6 MB, free: 108 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1725/0.1725, allocations: 38.1 MB / 330.8 MB, free: 8.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003126/0.0003126, allocations: 8 kB / 400.7 MB, free: 34.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1084, allocations: 59.16 MB / 459.9 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01514/0.1236, allocations: 14.75 MB / 474.6 MB, free: 8.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01385/0.1375, allocations: 8.612 MB / 483.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002159/0.1397, allocations: 87.38 kB / 483.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3283/0.468, allocations: 95.2 MB / 0.565 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003479/0.4715, allocations: 1.386 MB / 0.5663 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002313/0.4738, allocations: 0.957 MB / 0.5673 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02094/0.4948, allocations: 17.16 MB / 0.584 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003244/0.4981, allocations: 1.999 MB / 0.586 GB, free: 8.469 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03184/0.5299, allocations: 24.47 MB / 0.6099 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002804/0.5328, allocations: 1.884 MB / 0.6117 GB, free: 15 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003337/0.5331, allocations: 108 kB / 0.6118 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001869/0.535, allocations: 0.9224 MB / 0.6127 GB, free: 14.01 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001219/0.5362, allocations: 1.199 MB / 0.6139 GB, free: 12.81 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001527/0.5378, allocations: 1.274 MB / 0.6151 GB, free: 11.54 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003618/0.5414, allocations: 3.74 MB / 0.6188 GB, free: 7.895 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.5414, allocations: 0 / 0.6188 GB, free: 7.895 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5414, allocations: 0 / 0.6188 GB, free: 7.895 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.973e-05/0.5415, allocations: 0 / 0.6188 GB, free: 7.895 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.005479/0.547, allocations: 2.699 MB / 0.6214 GB, free: 5.125 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.547, allocations: 14.28 kB / 0.6214 GB, free: 5.113 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002221/0.5493, allocations: 459.4 kB / 0.6219 GB, free: 4.664 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003136/0.5524, allocations: 1.796 MB / 0.6236 GB, free: 2.844 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001437/0.5526, allocations: 155.7 kB / 0.6238 GB, free: 2.695 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005698/0.5531, allocations: 264.1 kB / 0.624 GB, free: 2.445 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004765/0.5579, allocations: 3.185 MB / 0.6271 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.648e-05/0.558, allocations: 18.48 kB / 0.6271 GB, free: 15.1 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000229/0.5582, allocations: 85.62 kB / 0.6272 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006017/0.5588, allocations: 221.8 kB / 0.6274 GB, free: 14.81 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00454/0.5634, allocations: 2.865 MB / 0.6302 GB, free: 11.94 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01626/0.5797, allocations: 11.63 MB / 0.6416 GB, free: 4 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003526/0.5832, allocations: 2.606 MB / 0.6441 GB, free: 13.28 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00235/0.5856, allocations: 1.534 MB / 0.6456 GB, free: 11.73 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/0.5857, allocations: 33.83 kB / 0.6457 GB, free: 11.7 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002409/0.5881, allocations: 1.713 MB / 0.6473 GB, free: 9.945 MB / 478.1 MB Notification: Performance of pre-optimization done (n=247): time 4.047e-06/0.5882, allocations: 0 / 0.6473 GB, free: 9.945 MB / 478.1 MB Notification: Performance of matching and sorting (n=267): time 0.02338/0.6115, allocations: 11.57 MB / 0.6586 GB, free: 14.22 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002919/0.6119, allocations: 420.8 kB / 0.659 GB, free: 13.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002402/0.6143, allocations: 1.473 MB / 0.6605 GB, free: 12.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004081/0.6147, allocations: 77.7 kB / 0.6606 GB, free: 12.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008992/0.6156, allocations: 1.008 MB / 0.6615 GB, free: 11.15 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008676/0.6165, allocations: 0.8593 MB / 0.6624 GB, free: 10.31 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000342/0.6169, allocations: 264.2 kB / 0.6626 GB, free: 10.05 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.724e-05/0.617, allocations: 305.8 kB / 0.6629 GB, free: 9.746 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002075/0.619, allocations: 1.322 MB / 0.6642 GB, free: 8.422 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002621/0.6217, allocations: 2.01 MB / 0.6662 GB, free: 6.152 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.0164/0.6381, allocations: 7.016 MB / 0.673 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.94e-05/0.6381, allocations: 8 kB / 0.673 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01037/0.6485, allocations: 5.342 MB / 0.6783 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004742/0.649, allocations: 0.6827 MB / 0.6789 GB, free: 8.426 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.002159/0.6512, allocations: 1.376 MB / 0.6803 GB, free: 7.012 MB / 0.4981 GB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated