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.00129/0.001291, allocations: 107 kB / 17.74 MB, free: 5.359 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.001255/0.001255, allocations: 186.4 kB / 18.67 MB, free: 4.438 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.325/1.325, 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.1726/0.1726, allocations: 38.04 MB / 330.6 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 63.89 kB / 458.8 MB, free: 6.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3005, allocations: 58.05 MB / 0.5048 GB, free: 7.746 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01176/0.3123, allocations: 13.33 MB / 0.5178 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0129/0.3253, allocations: 7.926 MB / 0.5255 GB, free: 8.805 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001203/0.3265, allocations: 51.09 kB / 0.5256 GB, free: 8.785 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1219/0.4484, allocations: 91.22 MB / 0.6147 GB, free: 8.012 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003785/0.4522, allocations: 1.494 MB / 0.6161 GB, free: 6.512 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002651/0.4549, allocations: 1.041 MB / 0.6171 GB, free: 5.469 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01789/0.4728, allocations: 14.52 MB / 0.6313 GB, free: 6.922 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002085/0.4749, allocations: 1.599 MB / 0.6329 GB, free: 5.277 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02986/0.5048, allocations: 23.54 MB / 0.6559 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002672/0.5075, allocations: 1.889 MB / 0.6577 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005967/0.5081, allocations: 248 kB / 0.6579 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001923/0.51, allocations: 1.003 MB / 0.6589 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001371/0.5114, allocations: 1.356 MB / 0.6602 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001979/0.5134, allocations: 1.427 MB / 0.6616 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00429/0.5177, allocations: 3.972 MB / 0.6655 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.5177, allocations: 0 / 0.6655 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.936e-06/0.5177, allocations: 4 kB / 0.6655 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.666e-05/0.5178, allocations: 0 / 0.6655 GB, free: 3.781 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.007111/0.5249, allocations: 3.181 MB / 0.6686 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.525, allocations: 11.89 kB / 0.6686 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002216/0.5272, allocations: 461.2 kB / 0.6691 GB, free: 48 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003264/0.5305, allocations: 1.847 MB / 0.6709 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/0.5306, allocations: 159.9 kB / 0.671 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005382/0.5312, allocations: 263.6 kB / 0.6713 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00493/0.5361, allocations: 3.18 MB / 0.6744 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.856e-05/0.5362, allocations: 11.84 kB / 0.6744 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002162/0.5364, allocations: 91.91 kB / 0.6745 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006067/0.537, allocations: 215.7 kB / 0.6747 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004711/0.5417, allocations: 2.849 MB / 0.6775 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0155/0.5573, allocations: 11.5 MB / 0.6887 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003538/0.5608, allocations: 2.601 MB / 0.6913 GB, free: 8.586 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002301/0.5631, allocations: 1.526 MB / 0.6927 GB, free: 7.055 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001262/0.5633, allocations: 26.06 kB / 0.6928 GB, free: 7.027 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00243/0.5657, allocations: 1.69 MB / 0.6944 GB, free: 5.293 MB / 0.545 GB Notification: Performance of pre-optimization done (n=247): time 5.66e-06/0.5657, allocations: 4 kB / 0.6944 GB, free: 5.289 MB / 0.545 GB Notification: Performance of matching and sorting (n=276): time 0.02698/0.5927, allocations: 13.97 MB / 0.7081 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00018/0.5929, allocations: 413.8 kB / 0.7085 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001894/0.5948, allocations: 1.477 MB / 0.7099 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001785/0.595, allocations: 81.69 kB / 0.71 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007807/0.5958, allocations: 1.005 MB / 0.711 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007003/0.5965, allocations: 0.8822 MB / 0.7118 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00079/0.5973, allocations: 0.5341 MB / 0.7124 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.449e-05/0.5974, allocations: 305.1 kB / 0.7126 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002148/0.5996, allocations: 1.347 MB / 0.714 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2129/0.8125, allocations: 2.013 MB / 0.7159 GB, free: 187 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.01581/0.8284, allocations: 7.242 MB / 0.723 GB, free: 184.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.01e-05/0.8284, allocations: 4.875 kB / 0.723 GB, free: 184.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=409) (initialization): time 0.009731/0.8381, allocations: 5.371 MB / 0.7282 GB, free: 182.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.888e-05/0.8382, allocations: 66.69 kB / 0.7283 GB, free: 182.6 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.002001/0.8402, allocations: 1.364 MB / 0.7296 GB, free: 182 MB / 0.5606 GB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated Error: Internal error SimCode DAEmode: The model PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG could not be translated