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.001239/0.001239, allocations: 109.2 kB / 17.06 MB, free: 6.016 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.001259/0.001259, allocations: 192 kB / 18 MB, free: 5.102 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.581/1.581, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1858/0.1858, allocations: 38.05 MB / 329.9 MB, free: 8.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 59.91 kB / 458.1 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4832/0.4844, allocations: 58.06 MB / 0.5041 GB, free: 7.777 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindFarm): time 0.04397/0.5284, allocations: 39.09 MB / 0.5423 GB, free: 11.94 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04271/0.5711, allocations: 17.32 MB / 0.5592 GB, free: 14.14 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01438/0.5856, allocations: 242.5 kB / 0.5594 GB, free: 14.06 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05317/0.6388, allocations: 23.18 MB / 0.5821 GB, free: 8.617 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02126/0.6601, allocations: 4.943 MB / 0.5869 GB, free: 3.652 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01189/0.672, allocations: 3.276 MB / 0.5901 GB, free: 380 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.03106/0.7031, allocations: 16.97 MB / 0.6067 GB, free: 15.35 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0132/0.7163, allocations: 5.719 MB / 0.6122 GB, free: 9.566 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01406/0.7304, allocations: 5.531 MB / 0.6176 GB, free: 4.016 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01373/0.7442, allocations: 6.522 MB / 0.624 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007075/0.7514, allocations: 0.8789 MB / 0.6249 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01029/0.7617, allocations: 1.717 MB / 0.6265 GB, free: 10.88 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009791/0.7715, allocations: 4.279 MB / 0.6307 GB, free: 6.586 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01378/0.7854, allocations: 4.772 MB / 0.6354 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0231/0.8085, allocations: 13.1 MB / 0.6482 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.8085, allocations: 0 / 0.6482 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8085, allocations: 0 / 0.6482 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.000596/0.8091, allocations: 0 / 0.6482 GB, free: 4.648 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.02824/0.8374, allocations: 9.07 MB / 0.657 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.8374, allocations: 11.89 kB / 0.657 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008981/0.8464, allocations: 1.392 MB / 0.6584 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01837/0.8648, allocations: 6.119 MB / 0.6644 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005846/0.8654, allocations: 488.4 kB / 0.6648 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005007/0.8705, allocations: 0.9485 MB / 0.6658 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03235/0.9029, allocations: 10.04 MB / 0.6756 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005132/0.9034, allocations: 39.73 kB / 0.6756 GB, free: 8.043 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003116/0.9065, allocations: 267.9 kB / 0.6759 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003048/0.9096, allocations: 0.8365 MB / 0.6767 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02107/0.9307, allocations: 8.268 MB / 0.6848 GB, free: 14.66 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.6832/1.614, allocations: 36.19 MB / 0.7201 GB, free: 158.8 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01309/1.627, allocations: 8.057 MB / 0.728 GB, free: 156.3 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008258/1.635, allocations: 3.155 MB / 0.7311 GB, free: 155 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007608/1.636, allocations: 79.75 kB / 0.7311 GB, free: 155 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001301/1.636, allocations: 99.45 kB / 0.7312 GB, free: 154.9 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=559): time 1.007e-05/1.636, allocations: 0 / 0.7312 GB, free: 154.9 MB / 0.5607 GB Notification: Performance of matching and sorting (n=617): time 0.06068/1.697, allocations: 34.27 MB / 0.7647 GB, free: 135.2 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/1.697, allocations: 410.4 kB / 0.7651 GB, free: 134.8 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008158/1.705, allocations: 4.172 MB / 0.7692 GB, free: 133.3 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.00227/1.708, allocations: 136.3 kB / 0.7693 GB, free: 133.2 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003311/1.711, allocations: 3.336 MB / 0.7725 GB, free: 131 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.00313/1.714, allocations: 2.29 MB / 0.7748 GB, free: 129.5 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002111/1.716, allocations: 1.252 MB / 0.776 GB, free: 128.9 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 6.598e-05/1.716, allocations: 305.1 kB / 0.7763 GB, free: 128.6 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004259/1.721, allocations: 3.107 MB / 0.7793 GB, free: 126.6 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0048/1.726, allocations: 4.948 MB / 0.7842 GB, free: 121.5 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.0509/1.776, allocations: 27.09 MB / 0.8106 GB, free: 94.39 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