Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindFarm.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.Wind.WindFarm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindFarm") translateModel(PowerSystems.Examples.Wind.WindFarm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindFarm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 112.5 kB / 17.68 MB, free: 5.496 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.001711/0.001711, allocations: 190.9 kB / 18.62 MB, free: 4.562 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.452/1.452, allocations: 205.1 MB / 224.5 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1739/0.1739, allocations: 37.99 MB / 309.8 MB, free: 5.969 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.001425/0.001425, allocations: 67.91 kB / 376.8 MB, free: 2.914 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2707, allocations: 55.25 MB / 432 MB, free: 19.65 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindFarm): time 0.03481/0.3056, allocations: 39.08 MB / 471.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0333/0.339, allocations: 17.36 MB / 488.5 MB, free: 11.01 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007017/0.346, allocations: 242.7 kB / 488.7 MB, free: 10.77 MB / 366.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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeComponents: time 0.04159/0.3877, allocations: 23.18 MB / 0.4999 GB, free: 3.555 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01548/0.4032, allocations: 4.947 MB / 0.5047 GB, free: 14.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009626/0.4128, allocations: 3.268 MB / 0.5079 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.2666/0.6795, allocations: 16.96 MB / 0.5245 GB, free: 22.31 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00823/0.6877, allocations: 5.718 MB / 0.53 GB, free: 21.58 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.012/0.6998, allocations: 5.535 MB / 0.5354 GB, free: 21.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01154/0.7114, allocations: 6.527 MB / 0.5418 GB, free: 20.7 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003573/0.715, allocations: 0.8787 MB / 0.5427 GB, free: 20.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009725/0.7247, allocations: 1.724 MB / 0.5444 GB, free: 20.7 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008455/0.7332, allocations: 4.262 MB / 0.5485 GB, free: 20.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01336/0.7466, allocations: 4.783 MB / 0.5532 GB, free: 19.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02186/0.7685, allocations: 13.05 MB / 0.5659 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.7685, allocations: 0 / 0.5659 GB, free: 11.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.7685, allocations: 0 / 0.5659 GB, free: 11.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0006108/0.7692, allocations: 0 / 0.5659 GB, free: 11.23 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: 1835 * Number of variables: 1835 Notification: Performance of Generate backend data structure: time 0.02876/0.7979, allocations: 8.839 MB / 0.5746 GB, free: 2.391 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.798, allocations: 11.89 kB / 0.5746 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008617/0.8066, allocations: 1.355 MB / 0.5759 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01508/0.8217, allocations: 6.078 MB / 0.5818 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005021/0.8223, allocations: 487.3 kB / 0.5823 GB, free: 10.67 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003908/0.8262, allocations: 0.9447 MB / 0.5832 GB, free: 9.766 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02584/0.852, allocations: 10.03 MB / 0.593 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000317/0.8524, allocations: 38.78 kB / 0.5931 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001584/0.854, allocations: 263 kB / 0.5933 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002566/0.8566, allocations: 0.8404 MB / 0.5941 GB, free: 14.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02306/0.8796, allocations: 8.267 MB / 0.6022 GB, free: 6.215 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07546/0.9552, allocations: 36.12 MB / 0.6375 GB, free: 1.48 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0113/0.9665, allocations: 8.054 MB / 0.6453 GB, free: 9.055 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005192/0.9717, allocations: 3.151 MB / 0.6484 GB, free: 5.859 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003491/0.9721, allocations: 77.34 kB / 0.6485 GB, free: 5.789 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.734e-05/0.9722, allocations: 106.2 kB / 0.6486 GB, free: 5.68 MB / 478.1 MB Notification: Performance of pre-optimization done (n=559): time 7.734e-06/0.9722, allocations: 4 kB / 0.6486 GB, free: 5.676 MB / 478.1 MB Notification: Performance of matching and sorting (n=617): time 0.05843/1.031, allocations: 33.34 MB / 0.6812 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002068/1.031, allocations: 402.5 kB / 0.6815 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006161/1.037, allocations: 4.174 MB / 0.6856 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001128/1.038, allocations: 136.4 kB / 0.6857 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002545/1.041, allocations: 3.253 MB / 0.6889 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002611/1.043, allocations: 2.184 MB / 0.6911 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001988/1.045, allocations: 1.251 MB / 0.6923 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001009/1.045, allocations: 305.1 kB / 0.6926 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005775/1.051, allocations: 3.102 MB / 0.6956 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007684/1.059, allocations: 4.954 MB / 0.7004 GB, free: 15.21 MB / 0.5294 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.4646/1.524, allocations: 27.07 MB / 0.7269 GB, free: 189.7 MB / 0.5294 GB Warning: It was not possible to solve the under-determined initial system (646 equations and 676 variables) Error: No system for the symbolic initialization was generated