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.001545/0.001545, allocations: 111.9 kB / 17.68 MB, free: 5.355 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.001817/0.001817, allocations: 192 kB / 18.62 MB, free: 4.434 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.382/1.382, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1774/0.1774, allocations: 38.04 MB / 330.5 MB, free: 8.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 67.09 kB / 400.2 MB, free: 33.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1016, allocations: 58.06 MB / 458.3 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindFarm): time 0.0372/0.1388, allocations: 39.08 MB / 497.4 MB, free: 104 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2365/0.3753, allocations: 17.32 MB / 0.5026 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005692/0.3811, allocations: 242.3 kB / 0.5029 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03838/0.4195, allocations: 23.18 MB / 0.5255 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01131/0.4308, allocations: 4.948 MB / 0.5303 GB, free: 6.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007808/0.4386, allocations: 3.276 MB / 0.5335 GB, free: 4.746 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02381/0.4624, allocations: 16.97 MB / 0.5501 GB, free: 7.781 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007723/0.4702, allocations: 5.709 MB / 0.5557 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009573/0.4798, allocations: 5.532 MB / 0.5611 GB, free: 12.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009982/0.4898, allocations: 6.529 MB / 0.5675 GB, free: 6.941 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003643/0.4935, allocations: 0.875 MB / 0.5683 GB, free: 6.066 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00656/0.5, allocations: 1.728 MB / 0.57 GB, free: 4.398 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007135/0.5072, allocations: 4.264 MB / 0.5742 GB, free: 188 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009903/0.5171, allocations: 4.783 MB / 0.5789 GB, free: 11.4 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01639/0.5336, allocations: 13.04 MB / 0.5916 GB, free: 14.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/0.5336, allocations: 0 / 0.5916 GB, free: 14.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5336, allocations: 7.938 kB / 0.5916 GB, free: 14.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004715/0.5341, allocations: 4 kB / 0.5916 GB, free: 14.61 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.02232/0.5564, allocations: 8.83 MB / 0.6002 GB, free: 5.758 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.5565, allocations: 8.031 kB / 0.6002 GB, free: 5.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007072/0.5636, allocations: 1.352 MB / 0.6016 GB, free: 4.395 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01403/0.5776, allocations: 6.079 MB / 0.6075 GB, free: 14.31 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004462/0.5781, allocations: 485.7 kB / 0.608 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003148/0.5813, allocations: 0.9497 MB / 0.6089 GB, free: 12.95 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01879/0.6001, allocations: 10.03 MB / 0.6187 GB, free: 2.684 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001991/0.6003, allocations: 43.67 kB / 0.6187 GB, free: 2.641 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006728/0.601, allocations: 264.3 kB / 0.619 GB, free: 2.406 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002363/0.6033, allocations: 0.8403 MB / 0.6198 GB, free: 1.562 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01722/0.6206, allocations: 8.268 MB / 0.6279 GB, free: 9.277 MB / 478.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.06489/0.6855, allocations: 36.1 MB / 0.6631 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01169/0.6972, allocations: 8.058 MB / 0.671 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00508/0.7023, allocations: 3.156 MB / 0.6741 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000331/0.7027, allocations: 75.31 kB / 0.6741 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.978e-05/0.7028, allocations: 102.8 kB / 0.6742 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=559): time 6.993e-06/0.7028, allocations: 0 / 0.6742 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of matching and sorting (n=617): time 0.3931/1.096, allocations: 33.33 MB / 0.7068 GB, free: 182.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001478/1.096, allocations: 410.8 kB / 0.7072 GB, free: 181.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00763/1.104, allocations: 4.167 MB / 0.7113 GB, free: 180.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001414/1.105, allocations: 130.2 kB / 0.7114 GB, free: 180.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002577/1.108, allocations: 3.258 MB / 0.7146 GB, free: 178 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.003015/1.111, allocations: 2.181 MB / 0.7167 GB, free: 176.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002172/1.113, allocations: 1.249 MB / 0.7179 GB, free: 175.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 7.464e-05/1.113, allocations: 308 kB / 0.7182 GB, free: 175.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005251/1.118, allocations: 3.108 MB / 0.7212 GB, free: 174.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005017/1.123, allocations: 4.954 MB / 0.7261 GB, free: 171.1 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.04405/1.167, allocations: 27.08 MB / 0.7525 GB, free: 160 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