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.001349/0.001349, allocations: 173.1 kB / 15.77 MB, free: 6.32 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.357/1.357, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0009244/0.0009245, allocations: 106 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1993/0.1993, allocations: 38.06 MB / 356.6 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003777/0.0003778, allocations: 12 kB / 422.7 MB, free: 26.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0986/0.09899, allocations: 56.34 MB / 479.1 MB, free: 2.047 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01319/0.1122, allocations: 13.81 MB / 492.9 MB, free: 4.184 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0123/0.1246, allocations: 8.066 MB / 0.4892 GB, free: 12.1 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001896/0.1265, allocations: 87.38 kB / 0.4893 GB, free: 12.02 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.409/0.5355, allocations: 92.43 MB / 0.5795 GB, free: 10.74 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006577/0.5421, allocations: 1.474 MB / 0.581 GB, free: 9.773 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004714/0.5469, allocations: 0.8812 MB / 0.5818 GB, free: 8.969 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.03089/0.5778, allocations: 15.64 MB / 0.5971 GB, free: 10.09 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005713/0.5836, allocations: 1.758 MB / 0.5988 GB, free: 8.359 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04836/0.632, allocations: 23.9 MB / 0.6222 GB, free: 1.105 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004574/0.6366, allocations: 1.847 MB / 0.624 GB, free: 15.39 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001202/0.6379, allocations: 108 kB / 0.6241 GB, free: 15.29 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00349/0.6414, allocations: 0.8292 MB / 0.6249 GB, free: 14.48 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002792/0.6442, allocations: 1.226 MB / 0.6261 GB, free: 13.26 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001763/0.646, allocations: 0.4925 MB / 0.6266 GB, free: 12.76 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005876/0.6519, allocations: 3.003 MB / 0.6295 GB, free: 9.855 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.652, allocations: 0 / 0.6295 GB, free: 9.855 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.503e-06/0.652, allocations: 4 kB / 0.6295 GB, free: 9.852 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001902/0.6522, allocations: 0 / 0.6295 GB, free: 9.852 MB / 426.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.008006/0.6602, allocations: 2.73 MB / 0.6322 GB, free: 7.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.6603, allocations: 8.031 kB / 0.6322 GB, free: 7.062 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002894/0.6632, allocations: 460.2 kB / 0.6326 GB, free: 6.609 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004326/0.6676, allocations: 1.751 MB / 0.6343 GB, free: 4.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/0.6677, allocations: 153.6 kB / 0.6345 GB, free: 4.695 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006517/0.6684, allocations: 263.9 kB / 0.6347 GB, free: 4.445 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005757/0.6742, allocations: 3.186 MB / 0.6378 GB, free: 1.121 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.817e-05/0.6742, allocations: 11.84 kB / 0.6378 GB, free: 1.109 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002203/0.6745, allocations: 83.81 kB / 0.6379 GB, free: 1.031 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006323/0.6751, allocations: 212.3 kB / 0.6381 GB, free: 0.8242 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004908/0.68, allocations: 2.862 MB / 0.6409 GB, free: 13.96 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01745/0.6975, allocations: 11.63 MB / 0.6523 GB, free: 2.051 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003725/0.7013, allocations: 2.616 MB / 0.6548 GB, free: 15.3 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00239/0.7037, allocations: 1.55 MB / 0.6564 GB, free: 13.74 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/0.7038, allocations: 33.81 kB / 0.6564 GB, free: 13.71 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002464/0.7063, allocations: 1.702 MB / 0.658 GB, free: 11.97 MB / 458.7 MB Notification: Performance of pre-optimization done (n=247): time 4.208e-06/0.7063, allocations: 0 / 0.658 GB, free: 11.97 MB / 458.7 MB Notification: Performance of matching and sorting (n=267): time 0.02386/0.7302, allocations: 11.6 MB / 0.6694 GB, free: 212 kB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002702/0.7305, allocations: 413.7 kB / 0.6698 GB, free: 15.72 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002048/0.7326, allocations: 1.469 MB / 0.6712 GB, free: 14.25 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003456/0.7329, allocations: 80.11 kB / 0.6713 GB, free: 14.16 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008672/0.7338, allocations: 1.008 MB / 0.6723 GB, free: 13.15 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008523/0.7347, allocations: 0.8503 MB / 0.6731 GB, free: 12.32 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.7348, allocations: 56 kB / 0.6732 GB, free: 12.27 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002248/0.735, allocations: 444.4 kB / 0.6736 GB, free: 11.82 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002144/0.7372, allocations: 1.31 MB / 0.6749 GB, free: 10.51 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002733/0.7399, allocations: 1.998 MB / 0.6768 GB, free: 8.25 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.01231/0.7523, allocations: 3.935 MB / 0.6807 GB, free: 4.289 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.891e-05/0.7523, allocations: 4 kB / 0.6807 GB, free: 4.285 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. Error: No system for the symbolic initialization was generated