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.000656/0.000656, allocations: 96.69 kB / 16.65 MB, free: 6.598 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.0007614/0.0007614, allocations: 182.2 kB / 17.56 MB, free: 6.199 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.219/1.219, allocations: 223.3 MB / 241.6 MB, free: 188 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1617/0.1617, allocations: 38.09 MB / 330.8 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002953/0.0002954, allocations: 8 kB / 400.7 MB, free: 34.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1112, allocations: 59.17 MB / 459.9 MB, free: 7.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindFarm): time 0.03923/0.1505, allocations: 46.33 MB / 0.4944 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.261/0.4115, allocations: 20.17 MB / 0.5141 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007797/0.4193, allocations: 391.8 kB / 0.5144 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03186/0.4512, allocations: 20.43 MB / 0.5344 GB, free: 4.902 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01345/0.4647, allocations: 4.76 MB / 0.539 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008484/0.4732, allocations: 2.981 MB / 0.5419 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02786/0.5011, allocations: 24.33 MB / 0.5657 GB, free: 9.371 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01251/0.5136, allocations: 6.862 MB / 0.5724 GB, free: 3.012 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008749/0.5224, allocations: 4.25 MB / 0.5766 GB, free: 15.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01053/0.533, allocations: 6.473 MB / 0.5829 GB, free: 9.086 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00255/0.5356, allocations: 368 kB / 0.5832 GB, free: 8.727 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005351/0.5409, allocations: 1.268 MB / 0.5845 GB, free: 7.516 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005855/0.5468, allocations: 3.716 MB / 0.5881 GB, free: 3.852 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009278/0.5561, allocations: 4.118 MB / 0.5921 GB, free: 15.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02126/0.5774, allocations: 12.29 MB / 0.6041 GB, free: 3.699 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/0.5775, allocations: 0 / 0.6041 GB, free: 3.699 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.5775, allocations: 0 / 0.6041 GB, free: 3.699 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000479/0.578, allocations: 0 / 0.6041 GB, free: 3.699 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.02117/0.5991, allocations: 7.141 MB / 0.6111 GB, free: 12.49 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.5992, allocations: 8.031 kB / 0.6111 GB, free: 12.48 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007899/0.6071, allocations: 1.358 MB / 0.6124 GB, free: 11.12 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01293/0.6201, allocations: 5.824 MB / 0.6181 GB, free: 5.297 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000538/0.6206, allocations: 483.8 kB / 0.6186 GB, free: 4.848 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003214/0.6239, allocations: 0.9436 MB / 0.6195 GB, free: 3.938 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02301/0.6469, allocations: 10.04 MB / 0.6293 GB, free: 9.664 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004006/0.6473, allocations: 39.67 kB / 0.6293 GB, free: 9.625 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00179/0.6491, allocations: 261.8 kB / 0.6296 GB, free: 9.395 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003085/0.6522, allocations: 0.8481 MB / 0.6304 GB, free: 8.543 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01767/0.6699, allocations: 8.28 MB / 0.6385 GB, free: 252 kB / 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.06918/0.7392, allocations: 36.46 MB / 0.6741 GB, free: 10.81 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01094/0.7501, allocations: 8.07 MB / 0.682 GB, free: 2.348 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005424/0.7556, allocations: 3.163 MB / 0.6851 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005991/0.7562, allocations: 74.55 kB / 0.6851 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000108/0.7564, allocations: 98.78 kB / 0.6852 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=559): time 9.678e-06/0.7564, allocations: 3.938 kB / 0.6852 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of matching and sorting (n=617): time 0.4483/1.205, allocations: 33.41 MB / 0.7179 GB, free: 177.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/1.205, allocations: 410.8 kB / 0.7183 GB, free: 177.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005953/1.211, allocations: 4.173 MB / 0.7223 GB, free: 175.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0009282/1.212, allocations: 130.9 kB / 0.7225 GB, free: 175.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001968/1.214, allocations: 3.263 MB / 0.7256 GB, free: 173.1 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002045/1.216, allocations: 2.182 MB / 0.7278 GB, free: 171.4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000771/1.217, allocations: 0.5975 MB / 0.7284 GB, free: 171.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.78e-05/1.217, allocations: 301.1 kB / 0.7286 GB, free: 170.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004194/1.221, allocations: 3.117 MB / 0.7317 GB, free: 169.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004533/1.225, allocations: 4.952 MB / 0.7365 GB, free: 166.5 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.04716/1.273, allocations: 27.15 MB / 0.763 GB, free: 151.3 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