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.00119/0.00119, allocations: 106.9 kB / 17.06 MB, free: 6.02 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.001335/0.001335, allocations: 191 kB / 18 MB, free: 5.105 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.465/1.465, allocations: 222.9 MB / 241.7 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.19/0.19, allocations: 38.04 MB / 329.9 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 67.89 kB / 458.1 MB, free: 6.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5341/0.5354, allocations: 58.04 MB / 0.5041 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindFarm): time 0.05031/0.5858, allocations: 39.1 MB / 0.5423 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.05409/0.6399, allocations: 17.33 MB / 0.5592 GB, free: 14.17 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01235/0.6523, allocations: 241.2 kB / 0.5594 GB, free: 14.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05262/0.705, allocations: 23.2 MB / 0.5821 GB, free: 8.621 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02189/0.7269, allocations: 5.014 MB / 0.587 GB, free: 3.586 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01282/0.7398, allocations: 3.272 MB / 0.5902 GB, free: 316 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.03928/0.7791, allocations: 16.97 MB / 0.6067 GB, free: 15.29 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01729/0.7965, allocations: 5.719 MB / 0.6123 GB, free: 9.504 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01462/0.8111, allocations: 5.586 MB / 0.6178 GB, free: 3.898 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01412/0.8253, allocations: 6.53 MB / 0.6242 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004991/0.8304, allocations: 0.8789 MB / 0.625 GB, free: 12.47 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008702/0.8391, allocations: 1.721 MB / 0.6267 GB, free: 10.75 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01035/0.8495, allocations: 4.275 MB / 0.6309 GB, free: 6.461 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01586/0.8654, allocations: 4.779 MB / 0.6355 GB, free: 1.66 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02563/0.8911, allocations: 13.05 MB / 0.6483 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.8912, allocations: 0 / 0.6483 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8912, allocations: 4 kB / 0.6483 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0005485/0.8917, allocations: 0 / 0.6483 GB, free: 4.562 MB / 0.4981 GB 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.02932/0.9211, allocations: 8.834 MB / 0.6569 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.9211, allocations: 11.89 kB / 0.6569 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01141/0.9326, allocations: 1.352 MB / 0.6583 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01983/0.9524, allocations: 6.072 MB / 0.6642 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006722/0.9531, allocations: 488.5 kB / 0.6646 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004551/0.9577, allocations: 0.9443 MB / 0.6656 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03098/0.9887, allocations: 10.03 MB / 0.6754 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005215/0.9893, allocations: 35.69 kB / 0.6754 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002752/0.9921, allocations: 267.9 kB / 0.6757 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002937/0.995, allocations: 0.8403 MB / 0.6765 GB, free: 7.188 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02341/1.018, allocations: 8.261 MB / 0.6845 GB, free: 14.91 MB / 0.545 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.7168/1.735, allocations: 36.11 MB / 0.7198 GB, free: 159 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01446/1.75, allocations: 8.063 MB / 0.7277 GB, free: 156.5 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006431/1.756, allocations: 3.154 MB / 0.7308 GB, free: 155.3 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006699/1.757, allocations: 73.28 kB / 0.7308 GB, free: 155.3 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001124/1.757, allocations: 108.5 kB / 0.7309 GB, free: 155.2 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=559): time 1.344e-05/1.757, allocations: 0.9688 kB / 0.7309 GB, free: 155.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=617): time 0.07948/1.837, allocations: 33.36 MB / 0.7635 GB, free: 136.1 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001366/1.837, allocations: 411.8 kB / 0.7639 GB, free: 135.7 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005872/1.843, allocations: 4.165 MB / 0.768 GB, free: 134.2 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001363/1.844, allocations: 134.3 kB / 0.7681 GB, free: 134.1 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.00179/1.846, allocations: 3.259 MB / 0.7713 GB, free: 131.6 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002495/1.848, allocations: 2.181 MB / 0.7734 GB, free: 129.9 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001797/1.85, allocations: 1.245 MB / 0.7746 GB, free: 129.4 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.718e-05/1.85, allocations: 301.1 kB / 0.7749 GB, free: 129.1 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004951/1.855, allocations: 3.114 MB / 0.778 GB, free: 127.1 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007813/1.863, allocations: 4.943 MB / 0.7828 GB, free: 122 MB / 0.5607 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.06236/1.926, allocations: 27.09 MB / 0.8092 GB, free: 94.92 MB / 0.5607 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