Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG") translateModel(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_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.00107/0.00107, allocations: 112.7 kB / 17.74 MB, free: 5.328 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.001075/0.001075, allocations: 187 kB / 18.68 MB, free: 4.398 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.291/1.291, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1748/0.1748, allocations: 38.03 MB / 330.6 MB, free: 8.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 67.89 kB / 458.8 MB, free: 6.836 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2898, allocations: 58.05 MB / 0.5048 GB, free: 7.758 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01184/0.3017, allocations: 13.34 MB / 0.5178 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01224/0.314, allocations: 7.911 MB / 0.5255 GB, free: 8.816 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/0.315, allocations: 51.03 kB / 0.5256 GB, free: 8.797 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.128/0.4431, allocations: 91.21 MB / 0.6146 GB, free: 8.004 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004154/0.4473, allocations: 1.498 MB / 0.6161 GB, free: 6.5 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002882/0.4502, allocations: 1.045 MB / 0.6171 GB, free: 5.453 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0201/0.4703, allocations: 14.52 MB / 0.6313 GB, free: 6.906 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002484/0.4728, allocations: 1.6 MB / 0.6329 GB, free: 5.262 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03331/0.5061, allocations: 23.53 MB / 0.6558 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002977/0.5091, allocations: 1.892 MB / 0.6577 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0008394/0.51, allocations: 244 kB / 0.6579 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002372/0.5124, allocations: 1.018 MB / 0.6589 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001633/0.514, allocations: 1.337 MB / 0.6602 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002492/0.5165, allocations: 1.442 MB / 0.6616 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004405/0.521, allocations: 3.99 MB / 0.6655 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.521, allocations: 0 / 0.6655 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.653e-06/0.521, allocations: 0 / 0.6655 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.402e-05/0.521, allocations: 0 / 0.6655 GB, free: 3.75 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.005511/0.5265, allocations: 3.26 MB / 0.6687 GB, free: 408 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.5266, allocations: 15.89 kB / 0.6687 GB, free: 392 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002126/0.5287, allocations: 474.8 kB / 0.6692 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00306/0.5318, allocations: 1.848 MB / 0.671 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/0.5319, allocations: 159.9 kB / 0.6711 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005149/0.5325, allocations: 259.9 kB / 0.6714 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004332/0.5368, allocations: 3.184 MB / 0.6745 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.606e-05/0.5369, allocations: 11.94 kB / 0.6745 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002022/0.5371, allocations: 87.91 kB / 0.6746 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005863/0.5377, allocations: 211.7 kB / 0.6748 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00423/0.5419, allocations: 2.853 MB / 0.6776 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01525/0.5572, allocations: 11.53 MB / 0.6888 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003248/0.5604, allocations: 2.601 MB / 0.6914 GB, free: 8.434 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002128/0.5626, allocations: 1.519 MB / 0.6929 GB, free: 6.91 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001257/0.5627, allocations: 33.98 kB / 0.6929 GB, free: 6.875 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002211/0.565, allocations: 1.702 MB / 0.6946 GB, free: 5.129 MB / 0.545 GB Notification: Performance of pre-optimization done (n=247): time 4.238e-06/0.565, allocations: 0 / 0.6946 GB, free: 5.129 MB / 0.545 GB Notification: Performance of matching and sorting (n=276): time 0.02589/0.5909, allocations: 14.15 MB / 0.7084 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001665/0.5911, allocations: 413.8 kB / 0.7088 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001746/0.5928, allocations: 1.481 MB / 0.7102 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000186/0.593, allocations: 77.7 kB / 0.7103 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007512/0.5938, allocations: 1.031 MB / 0.7113 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007053/0.5945, allocations: 0.926 MB / 0.7122 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007333/0.5952, allocations: 0.5343 MB / 0.7127 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.133e-05/0.5953, allocations: 301.1 kB / 0.713 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002086/0.5974, allocations: 1.351 MB / 0.7143 GB, free: 488 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2485/0.846, allocations: 2.015 MB / 0.7163 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.01567/0.8617, allocations: 7.236 MB / 0.7234 GB, free: 184.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.807e-05/0.8617, allocations: 6.312 kB / 0.7234 GB, free: 184.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=409) (initialization): time 0.009933/0.8717, allocations: 5.393 MB / 0.7286 GB, free: 182.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.973e-05/0.8717, allocations: 68.5 kB / 0.7287 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.002011/0.8737, allocations: 1.356 MB / 0.73 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