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.002948/0.002947, allocations: 175.2 kB / 16.74 MB, free: 5.066 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.474/2.474, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0009656/0.0009653, allocations: 100.9 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2864/0.2864, allocations: 38.07 MB / 357.6 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005004/0.0005005, allocations: 16 kB / 424 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6116/0.6121, allocations: 56.32 MB / 480.3 MB, free: 9.246 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.02266/0.6349, allocations: 13.9 MB / 494.2 MB, free: 15.57 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02599/0.661, allocations: 8.051 MB / 0.4905 GB, free: 9.879 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006107/0.6672, allocations: 82.06 kB / 0.4906 GB, free: 9.844 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1756/0.8429, allocations: 92.67 MB / 0.581 GB, free: 3.59 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008704/0.8517, allocations: 1.482 MB / 0.5825 GB, free: 2.102 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004992/0.8567, allocations: 0.9276 MB / 0.5834 GB, free: 1.176 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.02959/0.8863, allocations: 15.65 MB / 0.5987 GB, free: 1.5 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006617/0.893, allocations: 1.966 MB / 0.6006 GB, free: 15.46 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04814/0.9411, allocations: 23.89 MB / 0.6239 GB, free: 7.543 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005779/0.947, allocations: 1.85 MB / 0.6257 GB, free: 5.688 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00176/0.9488, allocations: 108 kB / 0.6258 GB, free: 5.582 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005047/0.9539, allocations: 0.9086 MB / 0.6267 GB, free: 4.672 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003805/0.9578, allocations: 1.227 MB / 0.6279 GB, free: 3.441 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00566/0.9635, allocations: 1.222 MB / 0.6291 GB, free: 2.207 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007494/0.971, allocations: 2.997 MB / 0.632 GB, free: 15.2 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.304e-05/0.9711, allocations: 0 / 0.632 GB, free: 15.2 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.547e-06/0.9711, allocations: 0 / 0.632 GB, free: 15.2 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003267/0.9714, allocations: 0 / 0.632 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.01133/0.9828, allocations: 2.714 MB / 0.6347 GB, free: 12.4 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.9828, allocations: 8.031 kB / 0.6347 GB, free: 12.39 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003867/0.9867, allocations: 457.3 kB / 0.6351 GB, free: 11.95 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006907/0.9936, allocations: 1.808 MB / 0.6369 GB, free: 10.08 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003296/0.994, allocations: 155.9 kB / 0.637 GB, free: 9.93 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001814/0.9958, allocations: 255.8 kB / 0.6373 GB, free: 9.68 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01203/1.008, allocations: 3.169 MB / 0.6404 GB, free: 6.355 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001208/1.008, allocations: 7.938 kB / 0.6404 GB, free: 6.348 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004794/1.009, allocations: 95.89 kB / 0.6405 GB, free: 6.254 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007414/1.009, allocations: 211.8 kB / 0.6407 GB, free: 6.047 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007695/1.017, allocations: 2.853 MB / 0.6435 GB, free: 3.188 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4464/1.464, allocations: 11.63 MB / 0.6548 GB, free: 154.9 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004997/1.469, allocations: 2.596 MB / 0.6574 GB, free: 153.5 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00354/1.472, allocations: 1.541 MB / 0.6589 GB, free: 152.9 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001594/1.472, allocations: 30.16 kB / 0.6589 GB, free: 152.9 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004002/1.476, allocations: 1.705 MB / 0.6606 GB, free: 152.3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=247): time 5.62e-06/1.476, allocations: 0 / 0.6606 GB, free: 152.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=267): time 0.03233/1.509, allocations: 11.55 MB / 0.6718 GB, free: 147.2 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003033/1.509, allocations: 408.1 kB / 0.6722 GB, free: 146.8 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003478/1.513, allocations: 1.472 MB / 0.6737 GB, free: 146.1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008824/1.513, allocations: 80.41 kB / 0.6737 GB, free: 146 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001134/1.515, allocations: 1.004 MB / 0.6747 GB, free: 145.2 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001246/1.516, allocations: 0.8699 MB / 0.6756 GB, free: 144.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/1.516, allocations: 61.53 kB / 0.6756 GB, free: 144.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002158/1.516, allocations: 427.6 kB / 0.676 GB, free: 144 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002212/1.518, allocations: 1.316 MB / 0.6773 GB, free: 143.4 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002732/1.521, allocations: 1.998 MB / 0.6793 GB, free: 141.9 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.0148/1.536, allocations: 6.994 MB / 0.6861 GB, free: 135.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.372e-05/1.536, allocations: 4 kB / 0.6861 GB, free: 135.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=402) (initialization): time 0.009782/1.546, allocations: 5.294 MB / 0.6913 GB, free: 129.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006242/1.547, allocations: 0.6853 MB / 0.692 GB, free: 128.8 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.001964/1.549, allocations: 1.354 MB / 0.6933 GB, free: 127.4 MB / 474.7 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated