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.001403/0.001403, allocations: 112.2 kB / 17.74 MB, free: 5.355 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.001503/0.001503, allocations: 187.1 kB / 18.67 MB, free: 4.434 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.333/1.333, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1903/0.1903, allocations: 38.04 MB / 330.6 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001326, allocations: 63.91 kB / 458.8 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3397, allocations: 58.05 MB / 0.5048 GB, free: 7.762 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01463/0.3543, allocations: 13.33 MB / 0.5178 GB, free: 14.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01504/0.3694, allocations: 7.918 MB / 0.5255 GB, free: 8.824 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002315/0.3718, allocations: 50.84 kB / 0.5256 GB, free: 8.805 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1264/0.4982, allocations: 91.22 MB / 0.6147 GB, free: 7.996 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004737/0.5029, allocations: 1.486 MB / 0.6161 GB, free: 6.504 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003067/0.506, allocations: 1.051 MB / 0.6171 GB, free: 5.457 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01934/0.5254, allocations: 14.52 MB / 0.6313 GB, free: 6.91 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002369/0.5278, allocations: 1.6 MB / 0.6329 GB, free: 5.266 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03125/0.5591, allocations: 23.54 MB / 0.6559 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002754/0.5619, allocations: 1.889 MB / 0.6577 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000535/0.5624, allocations: 240 kB / 0.6579 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001979/0.5644, allocations: 1.018 MB / 0.6589 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001244/0.5657, allocations: 1.344 MB / 0.6602 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001642/0.5673, allocations: 1.431 MB / 0.6616 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004138/0.5715, allocations: 3.972 MB / 0.6655 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5715, allocations: 3.938 kB / 0.6655 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.406e-06/0.5715, allocations: 0 / 0.6655 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.826e-05/0.5716, allocations: 7.938 kB / 0.6655 GB, free: 3.766 MB / 0.5137 GB 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.00597/0.5776, allocations: 3.179 MB / 0.6686 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.5776, allocations: 11.89 kB / 0.6686 GB, free: 500 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00216/0.5798, allocations: 465.2 kB / 0.6691 GB, free: 32 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003178/0.583, allocations: 1.843 MB / 0.6709 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.5831, allocations: 159.9 kB / 0.671 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005267/0.5836, allocations: 255.8 kB / 0.6713 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004715/0.5884, allocations: 3.18 MB / 0.6744 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.173e-05/0.5884, allocations: 15.83 kB / 0.6744 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002333/0.5887, allocations: 87.92 kB / 0.6745 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006017/0.5893, allocations: 215.7 kB / 0.6747 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004426/0.5937, allocations: 2.853 MB / 0.6775 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01517/0.6089, allocations: 11.5 MB / 0.6887 GB, free: 11.31 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003269/0.6122, allocations: 2.597 MB / 0.6912 GB, free: 8.582 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00214/0.6144, allocations: 1.526 MB / 0.6927 GB, free: 7.051 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.6145, allocations: 30.06 kB / 0.6928 GB, free: 7.02 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002293/0.6168, allocations: 1.702 MB / 0.6944 GB, free: 5.273 MB / 0.545 GB Notification: Performance of pre-optimization done (n=247): time 4.588e-06/0.6168, allocations: 4 kB / 0.6944 GB, free: 5.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=276): time 0.02623/0.643, allocations: 13.97 MB / 0.7081 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002168/0.6433, allocations: 413.8 kB / 0.7085 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001936/0.6453, allocations: 1.473 MB / 0.7099 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003735/0.6456, allocations: 81.64 kB / 0.71 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007766/0.6464, allocations: 1.009 MB / 0.711 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008881/0.6473, allocations: 0.8822 MB / 0.7118 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007513/0.6481, allocations: 0.538 MB / 0.7124 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.124e-05/0.6482, allocations: 305.2 kB / 0.7126 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00201/0.6502, allocations: 1.343 MB / 0.714 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2548/0.905, allocations: 2.015 MB / 0.7159 GB, free: 187.1 MB / 0.5606 GB 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.01853/0.9235, allocations: 7.24 MB / 0.723 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.056e-05/0.9236, allocations: 9.688 kB / 0.723 GB, free: 184.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=409) (initialization): time 0.01208/0.9357, allocations: 5.373 MB / 0.7283 GB, free: 182.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.858e-05/0.9358, allocations: 68.58 kB / 0.7283 GB, free: 182.7 MB / 0.5606 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.002704/0.9385, allocations: 1.366 MB / 0.7297 GB, free: 182.1 MB / 0.5606 GB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated