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.001206/0.001206, allocations: 106.5 kB / 17.74 MB, free: 5.316 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.001372/0.001372, allocations: 197.2 kB / 18.67 MB, free: 4.395 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.34/1.34, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1746/0.1746, allocations: 38.04 MB / 330.6 MB, free: 8.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 67.84 kB / 458.8 MB, free: 6.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.311, allocations: 58.04 MB / 0.5048 GB, free: 7.684 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindFarm): time 0.03971/0.3507, allocations: 39.1 MB / 0.5429 GB, free: 11.85 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03227/0.383, allocations: 17.31 MB / 0.5599 GB, free: 14.11 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006257/0.3893, allocations: 245.9 kB / 0.5601 GB, free: 14.03 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03982/0.4292, allocations: 23.18 MB / 0.5827 GB, free: 8.664 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01316/0.4423, allocations: 4.947 MB / 0.5876 GB, free: 3.695 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008782/0.4511, allocations: 3.268 MB / 0.5907 GB, free: 432 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02519/0.4764, allocations: 16.98 MB / 0.6073 GB, free: 15.4 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01055/0.4869, allocations: 5.715 MB / 0.6129 GB, free: 9.617 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01104/0.498, allocations: 5.59 MB / 0.6184 GB, free: 4.008 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01171/0.5098, allocations: 6.526 MB / 0.6247 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004361/0.5142, allocations: 0.8789 MB / 0.6256 GB, free: 12.58 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006486/0.5207, allocations: 1.725 MB / 0.6273 GB, free: 10.86 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007142/0.5279, allocations: 4.275 MB / 0.6315 GB, free: 6.57 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01061/0.5385, allocations: 4.772 MB / 0.6361 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01804/0.5566, allocations: 13.06 MB / 0.6489 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.5566, allocations: 0 / 0.6489 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.42e-07/0.5566, allocations: 0 / 0.6489 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0004865/0.5571, allocations: 0 / 0.6489 GB, free: 4.68 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.02784/0.585, allocations: 8.83 MB / 0.6575 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.285e-05/0.5851, allocations: 11.89 kB / 0.6575 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00854/0.5936, allocations: 1.36 MB / 0.6588 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01618/0.6098, allocations: 6.072 MB / 0.6648 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006091/0.6104, allocations: 484.5 kB / 0.6652 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003512/0.614, allocations: 0.9443 MB / 0.6661 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01696/0.6309, allocations: 10.03 MB / 0.6759 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001703/0.6311, allocations: 39.67 kB / 0.676 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006778/0.6318, allocations: 271.9 kB / 0.6762 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002327/0.6342, allocations: 0.8365 MB / 0.6771 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01477/0.6489, allocations: 8.265 MB / 0.6851 GB, free: 15.02 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.4895/1.139, allocations: 36.11 MB / 0.7204 GB, free: 158.9 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01069/1.149, allocations: 8.061 MB / 0.7283 GB, free: 156.5 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004911/1.154, allocations: 3.155 MB / 0.7313 GB, free: 155.2 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003162/1.155, allocations: 76.83 kB / 0.7314 GB, free: 155.2 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.504e-05/1.155, allocations: 111.4 kB / 0.7315 GB, free: 155.1 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=559): time 8.165e-06/1.155, allocations: 1.125 kB / 0.7315 GB, free: 155.1 MB / 0.5607 GB Notification: Performance of matching and sorting (n=617): time 0.05003/1.205, allocations: 33.35 MB / 0.7641 GB, free: 136.1 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/1.205, allocations: 405.6 kB / 0.7645 GB, free: 135.7 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005209/1.21, allocations: 4.163 MB / 0.7685 GB, free: 134.2 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001003/1.211, allocations: 136.7 kB / 0.7687 GB, free: 134.1 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.001687/1.213, allocations: 3.257 MB / 0.7719 GB, free: 131.6 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001939/1.215, allocations: 2.185 MB / 0.774 GB, free: 129.9 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001688/1.216, allocations: 1.246 MB / 0.7752 GB, free: 129.3 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.118e-05/1.216, allocations: 304.7 kB / 0.7755 GB, free: 129 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003789/1.22, allocations: 3.104 MB / 0.7785 GB, free: 127.2 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004303/1.225, allocations: 4.948 MB / 0.7834 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.04336/1.268, allocations: 27.08 MB / 0.8098 GB, free: 94.96 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 Error: Internal error SimCode DAEmode: The model PowerSystems.Examples.Wind.WindFarm could not be translated