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.00116/0.00116, allocations: 112.7 kB / 17.06 MB, free: 5.996 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.001134/0.001135, allocations: 198.9 kB / 18 MB, free: 5.078 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.485/1.485, 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.1764/0.1764, allocations: 37.99 MB / 309.2 MB, free: 5.938 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.001431/0.001431, allocations: 67.91 kB / 431.9 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1581, allocations: 55.25 MB / 487.1 MB, free: 8.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindFarm): time 0.04739/0.2056, allocations: 39.09 MB / 0.5139 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.4388/0.6445, allocations: 17.36 MB / 0.5308 GB, free: 3.457 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009721/0.6543, allocations: 244.5 kB / 0.531 GB, free: 3.457 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.05074/0.7051, allocations: 23.17 MB / 0.5537 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02014/0.7253, allocations: 4.948 MB / 0.5585 GB, free: 1.375 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01144/0.7368, allocations: 3.272 MB / 0.5617 GB, free: 300 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.03562/0.7724, allocations: 16.97 MB / 0.5783 GB, free: 4.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01693/0.7894, allocations: 5.725 MB / 0.5839 GB, free: 14.85 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02172/0.8112, allocations: 5.592 MB / 0.5893 GB, free: 9.602 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01952/0.8308, allocations: 6.528 MB / 0.5957 GB, free: 3.562 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006044/0.8369, allocations: 0.8789 MB / 0.5966 GB, free: 2.684 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0102/0.8471, allocations: 1.717 MB / 0.5982 GB, free: 1.023 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0118/0.859, allocations: 4.276 MB / 0.6024 GB, free: 12.8 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01876/0.8778, allocations: 4.773 MB / 0.6071 GB, free: 8.035 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02919/0.9071, allocations: 13.06 MB / 0.6198 GB, free: 11.23 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.202e-05/0.9071, allocations: 0 / 0.6198 GB, free: 11.23 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.9071, allocations: 0 / 0.6198 GB, free: 11.23 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0007029/0.9078, allocations: 0 / 0.6198 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.03986/0.9477, allocations: 8.827 MB / 0.6284 GB, free: 2.379 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.999e-05/0.9478, allocations: 15.89 kB / 0.6285 GB, free: 2.363 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01257/0.9604, allocations: 1.35 MB / 0.6298 GB, free: 1.012 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02186/0.9823, allocations: 6.083 MB / 0.6357 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001021/0.9834, allocations: 488.1 kB / 0.6362 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006762/0.9902, allocations: 0.9489 MB / 0.6371 GB, free: 9.559 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03798/1.028, allocations: 10.03 MB / 0.6469 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008345/1.029, allocations: 39.67 kB / 0.6469 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003891/1.033, allocations: 261.6 kB / 0.6472 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003598/1.037, allocations: 0.8466 MB / 0.648 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02687/1.064, allocations: 8.265 MB / 0.6561 GB, free: 5.898 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.1024/1.166, allocations: 36.11 MB / 0.6913 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01458/1.181, allocations: 8.058 MB / 0.6992 GB, free: 8.371 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006647/1.187, allocations: 3.149 MB / 0.7023 GB, free: 5.184 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006817/1.188, allocations: 74.53 kB / 0.7024 GB, free: 5.113 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001336/1.188, allocations: 110.8 kB / 0.7025 GB, free: 4.992 MB / 0.545 GB Notification: Performance of pre-optimization done (n=559): time 1.232e-05/1.188, allocations: 3.984 kB / 0.7025 GB, free: 4.988 MB / 0.545 GB Notification: Performance of matching and sorting (n=617): time 0.08964/1.278, allocations: 33.34 MB / 0.735 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003015/1.278, allocations: 410.8 kB / 0.7354 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01121/1.29, allocations: 4.17 MB / 0.7395 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001951/1.292, allocations: 133.5 kB / 0.7396 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.004632/1.296, allocations: 3.265 MB / 0.7428 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.005201/1.301, allocations: 2.177 MB / 0.7449 GB, free: 8.73 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006995/1.309, allocations: 1.248 MB / 0.7462 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001656/1.309, allocations: 311 kB / 0.7465 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01153/1.32, allocations: 3.102 MB / 0.7495 GB, free: 4.07 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5774/1.898, allocations: 4.943 MB / 0.7543 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.06338/1.961, allocations: 27.08 MB / 0.7808 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