Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindFarm") translateModel(PowerSystems.Examples.Wind.WindFarm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_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.001173/0.001173, allocations: 109.7 kB / 17.16 MB, free: 6.328 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.0009902/0.0009902, allocations: 202.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 241.7 MB, free: 13.81 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1681/0.1681, allocations: 38.02 MB / 329.9 MB, free: 8.883 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001074, allocations: 62.12 kB / 398.7 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1247, allocations: 58.06 MB / 456.8 MB, free: 8.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindFarm): time 0.04312/0.1678, allocations: 47.62 MB / 0.4926 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3332/0.501, allocations: 20.4 MB / 0.5125 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01199/0.5131, allocations: 416.5 kB / 0.5129 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0427/0.5558, allocations: 23.29 MB / 0.5356 GB, free: 2.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01424/0.5701, allocations: 4.756 MB / 0.5403 GB, free: 15.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01047/0.5806, allocations: 2.987 MB / 0.5432 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.03271/0.6134, allocations: 24.33 MB / 0.567 GB, free: 6.758 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01173/0.6251, allocations: 5.033 MB / 0.5719 GB, free: 1.789 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01235/0.6375, allocations: 4.522 MB / 0.5763 GB, free: 13.45 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01284/0.6504, allocations: 6.805 MB / 0.5829 GB, free: 7.129 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004955/0.6554, allocations: 480 kB / 0.5834 GB, free: 6.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007493/0.6629, allocations: 1.368 MB / 0.5847 GB, free: 5.348 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008664/0.6716, allocations: 3.897 MB / 0.5885 GB, free: 1.504 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01294/0.6846, allocations: 4.302 MB / 0.5927 GB, free: 13.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01618/0.7009, allocations: 10.44 MB / 0.6029 GB, free: 3.016 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/0.7009, allocations: 4 kB / 0.6029 GB, free: 3.012 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.467e-06/0.7009, allocations: 3.938 kB / 0.6029 GB, free: 3.008 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005755/0.7015, allocations: 7.938 kB / 0.6029 GB, free: 3 MB / 446.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.03075/0.7323, allocations: 8.827 MB / 0.6116 GB, free: 10.15 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.7323, allocations: 8.031 kB / 0.6116 GB, free: 10.14 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009967/0.7423, allocations: 1.361 MB / 0.6129 GB, free: 8.781 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0167/0.7591, allocations: 5.799 MB / 0.6186 GB, free: 2.98 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006656/0.7598, allocations: 490.2 kB / 0.619 GB, free: 2.523 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004661/0.7645, allocations: 0.948 MB / 0.62 GB, free: 1.613 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02929/0.7938, allocations: 10.03 MB / 0.6298 GB, free: 7.348 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005043/0.7943, allocations: 40.55 kB / 0.6298 GB, free: 7.309 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002725/0.7971, allocations: 268.4 kB / 0.63 GB, free: 7.07 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002879/0.8, allocations: 0.8404 MB / 0.6309 GB, free: 6.227 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02166/0.8217, allocations: 8.265 MB / 0.6389 GB, free: 13.95 MB / 494.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.07815/0.8999, allocations: 36.38 MB / 0.6745 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01443/0.9143, allocations: 8.057 MB / 0.6823 GB, free: 144 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00687/0.9213, allocations: 3.155 MB / 0.6854 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007343/0.922, allocations: 75.95 kB / 0.6855 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/0.9222, allocations: 102.8 kB / 0.6856 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=559): time 1.567e-05/0.9222, allocations: 0 / 0.6856 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of matching and sorting (n=617): time 0.581/1.503, allocations: 33.34 MB / 0.7181 GB, free: 176.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001467/1.503, allocations: 409.4 kB / 0.7185 GB, free: 175.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007514/1.511, allocations: 4.166 MB / 0.7226 GB, free: 174.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001396/1.512, allocations: 133.4 kB / 0.7227 GB, free: 174.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002354/1.515, allocations: 3.256 MB / 0.7259 GB, free: 171.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.003137/1.518, allocations: 2.187 MB / 0.728 GB, free: 170.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002134/1.52, allocations: 1.255 MB / 0.7293 GB, free: 169.5 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.197e-05/1.52, allocations: 301.8 kB / 0.7296 GB, free: 169.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004331/1.524, allocations: 3.106 MB / 0.7326 GB, free: 168.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004862/1.529, allocations: 4.945 MB / 0.7374 GB, free: 164.9 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.05142/1.581, allocations: 27.08 MB / 0.7639 GB, free: 149.1 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