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.001218/0.001218, allocations: 106.4 kB / 17.06 MB, free: 6.027 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.001156/0.001156, allocations: 195 kB / 18 MB, free: 5.105 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.242/1.242, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1711/0.1711, allocations: 37.98 MB / 309.2 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.001278/0.001278, allocations: 63.91 kB / 431.9 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07999/0.08128, allocations: 55.25 MB / 487.1 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.DoubleRXlineTG): time 0.01204/0.09334, allocations: 13.34 MB / 0.4887 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01054/0.1039, allocations: 7.97 MB / 0.4965 GB, free: 2.949 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009285/0.1049, allocations: 51.69 kB / 0.4966 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.3033/0.4082, allocations: 91.19 MB / 0.5856 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00358/0.4118, allocations: 1.481 MB / 0.5871 GB, free: 1.504 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002582/0.4144, allocations: 1.05 MB / 0.5881 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01852/0.4329, allocations: 14.51 MB / 0.6022 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002456/0.4354, allocations: 1.602 MB / 0.6038 GB, free: 1.406 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03007/0.4655, allocations: 23.54 MB / 0.6268 GB, free: 10.71 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00282/0.4683, allocations: 1.888 MB / 0.6286 GB, free: 8.957 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008179/0.4692, allocations: 244 kB / 0.6289 GB, free: 8.719 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002537/0.4717, allocations: 1.014 MB / 0.6299 GB, free: 7.738 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001805/0.4736, allocations: 1.337 MB / 0.6312 GB, free: 6.406 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002832/0.4764, allocations: 1.436 MB / 0.6326 GB, free: 4.973 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004708/0.4811, allocations: 3.98 MB / 0.6365 GB, free: 1.09 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4812, allocations: 4 kB / 0.6365 GB, free: 1.086 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.617e-06/0.4812, allocations: 0 / 0.6365 GB, free: 1.086 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.941e-05/0.4813, allocations: 3.938 kB / 0.6365 GB, free: 1.082 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.005629/0.4869, allocations: 3.183 MB / 0.6396 GB, free: 13.84 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.4869, allocations: 11.89 kB / 0.6396 GB, free: 13.82 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001937/0.4889, allocations: 456.3 kB / 0.64 GB, free: 13.38 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003045/0.4919, allocations: 1.86 MB / 0.6418 GB, free: 11.5 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.4921, allocations: 158.8 kB / 0.642 GB, free: 11.35 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004869/0.4926, allocations: 254.8 kB / 0.6422 GB, free: 11.11 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004409/0.497, allocations: 3.182 MB / 0.6453 GB, free: 7.785 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.126e-05/0.4971, allocations: 11.94 kB / 0.6454 GB, free: 7.773 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001905/0.4973, allocations: 94.69 kB / 0.6454 GB, free: 7.688 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005497/0.4978, allocations: 211.8 kB / 0.6456 GB, free: 7.48 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004058/0.5019, allocations: 2.849 MB / 0.6484 GB, free: 4.625 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01409/0.516, allocations: 11.51 MB / 0.6597 GB, free: 8.812 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003063/0.5191, allocations: 2.595 MB / 0.6622 GB, free: 6.094 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002039/0.5211, allocations: 1.522 MB / 0.6637 GB, free: 4.562 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.5213, allocations: 37.83 kB / 0.6637 GB, free: 4.527 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002144/0.5234, allocations: 1.699 MB / 0.6654 GB, free: 2.789 MB / 494.1 MB Notification: Performance of pre-optimization done (n=247): time 4.869e-06/0.5234, allocations: 0 / 0.6654 GB, free: 2.789 MB / 494.1 MB Notification: Performance of matching and sorting (n=276): time 0.02482/0.5483, allocations: 13.98 MB / 0.679 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001703/0.5485, allocations: 409.8 kB / 0.6794 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00169/0.5502, allocations: 1.473 MB / 0.6809 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001668/0.5503, allocations: 88.83 kB / 0.681 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007434/0.5511, allocations: 1.012 MB / 0.6819 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006662/0.5518, allocations: 0.8795 MB / 0.6828 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006845/0.5524, allocations: 0.5376 MB / 0.6833 GB, free: 68 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.849e-05/0.5526, allocations: 305.1 kB / 0.6836 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001894/0.5545, allocations: 1.347 MB / 0.6849 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00239/0.5569, allocations: 2.022 MB / 0.6869 GB, free: 12.12 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.01426/0.5711, allocations: 7.228 MB / 0.694 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.766e-05/0.5712, allocations: 8 kB / 0.694 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of matching and sorting (n=409) (initialization): time 0.009151/0.5803, allocations: 5.375 MB / 0.6992 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.125e-05/0.5804, allocations: 76.3 kB / 0.6993 GB, free: 15.02 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.001941/0.5824, allocations: 1.359 MB / 0.7006 GB, free: 13.64 MB / 0.5294 GB Error: post-optimization module simplifyComplexFunction (initialization) failed. Error: No system for the symbolic initialization was generated