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.001356/0.001361, allocations: 98.39 kB / 16.5 MB, free: 6.641 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.001565/0.001565, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.319/1.319, allocations: 222.9 MB / 241.1 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1831/0.1831, allocations: 38.03 MB / 329.3 MB, free: 9.086 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 64.8 kB / 398.1 MB, free: 34.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1017, allocations: 58.06 MB / 456.2 MB, free: 8.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01514/0.1169, allocations: 15.33 MB / 471.5 MB, free: 9.145 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0151/0.1321, allocations: 8.771 MB / 480.3 MB, free: 360 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002935/0.135, allocations: 87.44 kB / 480.3 MB, free: 272 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.335/0.47, allocations: 96.2 MB / 0.563 GB, free: 12.85 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004085/0.4742, allocations: 1.395 MB / 0.5644 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002841/0.477, allocations: 0.9559 MB / 0.5653 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02329/0.5003, allocations: 17.19 MB / 0.5821 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003216/0.5036, allocations: 1.472 MB / 0.5836 GB, free: 9.328 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03644/0.5401, allocations: 24.59 MB / 0.6076 GB, free: 1.449 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003578/0.5437, allocations: 1.968 MB / 0.6095 GB, free: 15.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008515/0.5446, allocations: 136 kB / 0.6096 GB, free: 15.49 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00245/0.547, allocations: 0.9588 MB / 0.6106 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001797/0.5488, allocations: 1.253 MB / 0.6118 GB, free: 13.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00253/0.5514, allocations: 1.305 MB / 0.6131 GB, free: 12.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0049/0.5563, allocations: 3.829 MB / 0.6168 GB, free: 8.285 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.5563, allocations: 0 / 0.6168 GB, free: 8.285 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.5563, allocations: 0 / 0.6168 GB, free: 8.285 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.318e-05/0.5564, allocations: 0 / 0.6168 GB, free: 8.285 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.007623/0.564, allocations: 3.177 MB / 0.6199 GB, free: 5.051 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.5641, allocations: 16.02 kB / 0.6199 GB, free: 5.035 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002254/0.5664, allocations: 453.2 kB / 0.6203 GB, free: 4.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003729/0.5701, allocations: 1.789 MB / 0.6221 GB, free: 2.777 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/0.5703, allocations: 155.5 kB / 0.6222 GB, free: 2.629 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000596/0.5709, allocations: 270.4 kB / 0.6225 GB, free: 2.375 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005413/0.5763, allocations: 3.184 MB / 0.6256 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.73e-05/0.5764, allocations: 11.94 kB / 0.6256 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002119/0.5766, allocations: 83.03 kB / 0.6257 GB, free: 14.96 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006286/0.5772, allocations: 219.5 kB / 0.6259 GB, free: 14.75 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004695/0.5819, allocations: 2.849 MB / 0.6287 GB, free: 11.89 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01556/0.5975, allocations: 11.59 MB / 0.64 GB, free: 0 / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003355/0.6009, allocations: 2.598 MB / 0.6425 GB, free: 13.28 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002271/0.6032, allocations: 1.53 MB / 0.644 GB, free: 11.74 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001349/0.6033, allocations: 29.19 kB / 0.6441 GB, free: 11.71 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002515/0.6059, allocations: 1.708 MB / 0.6457 GB, free: 9.965 MB / 478.1 MB Notification: Performance of pre-optimization done (n=247): time 4.368e-06/0.6059, allocations: 0 / 0.6457 GB, free: 9.965 MB / 478.1 MB Notification: Performance of matching and sorting (n=267): time 0.02253/0.6284, allocations: 11.5 MB / 0.657 GB, free: 14.31 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002283/0.6287, allocations: 409.8 kB / 0.6574 GB, free: 13.82 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002103/0.6308, allocations: 1.473 MB / 0.6588 GB, free: 12.34 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004209/0.6312, allocations: 83.66 kB / 0.6589 GB, free: 12.25 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001024/0.6323, allocations: 1.005 MB / 0.6599 GB, free: 11.25 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001012/0.6333, allocations: 0.8504 MB / 0.6607 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008115/0.6341, allocations: 0.5333 MB / 0.6612 GB, free: 9.875 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.6343, allocations: 305.1 kB / 0.6615 GB, free: 9.574 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002108/0.6364, allocations: 1.331 MB / 0.6628 GB, free: 8.234 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002627/0.639, allocations: 2.002 MB / 0.6648 GB, free: 5.973 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.01637/0.6554, allocations: 6.977 MB / 0.6716 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-05/0.6555, allocations: 7.844 kB / 0.6716 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01104/0.6665, allocations: 5.322 MB / 0.6768 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.805e-05/0.6666, allocations: 71.38 kB / 0.6768 GB, free: 9.184 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.002456/0.6691, allocations: 1.36 MB / 0.6782 GB, free: 7.781 MB / 0.4981 GB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated