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.001013/0.001013, allocations: 114.9 kB / 17.74 MB, free: 5.293 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.001034/0.001034, allocations: 188.4 kB / 18.67 MB, free: 4.375 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.266/1.266, allocations: 205.1 MB / 224.5 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.18/0.18, allocations: 37.98 MB / 309.9 MB, free: 5.949 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.001331/0.001331, allocations: 67.91 kB / 432.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09548/0.09682, allocations: 55.25 MB / 487.8 MB, free: 8.328 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01365/0.1105, allocations: 13.32 MB / 0.4894 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01227/0.1228, allocations: 7.974 MB / 0.4972 GB, free: 2.941 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00152/0.1244, allocations: 47.75 kB / 0.4972 GB, free: 2.895 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.3439/0.4683, allocations: 91.2 MB / 0.5863 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003502/0.4718, allocations: 1.472 MB / 0.5877 GB, free: 1.484 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002552/0.4744, allocations: 1.044 MB / 0.5887 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01964/0.494, allocations: 14.52 MB / 0.6029 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002653/0.4967, allocations: 1.605 MB / 0.6045 GB, free: 1.375 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03028/0.5271, allocations: 23.53 MB / 0.6275 GB, free: 10.67 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003015/0.5301, allocations: 1.892 MB / 0.6293 GB, free: 8.914 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006028/0.5307, allocations: 240 kB / 0.6295 GB, free: 8.68 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002038/0.5328, allocations: 1.013 MB / 0.6305 GB, free: 7.699 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001228/0.534, allocations: 1.347 MB / 0.6318 GB, free: 6.359 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001738/0.5358, allocations: 1.426 MB / 0.6332 GB, free: 4.934 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004898/0.5407, allocations: 3.978 MB / 0.6371 GB, free: 1.051 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.004e-06/0.5407, allocations: 4 kB / 0.6371 GB, free: 1.047 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.5407, allocations: 3.938 kB / 0.6371 GB, free: 1.043 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.652e-05/0.5408, allocations: 0 / 0.6371 GB, free: 1.043 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.006433/0.5473, allocations: 3.18 MB / 0.6402 GB, free: 13.8 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.5473, allocations: 11.89 kB / 0.6402 GB, free: 13.79 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00206/0.5494, allocations: 460.4 kB / 0.6407 GB, free: 13.34 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003418/0.5528, allocations: 1.857 MB / 0.6425 GB, free: 11.46 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/0.553, allocations: 159.8 kB / 0.6426 GB, free: 11.3 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000536/0.5535, allocations: 260.3 kB / 0.6429 GB, free: 11.06 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004424/0.558, allocations: 3.185 MB / 0.646 GB, free: 7.738 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.583e-05/0.558, allocations: 12.72 kB / 0.646 GB, free: 7.727 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002076/0.5582, allocations: 87.88 kB / 0.6461 GB, free: 7.645 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005565/0.5588, allocations: 210.9 kB / 0.6463 GB, free: 7.441 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004269/0.5631, allocations: 2.857 MB / 0.6491 GB, free: 4.578 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01706/0.5802, allocations: 11.51 MB / 0.6603 GB, free: 8.766 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003581/0.5838, allocations: 2.595 MB / 0.6629 GB, free: 6.047 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002414/0.5863, allocations: 1.525 MB / 0.6644 GB, free: 4.516 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/0.5864, allocations: 29.05 kB / 0.6644 GB, free: 4.488 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002467/0.5889, allocations: 1.699 MB / 0.666 GB, free: 2.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=247): time 4.318e-06/0.5889, allocations: 0 / 0.666 GB, free: 2.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=276): time 0.02687/0.6158, allocations: 13.98 MB / 0.6797 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000237/0.616, allocations: 424.7 kB / 0.6801 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001999/0.618, allocations: 1.481 MB / 0.6815 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003886/0.6184, allocations: 77.7 kB / 0.6816 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008974/0.6193, allocations: 1.011 MB / 0.6826 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009679/0.6203, allocations: 0.8755 MB / 0.6835 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007665/0.6211, allocations: 0.5379 MB / 0.684 GB, free: 28 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.6212, allocations: 301.1 kB / 0.6843 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002118/0.6234, allocations: 1.343 MB / 0.6856 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002524/0.6259, allocations: 2.018 MB / 0.6875 GB, free: 12.1 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.01587/0.6418, allocations: 7.242 MB / 0.6946 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.706e-05/0.6418, allocations: 4 kB / 0.6946 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of matching and sorting (n=409) (initialization): time 0.01045/0.6523, allocations: 5.377 MB / 0.6999 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.536e-05/0.6524, allocations: 71.23 kB / 0.6999 GB, free: 15 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.002384/0.6548, allocations: 1.363 MB / 0.7013 GB, free: 13.61 MB / 0.5294 GB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated