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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 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.0011/0.0011, allocations: 111.2 kB / 17.68 MB, free: 5.355 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.001012/0.001012, allocations: 192 kB / 18.62 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.444/1.444, allocations: 205.1 MB / 224.5 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1765/0.1765, allocations: 37.97 MB / 309.8 MB, free: 5.988 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 67.91 kB / 376.8 MB, free: 2.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2786, allocations: 55.25 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01173/0.2904, allocations: 13.33 MB / 445.3 MB, free: 6.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01156/0.302, allocations: 7.97 MB / 453.3 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00166/0.3037, allocations: 47.75 kB / 453.4 MB, free: 14.07 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1895:3-1973:18:writable] Warning: Pure function 'Modelica.Math.Matrices.eigenValues' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgeev_eigenValues'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:2829:3-2870:10:writable] Warning: Pure function 'Modelica.Math.Matrices.inv' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgetrf'. Notification: Performance of NFTyping.typeComponents: time 0.3525/0.6562, allocations: 91.19 MB / 0.5318 GB, free: 75.53 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003811/0.6601, allocations: 1.474 MB / 0.5332 GB, free: 75.11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002755/0.6628, allocations: 1.052 MB / 0.5343 GB, free: 74.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01628/0.6791, allocations: 14.52 MB / 0.5484 GB, free: 61.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002096/0.6813, allocations: 1.601 MB / 0.55 GB, free: 59.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02583/0.7071, allocations: 23.52 MB / 0.573 GB, free: 36.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002763/0.7099, allocations: 1.891 MB / 0.5748 GB, free: 35.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005306/0.7105, allocations: 244 kB / 0.5751 GB, free: 34.97 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001841/0.7123, allocations: 0.9977 MB / 0.576 GB, free: 34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009544/0.7133, allocations: 1.351 MB / 0.5773 GB, free: 32.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001328/0.7146, allocations: 1.427 MB / 0.5787 GB, free: 31.24 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003561/0.7182, allocations: 3.984 MB / 0.5826 GB, free: 27.35 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.7182, allocations: 0 / 0.5826 GB, free: 27.35 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.7183, allocations: 4 kB / 0.5826 GB, free: 27.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.115e-05/0.7183, allocations: 0 / 0.5826 GB, free: 27.34 MB / 398.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.005663/0.724, allocations: 3.18 MB / 0.5857 GB, free: 24.11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.7241, allocations: 15.89 kB / 0.5858 GB, free: 24.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002054/0.7261, allocations: 464.8 kB / 0.5862 GB, free: 23.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003298/0.7294, allocations: 1.846 MB / 0.588 GB, free: 21.76 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.633e-05/0.7295, allocations: 153.9 kB / 0.5881 GB, free: 21.62 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004885/0.73, allocations: 268.9 kB / 0.5884 GB, free: 21.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003881/0.7339, allocations: 3.181 MB / 0.5915 GB, free: 18.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.526e-05/0.734, allocations: 11.94 kB / 0.5915 GB, free: 18.03 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001843/0.7342, allocations: 86.09 kB / 0.5916 GB, free: 17.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005269/0.7347, allocations: 215.7 kB / 0.5918 GB, free: 17.74 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00375/0.7385, allocations: 2.853 MB / 0.5946 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01318/0.7517, allocations: 11.52 MB / 0.6058 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002798/0.7545, allocations: 2.607 MB / 0.6084 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00223/0.7568, allocations: 1.542 MB / 0.6099 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001227/0.7569, allocations: 34.38 kB / 0.6099 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002399/0.7593, allocations: 1.694 MB / 0.6116 GB, free: 13.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=247): time 4.419e-06/0.7593, allocations: 0 / 0.6116 GB, free: 13.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=267): time 0.02248/0.7818, allocations: 11.51 MB / 0.6228 GB, free: 1.359 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002217/0.7821, allocations: 412.2 kB / 0.6232 GB, free: 0.875 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001974/0.7841, allocations: 1.481 MB / 0.6247 GB, free: 15.39 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002664/0.7843, allocations: 81.69 kB / 0.6247 GB, free: 15.3 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007894/0.7851, allocations: 1.008 MB / 0.6257 GB, free: 14.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007907/0.7859, allocations: 0.8522 MB / 0.6266 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007873/0.7867, allocations: 0.5248 MB / 0.6271 GB, free: 12.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.7869, allocations: 305.1 kB / 0.6274 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002194/0.7891, allocations: 1.339 MB / 0.6287 GB, free: 11.28 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002609/0.7917, allocations: 2.001 MB / 0.6306 GB, free: 9.016 MB / 430.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.01652/0.8082, allocations: 6.989 MB / 0.6374 GB, free: 1.699 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.188e-05/0.8083, allocations: 11.06 kB / 0.6375 GB, free: 1.691 MB / 430.1 MB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01094/0.8192, allocations: 5.314 MB / 0.6426 GB, free: 12.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.137e-05/0.8193, allocations: 71.39 kB / 0.6427 GB, free: 12.21 MB / 446.1 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.002307/0.8216, allocations: 1.346 MB / 0.644 GB, free: 10.84 MB / 446.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated