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: "" <> buildModelFMU(PowerSystems.Examples.Wind.WindFarm,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindFarm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindFarm,fileNamePrefix="PowerSystems_PowerSystems_Examples_Wind_WindFarm",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001299, allocations: 103.8 kB / 17.06 MB, free: 6.016 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.001332/0.001332, allocations: 195 kB / 18 MB, free: 5.094 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.426/1.426, 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.1921/0.1921, allocations: 37.99 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.001512/0.001513, allocations: 64.23 kB / 431.4 MB, free: 16.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1034, allocations: 55.24 MB / 486.6 MB, free: 8.848 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindFarm): time 0.03854/0.1419, allocations: 39.09 MB / 0.5134 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03512/0.1771, allocations: 17.36 MB / 0.5303 GB, free: 196 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.2619/0.4391, allocations: 238.1 kB / 0.5305 GB, free: 3.059 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.04474/0.4839, allocations: 23.18 MB / 0.5532 GB, free: 2.469 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01246/0.4963, allocations: 4.95 MB / 0.558 GB, free: 1.016 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007489/0.5039, allocations: 3.271 MB / 0.5612 GB, free: 0 / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02387/0.5278, allocations: 16.98 MB / 0.5778 GB, free: 4.672 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00797/0.5358, allocations: 5.721 MB / 0.5834 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01263/0.5484, allocations: 5.595 MB / 0.5888 GB, free: 9.766 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01327/0.5617, allocations: 6.526 MB / 0.5952 GB, free: 3.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004061/0.5658, allocations: 0.8789 MB / 0.5961 GB, free: 2.852 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006867/0.5727, allocations: 1.725 MB / 0.5978 GB, free: 1.184 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00695/0.5797, allocations: 4.267 MB / 0.6019 GB, free: 12.97 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01034/0.5901, allocations: 4.773 MB / 0.6066 GB, free: 8.203 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01777/0.6079, allocations: 13.06 MB / 0.6193 GB, free: 11.4 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.423e-06/0.6079, allocations: 0 / 0.6193 GB, free: 11.4 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6079, allocations: 0 / 0.6193 GB, free: 11.4 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004289/0.6084, allocations: 0 / 0.6193 GB, free: 11.4 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.02861/0.637, allocations: 8.836 MB / 0.628 GB, free: 2.543 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.015e-05/0.6371, allocations: 15.89 kB / 0.628 GB, free: 2.527 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002749/0.6398, allocations: 0.9285 MB / 0.6289 GB, free: 1.609 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007928/0.6478, allocations: 1.347 MB / 0.6302 GB, free: 264 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01632/0.6641, allocations: 6.08 MB / 0.6361 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005265/0.6647, allocations: 487.5 kB / 0.6366 GB, free: 9.723 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003911/0.6686, allocations: 0.948 MB / 0.6375 GB, free: 8.812 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02232/0.6909, allocations: 10.03 MB / 0.6473 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002989/0.6913, allocations: 35.69 kB / 0.6474 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00147/0.6928, allocations: 267.7 kB / 0.6476 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002674/0.6954, allocations: 0.8365 MB / 0.6484 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01901/0.7145, allocations: 8.268 MB / 0.6565 GB, free: 5.148 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.06556/0.7801, allocations: 36.11 MB / 0.6918 GB, free: 68 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01113/0.7912, allocations: 8.057 MB / 0.6996 GB, free: 7.621 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006135/0.7974, allocations: 3.152 MB / 0.7027 GB, free: 4.43 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000536/0.7979, allocations: 80.25 kB / 0.7028 GB, free: 4.355 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.793e-05/0.7981, allocations: 102.8 kB / 0.7029 GB, free: 4.242 MB / 0.545 GB Notification: Performance of pre-optimization done (n=559): time 9.588e-06/0.7981, allocations: 3.938 kB / 0.7029 GB, free: 4.238 MB / 0.545 GB Notification: Performance of matching and sorting (n=617): time 0.06329/0.8614, allocations: 33.34 MB / 0.7355 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001905/0.8616, allocations: 415 kB / 0.7358 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006135/0.8678, allocations: 4.166 MB / 0.7399 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0008414/0.8686, allocations: 132.5 kB / 0.74 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.002434/0.8711, allocations: 3.262 MB / 0.7432 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002943/0.874, allocations: 2.181 MB / 0.7454 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003369/0.8774, allocations: 1.248 MB / 0.7466 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.8775, allocations: 305.1 kB / 0.7469 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005555/0.8831, allocations: 3.118 MB / 0.7499 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4776/1.361, allocations: 4.939 MB / 0.7547 GB, free: 208.6 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.05747/1.418, allocations: 27.08 MB / 0.7812 GB, free: 200.9 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