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.001116/0.001116, allocations: 114.3 kB / 17.75 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.001168/0.001168, allocations: 189.3 kB / 18.68 MB, free: 4.406 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.453/1.453, allocations: 205.1 MB / 224.6 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1767/0.1767, allocations: 37.98 MB / 309.9 MB, free: 5.957 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.001433/0.001433, allocations: 71.89 kB / 432.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09036/0.09181, allocations: 55.23 MB / 487.8 MB, free: 8.352 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01481/0.1067, allocations: 13.34 MB / 0.4894 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01328/0.12, allocations: 7.97 MB / 0.4972 GB, free: 2.949 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.1214, allocations: 51.69 kB / 0.4972 GB, free: 2.898 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.3214/0.4428, allocations: 91.2 MB / 0.5863 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003389/0.4462, allocations: 1.473 MB / 0.5877 GB, free: 1.531 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002141/0.4483, allocations: 1.05 MB / 0.5887 GB, free: 0.582 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01871/0.4671, allocations: 14.52 MB / 0.6029 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002518/0.4696, allocations: 1.601 MB / 0.6045 GB, free: 1.43 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03338/0.503, allocations: 23.54 MB / 0.6275 GB, free: 10.73 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003061/0.5061, allocations: 1.891 MB / 0.6293 GB, free: 8.977 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007964/0.5069, allocations: 244 kB / 0.6295 GB, free: 8.738 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002323/0.5093, allocations: 1.006 MB / 0.6305 GB, free: 7.766 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001668/0.511, allocations: 1.343 MB / 0.6318 GB, free: 6.426 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002298/0.5133, allocations: 1.433 MB / 0.6332 GB, free: 4.996 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004295/0.5176, allocations: 3.983 MB / 0.6371 GB, free: 1.109 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.5176, allocations: 0 / 0.6371 GB, free: 1.109 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.027e-06/0.5176, allocations: 0 / 0.6371 GB, free: 1.109 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.964e-05/0.5177, allocations: 3.938 kB / 0.6371 GB, free: 1.105 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.006279/0.524, allocations: 3.179 MB / 0.6402 GB, free: 13.86 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.524, allocations: 11.89 kB / 0.6402 GB, free: 13.85 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002139/0.5262, allocations: 461.1 kB / 0.6407 GB, free: 13.4 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003565/0.5298, allocations: 1.856 MB / 0.6425 GB, free: 11.52 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.5299, allocations: 158.8 kB / 0.6427 GB, free: 11.37 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005231/0.5304, allocations: 265.4 kB / 0.6429 GB, free: 11.12 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004632/0.5351, allocations: 3.175 MB / 0.646 GB, free: 7.805 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.63e-05/0.5351, allocations: 15.91 kB / 0.646 GB, free: 7.789 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000207/0.5353, allocations: 86.88 kB / 0.6461 GB, free: 7.711 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005894/0.5359, allocations: 215.7 kB / 0.6463 GB, free: 7.5 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004404/0.5404, allocations: 2.849 MB / 0.6491 GB, free: 4.645 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01534/0.5557, allocations: 11.51 MB / 0.6603 GB, free: 8.832 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003366/0.5591, allocations: 2.595 MB / 0.6629 GB, free: 6.113 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002204/0.5613, allocations: 1.528 MB / 0.6644 GB, free: 4.578 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.973e-05/0.5614, allocations: 24.03 kB / 0.6644 GB, free: 4.555 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00231/0.5638, allocations: 1.704 MB / 0.666 GB, free: 2.812 MB / 494.1 MB Notification: Performance of pre-optimization done (n=247): time 4.659e-06/0.5638, allocations: 0 / 0.666 GB, free: 2.812 MB / 494.1 MB Notification: Performance of matching and sorting (n=276): time 0.02685/0.5906, allocations: 13.98 MB / 0.6797 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001947/0.5909, allocations: 417.8 kB / 0.6801 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001862/0.5927, allocations: 1.477 MB / 0.6815 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002237/0.593, allocations: 89.08 kB / 0.6816 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008175/0.5938, allocations: 1.007 MB / 0.6826 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000819/0.5946, allocations: 0.8764 MB / 0.6835 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007711/0.5954, allocations: 0.5389 MB / 0.684 GB, free: 96 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.5955, allocations: 309.1 kB / 0.6843 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002084/0.5976, allocations: 1.347 MB / 0.6856 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002561/0.6002, 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.01632/0.6165, allocations: 7.235 MB / 0.6946 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.789e-05/0.6166, allocations: 8 kB / 0.6946 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of matching and sorting (n=409) (initialization): time 0.01056/0.6271, allocations: 5.378 MB / 0.6999 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.619e-05/0.6272, allocations: 67.41 kB / 0.7 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.002312/0.6295, 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 Error: Internal error SimCode DAEmode: The model PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG could not be translated