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.001499/0.001499, allocations: 110.9 kB / 17.74 MB, free: 5.297 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.001763/0.001763, allocations: 188.4 kB / 18.67 MB, free: 4.375 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.367/1.367, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1694/0.1694, allocations: 38.04 MB / 330.6 MB, free: 8.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 63.91 kB / 458.8 MB, free: 6.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3561, allocations: 58.06 MB / 0.5048 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindFarm): time 0.03799/0.3941, allocations: 39.1 MB / 0.5429 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03226/0.4264, allocations: 17.32 MB / 0.5598 GB, free: 14.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007935/0.4344, allocations: 246.5 kB / 0.5601 GB, free: 14.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04174/0.4762, allocations: 23.2 MB / 0.5827 GB, free: 8.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01538/0.4916, allocations: 5.018 MB / 0.5876 GB, free: 3.531 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009371/0.501, allocations: 3.272 MB / 0.5908 GB, free: 260 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02669/0.5277, allocations: 16.97 MB / 0.6074 GB, free: 15.24 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009873/0.5376, allocations: 5.723 MB / 0.613 GB, free: 9.449 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01288/0.5505, allocations: 5.59 MB / 0.6184 GB, free: 3.84 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01262/0.5632, allocations: 6.53 MB / 0.6248 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003778/0.567, allocations: 0.8789 MB / 0.6257 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007263/0.5743, allocations: 1.721 MB / 0.6274 GB, free: 10.69 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007617/0.582, allocations: 4.271 MB / 0.6315 GB, free: 6.406 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01129/0.5933, allocations: 4.779 MB / 0.6362 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02075/0.6141, allocations: 13.06 MB / 0.649 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.138e-05/0.6141, allocations: 0 / 0.649 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.177e-06/0.6141, allocations: 0 / 0.649 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0005182/0.6147, allocations: 0 / 0.649 GB, free: 4.508 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.02601/0.6407, allocations: 8.831 MB / 0.6576 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.6407, allocations: 15.89 kB / 0.6576 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008889/0.6496, allocations: 1.348 MB / 0.6589 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01529/0.665, allocations: 6.076 MB / 0.6648 GB, free: 4.031 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004634/0.6654, allocations: 484.5 kB / 0.6653 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003498/0.669, allocations: 0.9482 MB / 0.6662 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02236/0.6913, allocations: 10.03 MB / 0.676 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002559/0.6916, allocations: 39.67 kB / 0.6761 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001025/0.6927, allocations: 259.9 kB / 0.6763 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002686/0.6954, allocations: 0.8404 MB / 0.6771 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01965/0.715, allocations: 8.261 MB / 0.6852 GB, free: 14.85 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.5249/1.24, allocations: 36.11 MB / 0.7205 GB, free: 159 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01258/1.253, allocations: 8.06 MB / 0.7283 GB, free: 156.6 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006889/1.26, allocations: 3.153 MB / 0.7314 GB, free: 155.3 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003552/1.26, allocations: 78.67 kB / 0.7315 GB, free: 155.3 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.194e-05/1.26, allocations: 110.4 kB / 0.7316 GB, free: 155.2 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=559): time 9.177e-06/1.26, allocations: 0 / 0.7316 GB, free: 155.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=617): time 0.05085/1.311, allocations: 33.35 MB / 0.7642 GB, free: 136.1 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/1.311, allocations: 406.3 kB / 0.7646 GB, free: 135.7 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005065/1.316, allocations: 4.166 MB / 0.7686 GB, free: 134.3 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001097/1.317, allocations: 133 kB / 0.7688 GB, free: 134.1 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.001773/1.319, allocations: 3.259 MB / 0.7719 GB, free: 131.6 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002182/1.321, allocations: 2.181 MB / 0.7741 GB, free: 130 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001747/1.323, allocations: 1.254 MB / 0.7753 GB, free: 129.4 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.258e-05/1.323, allocations: 301.1 kB / 0.7756 GB, free: 129.1 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004052/1.327, allocations: 3.107 MB / 0.7786 GB, free: 127 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004601/1.332, allocations: 4.945 MB / 0.7834 GB, free: 121.9 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.04506/1.377, allocations: 27.09 MB / 0.8099 GB, free: 94.78 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