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.001163/0.001163, allocations: 110 kB / 17.68 MB, free: 5.332 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.001245/0.001245, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.517/1.517, allocations: 205.1 MB / 224.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1785/0.1785, allocations: 37.99 MB / 309.8 MB, free: 5.961 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.001792/0.001792, allocations: 67.19 kB / 376.8 MB, free: 2.902 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2944, allocations: 55.24 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01125/0.3057, allocations: 13.34 MB / 445.4 MB, free: 6.105 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01232/0.318, allocations: 7.97 MB / 453.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001904/0.32, allocations: 55.69 kB / 453.4 MB, free: 14.06 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.402/0.7222, allocations: 91.18 MB / 0.5318 GB, free: 75.49 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00469/0.7269, allocations: 1.476 MB / 0.5332 GB, free: 75.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002482/0.7294, allocations: 1.048 MB / 0.5343 GB, free: 74.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01742/0.7468, allocations: 14.52 MB / 0.5484 GB, free: 61.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002465/0.7493, allocations: 1.601 MB / 0.55 GB, free: 59.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02677/0.7761, allocations: 23.52 MB / 0.573 GB, free: 36.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003158/0.7793, allocations: 1.887 MB / 0.5748 GB, free: 35.22 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009193/0.7803, allocations: 248 kB / 0.5751 GB, free: 34.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00267/0.783, allocations: 1.001 MB / 0.576 GB, free: 34.01 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001112/0.7841, allocations: 1.345 MB / 0.5773 GB, free: 32.67 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001518/0.7856, allocations: 1.43 MB / 0.5787 GB, free: 31.24 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004375/0.79, allocations: 3.986 MB / 0.5826 GB, free: 27.35 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.79, allocations: 0 / 0.5826 GB, free: 27.35 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.7901, allocations: 0 / 0.5826 GB, free: 27.35 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.368e-05/0.7901, allocations: 4 kB / 0.5826 GB, free: 27.35 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.006334/0.7965, allocations: 3.186 MB / 0.5858 GB, free: 24.1 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.7965, allocations: 11.89 kB / 0.5858 GB, free: 24.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001975/0.7985, allocations: 455.6 kB / 0.5862 GB, free: 23.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003428/0.802, allocations: 1.855 MB / 0.588 GB, free: 21.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.061e-05/0.8021, allocations: 156.4 kB / 0.5882 GB, free: 21.62 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000476/0.8026, allocations: 264.5 kB / 0.5884 GB, free: 21.37 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003944/0.8065, allocations: 3.179 MB / 0.5915 GB, free: 18.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-05/0.8066, allocations: 7.938 kB / 0.5915 GB, free: 18.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001875/0.8068, allocations: 93.3 kB / 0.5916 GB, free: 17.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005198/0.8073, allocations: 209.5 kB / 0.5918 GB, free: 17.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003573/0.8109, allocations: 2.853 MB / 0.5946 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01324/0.8241, allocations: 11.52 MB / 0.6058 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002768/0.827, allocations: 2.608 MB / 0.6084 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00223/0.8292, allocations: 1.538 MB / 0.6099 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001319/0.8294, allocations: 28.81 kB / 0.6099 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002353/0.8317, allocations: 1.706 MB / 0.6116 GB, free: 13.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=247): time 3.997e-06/0.8317, allocations: 0 / 0.6116 GB, free: 13.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=267): time 0.02342/0.8552, allocations: 11.5 MB / 0.6228 GB, free: 1.363 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000289/0.8555, allocations: 413.5 kB / 0.6232 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002515/0.858, allocations: 1.485 MB / 0.6247 GB, free: 15.39 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002593/0.8583, allocations: 77.7 kB / 0.6247 GB, free: 15.3 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009844/0.8593, allocations: 1.003 MB / 0.6257 GB, free: 14.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001113/0.8604, allocations: 0.8575 MB / 0.6266 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009608/0.8614, allocations: 0.5293 MB / 0.6271 GB, free: 12.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000221/0.8616, allocations: 305.1 kB / 0.6274 GB, free: 12.63 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002473/0.8641, allocations: 1.335 MB / 0.6287 GB, free: 11.29 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002753/0.8669, allocations: 2.001 MB / 0.6306 GB, free: 9.023 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.01714/0.884, allocations: 6.981 MB / 0.6374 GB, free: 1.711 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.609e-05/0.8841, allocations: 11.06 kB / 0.6375 GB, free: 1.703 MB / 430.1 MB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01057/0.8947, allocations: 5.327 MB / 0.6427 GB, free: 12.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.634e-05/0.8948, allocations: 63.41 kB / 0.6427 GB, free: 12.22 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.002395/0.8972, allocations: 1.348 MB / 0.644 GB, free: 10.85 MB / 446.1 MB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated