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.001447/0.001447, allocations: 110.3 kB / 17.75 MB, free: 5.359 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.001342/0.001342, allocations: 181.4 kB / 18.67 MB, free: 4.441 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.391/1.391, allocations: 205.1 MB / 224.5 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.1758/0.1758, allocations: 37.98 MB / 309.9 MB, free: 5.965 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.001492/0.001492, allocations: 63.91 kB / 432.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1412, allocations: 55.24 MB / 487.8 MB, free: 8.359 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindFarm): time 0.06576/0.207, allocations: 39.08 MB / 0.5145 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.2653/0.4724, allocations: 17.36 MB / 0.5315 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006454/0.4789, allocations: 241.3 kB / 0.5317 GB, free: 3.477 MB / 414.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.04074/0.5197, allocations: 23.17 MB / 0.5543 GB, free: 2.848 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01193/0.5316, allocations: 4.951 MB / 0.5592 GB, free: 1.391 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007779/0.5394, allocations: 3.271 MB / 0.5624 GB, free: 304 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02449/0.5639, allocations: 16.98 MB / 0.5789 GB, free: 4.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008402/0.5724, allocations: 5.717 MB / 0.5845 GB, free: 14.85 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01135/0.5838, allocations: 5.59 MB / 0.59 GB, free: 9.602 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01128/0.5951, allocations: 6.532 MB / 0.5964 GB, free: 3.562 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003027/0.5981, allocations: 0.8789 MB / 0.5972 GB, free: 2.684 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006008/0.6041, allocations: 1.719 MB / 0.5989 GB, free: 1.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007186/0.6114, allocations: 4.276 MB / 0.6031 GB, free: 12.8 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01076/0.6221, allocations: 4.775 MB / 0.6077 GB, free: 8.031 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01926/0.6414, allocations: 13.06 MB / 0.6205 GB, free: 11.23 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.6415, allocations: 0 / 0.6205 GB, free: 11.23 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6415, allocations: 0 / 0.6205 GB, free: 11.23 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004711/0.642, allocations: 0 / 0.6205 GB, free: 11.23 MB / 478.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.02569/0.6677, allocations: 8.83 MB / 0.6291 GB, free: 2.375 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.6677, allocations: 11.89 kB / 0.6291 GB, free: 2.363 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00848/0.6762, allocations: 1.354 MB / 0.6304 GB, free: 1.004 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01561/0.6918, allocations: 6.075 MB / 0.6364 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000468/0.6923, allocations: 487.2 kB / 0.6368 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003241/0.6956, allocations: 0.9537 MB / 0.6378 GB, free: 9.559 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02107/0.7167, allocations: 10.03 MB / 0.6476 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002796/0.717, allocations: 35.69 kB / 0.6476 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001439/0.7184, allocations: 268.6 kB / 0.6479 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002575/0.721, allocations: 0.8404 MB / 0.6487 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0192/0.7402, allocations: 8.268 MB / 0.6567 GB, free: 5.895 MB / 0.4981 GB 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.06884/0.8091, allocations: 36.11 MB / 0.692 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01198/0.8211, allocations: 8.058 MB / 0.6999 GB, free: 8.367 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005545/0.8267, allocations: 3.153 MB / 0.703 GB, free: 5.176 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005042/0.8272, allocations: 81.58 kB / 0.703 GB, free: 5.102 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.642e-05/0.8273, allocations: 98.78 kB / 0.7031 GB, free: 4.992 MB / 0.545 GB Notification: Performance of pre-optimization done (n=559): time 1.038e-05/0.8274, allocations: 0 / 0.7031 GB, free: 4.992 MB / 0.545 GB Notification: Performance of matching and sorting (n=617): time 0.05974/0.8871, allocations: 33.34 MB / 0.7357 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001794/0.8873, allocations: 407.1 kB / 0.7361 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005395/0.8927, allocations: 4.166 MB / 0.7401 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0009407/0.8937, allocations: 132.6 kB / 0.7403 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.002431/0.8961, allocations: 3.261 MB / 0.7435 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002709/0.8988, allocations: 2.181 MB / 0.7456 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002105/0.901, allocations: 1.247 MB / 0.7468 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.9011, allocations: 309 kB / 0.7471 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004978/0.9061, allocations: 3.114 MB / 0.7501 GB, free: 4.07 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3915/1.298, allocations: 4.937 MB / 0.755 GB, free: 208.2 MB / 0.5919 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.05065/1.348, allocations: 27.09 MB / 0.7814 GB, free: 200.7 MB / 0.5919 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 Error: Internal error SimCode DAEmode: The model PowerSystems.Examples.Wind.WindFarm could not be translated