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.001536/0.001536, allocations: 112.3 kB / 17.74 MB, free: 5.336 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.001679/0.001679, allocations: 187 kB / 18.67 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.373/1.373, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.98 MB / 309.9 MB, free: 5.953 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.001387/0.001387, allocations: 63.91 kB / 432.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1048, allocations: 55.25 MB / 487.8 MB, free: 8.344 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01433/0.1191, allocations: 13.33 MB / 0.4894 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01257/0.1318, allocations: 7.97 MB / 0.4972 GB, free: 2.949 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001815/0.1336, allocations: 47.75 kB / 0.4972 GB, free: 2.902 MB / 382.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.3589/0.4925, allocations: 91.19 MB / 0.5863 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003503/0.4961, allocations: 1.482 MB / 0.5877 GB, free: 1.543 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002308/0.4984, allocations: 1.048 MB / 0.5887 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02055/0.5189, allocations: 14.52 MB / 0.6029 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002518/0.5215, allocations: 1.6 MB / 0.6045 GB, free: 1.445 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03232/0.5539, allocations: 23.54 MB / 0.6275 GB, free: 10.73 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003253/0.5572, allocations: 1.89 MB / 0.6293 GB, free: 8.98 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006637/0.5579, allocations: 244 kB / 0.6295 GB, free: 8.742 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002135/0.56, allocations: 1.002 MB / 0.6305 GB, free: 7.773 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001353/0.5614, allocations: 1.347 MB / 0.6318 GB, free: 6.43 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00183/0.5632, allocations: 1.434 MB / 0.6332 GB, free: 5 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004473/0.5677, allocations: 3.981 MB / 0.6371 GB, free: 1.113 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.5677, allocations: 0 / 0.6371 GB, free: 1.113 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.807e-06/0.5677, allocations: 0 / 0.6371 GB, free: 1.113 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.816e-05/0.5678, allocations: 3.938 kB / 0.6371 GB, free: 1.109 MB / 462.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.007004/0.5749, allocations: 3.179 MB / 0.6402 GB, free: 13.87 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.5749, allocations: 15.89 kB / 0.6402 GB, free: 13.86 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002235/0.5772, allocations: 457.2 kB / 0.6407 GB, free: 13.41 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004096/0.5813, allocations: 1.863 MB / 0.6425 GB, free: 11.52 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001506/0.5815, allocations: 151.8 kB / 0.6426 GB, free: 11.38 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006455/0.5821, allocations: 261.1 kB / 0.6429 GB, free: 11.13 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005228/0.5873, allocations: 3.18 MB / 0.646 GB, free: 7.809 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.075e-05/0.5874, allocations: 7.938 kB / 0.646 GB, free: 7.801 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002557/0.5877, allocations: 99 kB / 0.6461 GB, free: 7.711 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006205/0.5883, allocations: 207.7 kB / 0.6463 GB, free: 7.508 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004726/0.5931, allocations: 2.853 MB / 0.6491 GB, free: 4.648 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01698/0.6101, allocations: 11.5 MB / 0.6603 GB, free: 8.84 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003644/0.6138, allocations: 2.595 MB / 0.6629 GB, free: 6.121 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002284/0.6161, allocations: 1.529 MB / 0.6643 GB, free: 4.586 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/0.6162, allocations: 33.28 kB / 0.6644 GB, free: 4.555 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002293/0.6185, allocations: 1.696 MB / 0.666 GB, free: 2.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=247): time 4.298e-06/0.6185, allocations: 4 kB / 0.666 GB, free: 2.816 MB / 494.1 MB Notification: Performance of matching and sorting (n=276): time 0.02725/0.6458, allocations: 13.98 MB / 0.6797 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000233/0.6461, allocations: 419.7 kB / 0.6801 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00203/0.6481, allocations: 1.473 MB / 0.6815 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003695/0.6485, allocations: 85.64 kB / 0.6816 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008477/0.6493, allocations: 1.011 MB / 0.6826 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001093/0.6504, allocations: 0.8826 MB / 0.6835 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007699/0.6512, allocations: 0.5327 MB / 0.684 GB, free: 92 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.6514, allocations: 301.1 kB / 0.6843 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002125/0.6535, allocations: 1.351 MB / 0.6856 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002562/0.6561, allocations: 2.014 MB / 0.6876 GB, free: 12.16 MB / 0.5137 GB 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.0167/0.6728, allocations: 7.234 MB / 0.6946 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.403e-05/0.6728, allocations: 12 kB / 0.6946 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of matching and sorting (n=409) (initialization): time 0.01227/0.6851, allocations: 5.378 MB / 0.6999 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.5e-05/0.6853, allocations: 67.41 kB / 0.6999 GB, free: 15.05 MB / 0.5294 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.002948/0.6882, allocations: 1.359 MB / 0.7013 GB, free: 13.67 MB / 0.5294 GB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated