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.001658/0.001658, allocations: 114.9 kB / 16.63 MB, free: 6.812 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.001729/0.001729, allocations: 186 kB / 17.55 MB, free: 5.934 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.403/1.403, allocations: 222.9 MB / 241.2 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1777/0.1777, allocations: 38.02 MB / 329.4 MB, free: 8.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 55.42 kB / 398.3 MB, free: 34.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1093, allocations: 58.06 MB / 456.3 MB, free: 8.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01697/0.1264, allocations: 15.34 MB / 471.7 MB, free: 8.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01438/0.1408, allocations: 8.525 MB / 480.2 MB, free: 444 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002207/0.143, allocations: 87.38 kB / 480.3 MB, free: 356 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.329/0.4721, allocations: 98.65 MB / 0.5654 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004113/0.4762, allocations: 1.364 MB / 0.5667 GB, free: 9.516 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00292/0.4792, allocations: 0.9668 MB / 0.5676 GB, free: 8.633 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02119/0.5004, allocations: 15.48 MB / 0.5828 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003213/0.5036, allocations: 1.687 MB / 0.5844 GB, free: 8.484 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03411/0.5378, allocations: 25.44 MB / 0.6092 GB, free: 15.83 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003641/0.5415, allocations: 2.041 MB / 0.6112 GB, free: 13.92 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009715/0.5425, allocations: 242.7 kB / 0.6115 GB, free: 13.69 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002644/0.5451, allocations: 1.04 MB / 0.6125 GB, free: 12.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002095/0.5472, allocations: 1.355 MB / 0.6138 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003522/0.5508, allocations: 1.427 MB / 0.6152 GB, free: 9.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005997/0.5568, allocations: 3.914 MB / 0.619 GB, free: 6.094 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.5568, allocations: 8 kB / 0.619 GB, free: 6.086 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5568, allocations: 0 / 0.619 GB, free: 6.086 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001505/0.557, allocations: 0 / 0.619 GB, free: 6.086 MB / 446.1 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.009956/0.567, allocations: 3.174 MB / 0.6221 GB, free: 2.855 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.567, allocations: 11.89 kB / 0.6221 GB, free: 2.844 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002456/0.5695, allocations: 457.2 kB / 0.6226 GB, free: 2.395 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00349/0.573, allocations: 1.787 MB / 0.6243 GB, free: 0.582 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001381/0.5731, allocations: 158.9 kB / 0.6245 GB, free: 444 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005654/0.5737, allocations: 263.3 kB / 0.6247 GB, free: 188 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005177/0.5789, allocations: 3.182 MB / 0.6278 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.736e-05/0.579, allocations: 11.94 kB / 0.6278 GB, free: 12.85 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002168/0.5792, allocations: 86.95 kB / 0.6279 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006364/0.5799, allocations: 211.8 kB / 0.6281 GB, free: 12.56 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004728/0.5846, allocations: 2.853 MB / 0.6309 GB, free: 9.703 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01671/0.6013, allocations: 11.59 MB / 0.6422 GB, free: 13.81 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003499/0.6049, allocations: 2.598 MB / 0.6448 GB, free: 11.08 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002646/0.6075, allocations: 1.541 MB / 0.6463 GB, free: 9.535 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001287/0.6077, allocations: 32.72 kB / 0.6463 GB, free: 9.508 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002484/0.6102, allocations: 1.698 MB / 0.648 GB, free: 7.766 MB / 478.1 MB Notification: Performance of pre-optimization done (n=247): time 4.578e-06/0.6102, allocations: 0 / 0.648 GB, free: 7.766 MB / 478.1 MB Notification: Performance of matching and sorting (n=267): time 0.02378/0.634, allocations: 11.51 MB / 0.6592 GB, free: 12.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000233/0.6343, allocations: 417.2 kB / 0.6596 GB, free: 11.61 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001951/0.6362, allocations: 1.473 MB / 0.661 GB, free: 10.12 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002332/0.6365, allocations: 81.69 kB / 0.6611 GB, free: 10.04 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008428/0.6373, allocations: 1.005 MB / 0.6621 GB, free: 9.031 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007838/0.6381, allocations: 0.8514 MB / 0.6629 GB, free: 8.199 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000824/0.6389, allocations: 0.5327 MB / 0.6635 GB, free: 7.664 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.6391, allocations: 301.1 kB / 0.6637 GB, free: 7.367 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002085/0.6411, allocations: 1.335 MB / 0.665 GB, free: 6.023 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002426/0.6436, allocations: 1.994 MB / 0.667 GB, free: 3.77 MB / 494.1 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.01632/0.6599, allocations: 7.009 MB / 0.6738 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-05/0.66, allocations: 8 kB / 0.6738 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01058/0.6705, allocations: 5.329 MB / 0.679 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.766e-05/0.6707, allocations: 67.41 kB / 0.6791 GB, free: 6.941 MB / 0.4981 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.002171/0.6728, allocations: 1.363 MB / 0.6804 GB, free: 5.539 MB / 0.4981 GB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated