Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG") translateModel(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000905/0.0009051, allocations: 173.3 kB / 16.07 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.204/1.204, allocations: 205.4 MB / 222.2 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000681/0.000681, allocations: 86.36 kB / 270.6 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1701/0.1701, allocations: 38.06 MB / 356.9 MB, free: 1.738 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003587, allocations: 12 kB / 423.3 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.215, allocations: 56.32 MB / 479.6 MB, free: 9.242 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01103/0.226, allocations: 13.9 MB / 493.5 MB, free: 15.57 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01254/0.2386, allocations: 8.062 MB / 0.4898 GB, free: 9.875 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001988/0.2407, allocations: 82.03 kB / 0.4899 GB, free: 9.84 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1219/0.3626, allocations: 92.66 MB / 0.5804 GB, free: 3.598 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004208/0.3668, allocations: 1.482 MB / 0.5818 GB, free: 2.109 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002812/0.3696, allocations: 0.9275 MB / 0.5827 GB, free: 1.184 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.02006/0.3897, allocations: 15.65 MB / 0.598 GB, free: 1.508 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003068/0.3928, allocations: 1.97 MB / 0.6 GB, free: 15.46 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03108/0.4239, allocations: 23.89 MB / 0.6233 GB, free: 7.547 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002553/0.4265, allocations: 1.854 MB / 0.6251 GB, free: 5.688 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000392/0.4269, allocations: 108 kB / 0.6252 GB, free: 5.582 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00175/0.4287, allocations: 0.9047 MB / 0.6261 GB, free: 4.676 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001211/0.4299, allocations: 1.227 MB / 0.6273 GB, free: 3.445 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001482/0.4314, allocations: 1.218 MB / 0.6285 GB, free: 2.215 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003125/0.4346, allocations: 2.997 MB / 0.6314 GB, free: 15.21 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.4346, allocations: 0 / 0.6314 GB, free: 15.21 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4346, allocations: 3.938 kB / 0.6314 GB, free: 15.21 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.22e-05/0.4346, allocations: 4 kB / 0.6314 GB, free: 15.2 MB / 474.7 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.004851/0.4395, allocations: 2.706 MB / 0.634 GB, free: 12.41 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.4396, allocations: 8.031 kB / 0.634 GB, free: 12.4 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001971/0.4415, allocations: 453.3 kB / 0.6345 GB, free: 11.96 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003134/0.4447, allocations: 1.816 MB / 0.6363 GB, free: 10.09 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/0.4448, allocations: 151.9 kB / 0.6364 GB, free: 9.938 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004926/0.4453, allocations: 251.8 kB / 0.6366 GB, free: 9.691 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004521/0.4499, allocations: 3.173 MB / 0.6397 GB, free: 6.363 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.018e-05/0.4499, allocations: 7.938 kB / 0.6397 GB, free: 6.355 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002054/0.4501, allocations: 99.89 kB / 0.6398 GB, free: 6.258 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005518/0.4507, allocations: 207.8 kB / 0.64 GB, free: 6.055 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004302/0.455, allocations: 2.857 MB / 0.6428 GB, free: 3.191 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1766/0.6316, allocations: 11.62 MB / 0.6542 GB, free: 154.6 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003132/0.6348, allocations: 2.594 MB / 0.6567 GB, free: 153.2 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002196/0.637, allocations: 1.542 MB / 0.6582 GB, free: 152.7 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000123/0.6371, allocations: 32.16 kB / 0.6582 GB, free: 152.7 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002394/0.6395, allocations: 1.7 MB / 0.6599 GB, free: 152 MB / 474.7 MB Notification: Performance of pre-optimization done (n=247): time 5.139e-06/0.6396, allocations: 0 / 0.6599 GB, free: 152 MB / 474.7 MB Notification: Performance of matching and sorting (n=267): time 0.02063/0.6602, allocations: 11.57 MB / 0.6712 GB, free: 147 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.6604, allocations: 414.1 kB / 0.6716 GB, free: 146.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001722/0.6621, allocations: 1.463 MB / 0.673 GB, free: 145.9 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002214/0.6623, allocations: 87.69 kB / 0.6731 GB, free: 145.8 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005243/0.6628, allocations: 1.007 MB / 0.6741 GB, free: 144.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005202/0.6634, allocations: 0.8627 MB / 0.6749 GB, free: 144.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.6635, allocations: 61.02 kB / 0.675 GB, free: 144.2 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.6636, allocations: 435.8 kB / 0.6754 GB, free: 143.8 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001628/0.6653, allocations: 1.312 MB / 0.6767 GB, free: 143.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001844/0.6671, allocations: 1.998 MB / 0.6786 GB, free: 141.7 MB / 474.7 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.01324/0.6804, allocations: 6.991 MB / 0.6855 GB, free: 135 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.556e-05/0.6804, allocations: 8 kB / 0.6855 GB, free: 135 MB / 474.7 MB Notification: Performance of matching and sorting (n=402) (initialization): time 0.008367/0.6888, allocations: 5.291 MB / 0.6906 GB, free: 129.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002848/0.6891, allocations: 0.6885 MB / 0.6913 GB, free: 128.6 MB / 474.7 MB 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.001815/0.6909, allocations: 1.351 MB / 0.6926 GB, free: 127.3 MB / 474.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated