%
% Status : main Dynare file 
%
% Warning : this file is generated automatically by Dynare
%           from model file (.mod)

tic;
global M_ oo_ options_ ys0_ ex0_ estimation_info
options_ = [];
M_.fname = 'BBCDLmodelcomp_nash_c1pid_c2pid';
%
% Some global variables initialization
%
global_initialization;
diary off;
diary('BBCDLmodelcomp_nash_c1pid_c2pid.log');
M_.exo_names = 'c1shockgyerr';
M_.exo_names_tex = 'c1shockgyerr';
M_.exo_names_long = 'c1shockgyerr';
M_.exo_names = char(M_.exo_names, 'c1zerr');
M_.exo_names_tex = char(M_.exo_names_tex, 'c1zerr');
M_.exo_names_long = char(M_.exo_names_long, 'c1zerr');
M_.exo_names = char(M_.exo_names, 'c2shockgyerr');
M_.exo_names_tex = char(M_.exo_names_tex, 'c2shockgyerr');
M_.exo_names_long = char(M_.exo_names_long, 'c2shockgyerr');
M_.exo_names = char(M_.exo_names, 'c2zerr');
M_.exo_names_tex = char(M_.exo_names_tex, 'c2zerr');
M_.exo_names_long = char(M_.exo_names_long, 'c2zerr');
M_.exo_names = char(M_.exo_names, 'c2taupvarerr');
M_.exo_names_tex = char(M_.exo_names_tex, 'c2taupvarerr');
M_.exo_names_long = char(M_.exo_names_long, 'c2taupvarerr');
M_.exo_names = char(M_.exo_names, 'c1taupvarerr');
M_.exo_names_tex = char(M_.exo_names_tex, 'c1taupvarerr');
M_.exo_names_long = char(M_.exo_names_long, 'c1taupvarerr');
M_.exo_names = char(M_.exo_names, 'c1monerr');
M_.exo_names_tex = char(M_.exo_names_tex, 'c1monerr');
M_.exo_names_long = char(M_.exo_names_long, 'c1monerr');
M_.exo_names = char(M_.exo_names, 'c2monerr');
M_.exo_names_tex = char(M_.exo_names_tex, 'c2monerr');
M_.exo_names_long = char(M_.exo_names_long, 'c2monerr');
M_.endo_names = 'Welf1';
M_.endo_names_tex = 'Welf1';
M_.endo_names_long = 'Welf1';
M_.endo_names = char(M_.endo_names, 'Welf2');
M_.endo_names_tex = char(M_.endo_names_tex, 'Welf2');
M_.endo_names_long = char(M_.endo_names_long, 'Welf2');
M_.endo_names = char(M_.endo_names, 'instr1');
M_.endo_names_tex = char(M_.endo_names_tex, 'instr1');
M_.endo_names_long = char(M_.endo_names_long, 'instr1');
M_.endo_names = char(M_.endo_names, 'instr2');
M_.endo_names_tex = char(M_.endo_names_tex, 'instr2');
M_.endo_names_long = char(M_.endo_names_long, 'instr2');
M_.endo_names = char(M_.endo_names, 'Util1');
M_.endo_names_tex = char(M_.endo_names_tex, 'Util1');
M_.endo_names_long = char(M_.endo_names_long, 'Util1');
M_.endo_names = char(M_.endo_names, 'Util2');
M_.endo_names_tex = char(M_.endo_names_tex, 'Util2');
M_.endo_names_long = char(M_.endo_names_long, 'Util2');
M_.endo_names = char(M_.endo_names, 'c1c');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1c');
M_.endo_names_long = char(M_.endo_names_long, 'c1c');
M_.endo_names = char(M_.endo_names, 'c1cd');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1cd');
M_.endo_names_long = char(M_.endo_names_long, 'c1cd');
M_.endo_names = char(M_.endo_names, 'c1mc');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1mc');
M_.endo_names_long = char(M_.endo_names_long, 'c1mc');
M_.endo_names = char(M_.endo_names, 'c1y');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1y');
M_.endo_names_long = char(M_.endo_names_long, 'c1y');
M_.endo_names = char(M_.endo_names, 'c1g');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1g');
M_.endo_names_long = char(M_.endo_names_long, 'c1g');
M_.endo_names = char(M_.endo_names, 'c1rpcpd');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1rpcpd');
M_.endo_names_long = char(M_.endo_names_long, 'c1rpcpd');
M_.endo_names = char(M_.endo_names, 'c1pid');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1pid');
M_.endo_names_long = char(M_.endo_names_long, 'c1pid');
M_.endo_names = char(M_.endo_names, 'c1hp');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1hp');
M_.endo_names_long = char(M_.endo_names_long, 'c1hp');
M_.endo_names = char(M_.endo_names, 'c1gp');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1gp');
M_.endo_names_long = char(M_.endo_names_long, 'c1gp');
M_.endo_names = char(M_.endo_names, 'c1pstar');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1pstar');
M_.endo_names_long = char(M_.endo_names_long, 'c1pstar');
M_.endo_names = char(M_.endo_names, 'c1deltad');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1deltad');
M_.endo_names_long = char(M_.endo_names_long, 'c1deltad');
M_.endo_names = char(M_.endo_names, 'c1rn');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1rn');
M_.endo_names_long = char(M_.endo_names_long, 'c1rn');
M_.endo_names = char(M_.endo_names, 'c1rer');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1rer');
M_.endo_names_long = char(M_.endo_names_long, 'c1rer');
M_.endo_names = char(M_.endo_names, 'c1dcore');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1dcore');
M_.endo_names_long = char(M_.endo_names_long, 'c1dcore');
M_.endo_names = char(M_.endo_names, 'c2c');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2c');
M_.endo_names_long = char(M_.endo_names_long, 'c2c');
M_.endo_names = char(M_.endo_names, 'c2cd');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2cd');
M_.endo_names_long = char(M_.endo_names_long, 'c2cd');
M_.endo_names = char(M_.endo_names, 'c2mc');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2mc');
M_.endo_names_long = char(M_.endo_names_long, 'c2mc');
M_.endo_names = char(M_.endo_names, 'c2y');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2y');
M_.endo_names_long = char(M_.endo_names_long, 'c2y');
M_.endo_names = char(M_.endo_names, 'c2g');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2g');
M_.endo_names_long = char(M_.endo_names_long, 'c2g');
M_.endo_names = char(M_.endo_names, 'c2rpcpd');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2rpcpd');
M_.endo_names_long = char(M_.endo_names_long, 'c2rpcpd');
M_.endo_names = char(M_.endo_names, 'c2pid');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2pid');
M_.endo_names_long = char(M_.endo_names_long, 'c2pid');
M_.endo_names = char(M_.endo_names, 'c2hp');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2hp');
M_.endo_names_long = char(M_.endo_names_long, 'c2hp');
M_.endo_names = char(M_.endo_names, 'c2gp');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2gp');
M_.endo_names_long = char(M_.endo_names_long, 'c2gp');
M_.endo_names = char(M_.endo_names, 'c2pstar');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2pstar');
M_.endo_names_long = char(M_.endo_names_long, 'c2pstar');
M_.endo_names = char(M_.endo_names, 'c2deltad');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2deltad');
M_.endo_names_long = char(M_.endo_names_long, 'c2deltad');
M_.endo_names = char(M_.endo_names, 'c2rn');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2rn');
M_.endo_names_long = char(M_.endo_names_long, 'c2rn');
M_.endo_names = char(M_.endo_names, 'c2dcore');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2dcore');
M_.endo_names_long = char(M_.endo_names_long, 'c2dcore');
M_.endo_names = char(M_.endo_names, 'Welfcon1');
M_.endo_names_tex = char(M_.endo_names_tex, 'Welfcon1');
M_.endo_names_long = char(M_.endo_names_long, 'Welfcon1');
M_.endo_names = char(M_.endo_names, 'c1deltadlag');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1deltadlag');
M_.endo_names_long = char(M_.endo_names_long, 'c1deltadlag');
M_.endo_names = char(M_.endo_names, 'c1rnlag');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1rnlag');
M_.endo_names_long = char(M_.endo_names_long, 'c1rnlag');
M_.endo_names = char(M_.endo_names, 'c1rpcpdlag');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1rpcpdlag');
M_.endo_names_long = char(M_.endo_names_long, 'c1rpcpdlag');
M_.endo_names = char(M_.endo_names, 'c2deltadlag');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2deltadlag');
M_.endo_names_long = char(M_.endo_names_long, 'c2deltadlag');
M_.endo_names = char(M_.endo_names, 'c2rnlag');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2rnlag');
M_.endo_names_long = char(M_.endo_names_long, 'c2rnlag');
M_.endo_names = char(M_.endo_names, 'c2rpcpdlag');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2rpcpdlag');
M_.endo_names_long = char(M_.endo_names_long, 'c2rpcpdlag');
M_.endo_names = char(M_.endo_names, 'c1deltadlag2');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1deltadlag2');
M_.endo_names_long = char(M_.endo_names_long, 'c1deltadlag2');
M_.endo_names = char(M_.endo_names, 'c1rnlag2');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1rnlag2');
M_.endo_names_long = char(M_.endo_names_long, 'c1rnlag2');
M_.endo_names = char(M_.endo_names, 'c1rpcpdlag2');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1rpcpdlag2');
M_.endo_names_long = char(M_.endo_names_long, 'c1rpcpdlag2');
M_.endo_names = char(M_.endo_names, 'c2deltadlag2');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2deltadlag2');
M_.endo_names_long = char(M_.endo_names_long, 'c2deltadlag2');
M_.endo_names = char(M_.endo_names, 'c2rnlag2');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2rnlag2');
M_.endo_names_long = char(M_.endo_names_long, 'c2rnlag2');
M_.endo_names = char(M_.endo_names, 'c2rpcpdlag2');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2rpcpdlag2');
M_.endo_names_long = char(M_.endo_names_long, 'c2rpcpdlag2');
M_.endo_names = char(M_.endo_names, 'c1shockgy');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1shockgy');
M_.endo_names_long = char(M_.endo_names_long, 'c1shockgy');
M_.endo_names = char(M_.endo_names, 'c1z');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1z');
M_.endo_names_long = char(M_.endo_names_long, 'c1z');
M_.endo_names = char(M_.endo_names, 'c1taupvar');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1taupvar');
M_.endo_names_long = char(M_.endo_names_long, 'c1taupvar');
M_.endo_names = char(M_.endo_names, 'c2shockgy');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2shockgy');
M_.endo_names_long = char(M_.endo_names_long, 'c2shockgy');
M_.endo_names = char(M_.endo_names, 'c2z');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2z');
M_.endo_names_long = char(M_.endo_names_long, 'c2z');
M_.endo_names = char(M_.endo_names, 'c2taupvar');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2taupvar');
M_.endo_names_long = char(M_.endo_names_long, 'c2taupvar');
M_.endo_names = char(M_.endo_names, 'c1lmult1');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult1');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult1');
M_.endo_names = char(M_.endo_names, 'c1lmult2');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult2');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult2');
M_.endo_names = char(M_.endo_names, 'c1lmult3');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult3');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult3');
M_.endo_names = char(M_.endo_names, 'c1lmult4');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult4');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult4');
M_.endo_names = char(M_.endo_names, 'c1lmult5');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult5');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult5');
M_.endo_names = char(M_.endo_names, 'c1lmult6');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult6');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult6');
M_.endo_names = char(M_.endo_names, 'c1lmult7');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult7');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult7');
M_.endo_names = char(M_.endo_names, 'c1lmult8');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult8');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult8');
M_.endo_names = char(M_.endo_names, 'c1lmult9');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult9');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult9');
M_.endo_names = char(M_.endo_names, 'c1lmult10');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult10');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult10');
M_.endo_names = char(M_.endo_names, 'c1lmult11');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult11');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult11');
M_.endo_names = char(M_.endo_names, 'c1lmult12');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult12');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult12');
M_.endo_names = char(M_.endo_names, 'c1lmult13');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult13');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult13');
M_.endo_names = char(M_.endo_names, 'c1lmult14');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult14');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult14');
M_.endo_names = char(M_.endo_names, 'c1lmult15');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult15');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult15');
M_.endo_names = char(M_.endo_names, 'c1lmult16');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult16');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult16');
M_.endo_names = char(M_.endo_names, 'c1lmult17');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult17');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult17');
M_.endo_names = char(M_.endo_names, 'c1lmult18');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult18');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult18');
M_.endo_names = char(M_.endo_names, 'c1lmult19');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult19');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult19');
M_.endo_names = char(M_.endo_names, 'c1lmult20');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult20');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult20');
M_.endo_names = char(M_.endo_names, 'c1lmult21');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult21');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult21');
M_.endo_names = char(M_.endo_names, 'c1lmult22');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult22');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult22');
M_.endo_names = char(M_.endo_names, 'c1lmult23');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult23');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult23');
M_.endo_names = char(M_.endo_names, 'c1lmult24');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult24');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult24');
M_.endo_names = char(M_.endo_names, 'c1lmult25');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult25');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult25');
M_.endo_names = char(M_.endo_names, 'c1lmult26');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult26');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult26');
M_.endo_names = char(M_.endo_names, 'c1lmult27');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult27');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult27');
M_.endo_names = char(M_.endo_names, 'c1lmult28');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult28');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult28');
M_.endo_names = char(M_.endo_names, 'c1lmult29');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult29');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult29');
M_.endo_names = char(M_.endo_names, 'c1lmult30');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult30');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult30');
M_.endo_names = char(M_.endo_names, 'c1lmult31');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult31');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult31');
M_.endo_names = char(M_.endo_names, 'c1lmult32');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult32');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult32');
M_.endo_names = char(M_.endo_names, 'c1lmult33');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult33');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult33');
M_.endo_names = char(M_.endo_names, 'c1lmult34');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult34');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult34');
M_.endo_names = char(M_.endo_names, 'c1lmult35');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult35');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult35');
M_.endo_names = char(M_.endo_names, 'c1lmult36');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult36');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult36');
M_.endo_names = char(M_.endo_names, 'c1lmult37');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult37');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult37');
M_.endo_names = char(M_.endo_names, 'c1lmult38');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult38');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult38');
M_.endo_names = char(M_.endo_names, 'c1lmult39');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult39');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult39');
M_.endo_names = char(M_.endo_names, 'c1lmult40');
M_.endo_names_tex = char(M_.endo_names_tex, 'c1lmult40');
M_.endo_names_long = char(M_.endo_names_long, 'c1lmult40');
M_.endo_names = char(M_.endo_names, 'c2lmult1');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult1');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult1');
M_.endo_names = char(M_.endo_names, 'c2lmult2');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult2');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult2');
M_.endo_names = char(M_.endo_names, 'c2lmult3');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult3');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult3');
M_.endo_names = char(M_.endo_names, 'c2lmult4');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult4');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult4');
M_.endo_names = char(M_.endo_names, 'c2lmult5');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult5');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult5');
M_.endo_names = char(M_.endo_names, 'c2lmult6');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult6');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult6');
M_.endo_names = char(M_.endo_names, 'c2lmult7');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult7');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult7');
M_.endo_names = char(M_.endo_names, 'c2lmult8');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult8');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult8');
M_.endo_names = char(M_.endo_names, 'c2lmult9');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult9');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult9');
M_.endo_names = char(M_.endo_names, 'c2lmult10');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult10');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult10');
M_.endo_names = char(M_.endo_names, 'c2lmult11');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult11');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult11');
M_.endo_names = char(M_.endo_names, 'c2lmult12');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult12');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult12');
M_.endo_names = char(M_.endo_names, 'c2lmult13');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult13');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult13');
M_.endo_names = char(M_.endo_names, 'c2lmult14');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult14');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult14');
M_.endo_names = char(M_.endo_names, 'c2lmult15');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult15');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult15');
M_.endo_names = char(M_.endo_names, 'c2lmult16');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult16');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult16');
M_.endo_names = char(M_.endo_names, 'c2lmult17');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult17');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult17');
M_.endo_names = char(M_.endo_names, 'c2lmult18');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult18');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult18');
M_.endo_names = char(M_.endo_names, 'c2lmult19');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult19');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult19');
M_.endo_names = char(M_.endo_names, 'c2lmult20');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult20');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult20');
M_.endo_names = char(M_.endo_names, 'c2lmult21');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult21');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult21');
M_.endo_names = char(M_.endo_names, 'c2lmult22');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult22');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult22');
M_.endo_names = char(M_.endo_names, 'c2lmult23');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult23');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult23');
M_.endo_names = char(M_.endo_names, 'c2lmult24');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult24');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult24');
M_.endo_names = char(M_.endo_names, 'c2lmult25');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult25');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult25');
M_.endo_names = char(M_.endo_names, 'c2lmult26');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult26');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult26');
M_.endo_names = char(M_.endo_names, 'c2lmult27');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult27');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult27');
M_.endo_names = char(M_.endo_names, 'c2lmult28');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult28');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult28');
M_.endo_names = char(M_.endo_names, 'c2lmult29');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult29');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult29');
M_.endo_names = char(M_.endo_names, 'c2lmult30');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult30');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult30');
M_.endo_names = char(M_.endo_names, 'c2lmult31');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult31');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult31');
M_.endo_names = char(M_.endo_names, 'c2lmult32');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult32');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult32');
M_.endo_names = char(M_.endo_names, 'c2lmult33');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult33');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult33');
M_.endo_names = char(M_.endo_names, 'c2lmult34');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult34');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult34');
M_.endo_names = char(M_.endo_names, 'c2lmult35');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult35');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult35');
M_.endo_names = char(M_.endo_names, 'c2lmult36');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult36');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult36');
M_.endo_names = char(M_.endo_names, 'c2lmult37');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult37');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult37');
M_.endo_names = char(M_.endo_names, 'c2lmult38');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult38');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult38');
M_.endo_names = char(M_.endo_names, 'c2lmult39');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult39');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult39');
M_.endo_names = char(M_.endo_names, 'c2lmult40');
M_.endo_names_tex = char(M_.endo_names_tex, 'c2lmult40');
M_.endo_names_long = char(M_.endo_names_long, 'c2lmult40');
M_.endo_names = char(M_.endo_names, 'Util');
M_.endo_names_tex = char(M_.endo_names_tex, 'Util');
M_.endo_names_long = char(M_.endo_names_long, 'Util');
M_.endo_names = char(M_.endo_names, 'Welf');
M_.endo_names_tex = char(M_.endo_names_tex, 'Welf');
M_.endo_names_long = char(M_.endo_names_long, 'Welf');
M_.endo_names = char(M_.endo_names, 'Welfcorrection1');
M_.endo_names_tex = char(M_.endo_names_tex, 'Welfcorrection1');
M_.endo_names_long = char(M_.endo_names_long, 'Welfcorrection1');
M_.endo_names = char(M_.endo_names, 'Welfcorrection2');
M_.endo_names_tex = char(M_.endo_names_tex, 'Welfcorrection2');
M_.endo_names_long = char(M_.endo_names_long, 'Welfcorrection2');
M_.param_names = 'omega_welf1';
M_.param_names_tex = 'omega\_welf1';
M_.param_names_long = 'omega_welf1';
M_.param_names = char(M_.param_names, 'omega_welf2');
M_.param_names_tex = char(M_.param_names_tex, 'omega\_welf2');
M_.param_names_long = char(M_.param_names_long, 'omega_welf2');
M_.param_names = char(M_.param_names, 'nbeta');
M_.param_names_tex = char(M_.param_names_tex, 'nbeta');
M_.param_names_long = char(M_.param_names_long, 'nbeta');
M_.param_names = char(M_.param_names, 'c1sigma');
M_.param_names_tex = char(M_.param_names_tex, 'c1sigma');
M_.param_names_long = char(M_.param_names_long, 'c1sigma');
M_.param_names = char(M_.param_names, 'c1beta');
M_.param_names_tex = char(M_.param_names_tex, 'c1beta');
M_.param_names_long = char(M_.param_names_long, 'c1beta');
M_.param_names = char(M_.param_names, 'c1rhoc');
M_.param_names_tex = char(M_.param_names_tex, 'c1rhoc');
M_.param_names_long = char(M_.param_names_long, 'c1rhoc');
M_.param_names = char(M_.param_names, 'c1sharegy');
M_.param_names_tex = char(M_.param_names_tex, 'c1sharegy');
M_.param_names_long = char(M_.param_names_long, 'c1sharegy');
M_.param_names = char(M_.param_names, 'c1rhogy');
M_.param_names_tex = char(M_.param_names_tex, 'c1rhogy');
M_.param_names_long = char(M_.param_names_long, 'c1rhogy');
M_.param_names = char(M_.param_names, 'c1sigmagy');
M_.param_names_tex = char(M_.param_names_tex, 'c1sigmagy');
M_.param_names_long = char(M_.param_names_long, 'c1sigmagy');
M_.param_names = char(M_.param_names, 'c1rhoz');
M_.param_names_tex = char(M_.param_names_tex, 'c1rhoz');
M_.param_names_long = char(M_.param_names_long, 'c1rhoz');
M_.param_names = char(M_.param_names, 'c1sigmaz');
M_.param_names_tex = char(M_.param_names_tex, 'c1sigmaz');
M_.param_names_long = char(M_.param_names_long, 'c1sigmaz');
M_.param_names = char(M_.param_names, 'c2sigma');
M_.param_names_tex = char(M_.param_names_tex, 'c2sigma');
M_.param_names_long = char(M_.param_names_long, 'c2sigma');
M_.param_names = char(M_.param_names, 'c2beta');
M_.param_names_tex = char(M_.param_names_tex, 'c2beta');
M_.param_names_long = char(M_.param_names_long, 'c2beta');
M_.param_names = char(M_.param_names, 'c2rhoc');
M_.param_names_tex = char(M_.param_names_tex, 'c2rhoc');
M_.param_names_long = char(M_.param_names_long, 'c2rhoc');
M_.param_names = char(M_.param_names, 'c2sharegy');
M_.param_names_tex = char(M_.param_names_tex, 'c2sharegy');
M_.param_names_long = char(M_.param_names_long, 'c2sharegy');
M_.param_names = char(M_.param_names, 'c2rhogy');
M_.param_names_tex = char(M_.param_names_tex, 'c2rhogy');
M_.param_names_long = char(M_.param_names_long, 'c2rhogy');
M_.param_names = char(M_.param_names, 'c2sigmagy');
M_.param_names_tex = char(M_.param_names_tex, 'c2sigmagy');
M_.param_names_long = char(M_.param_names_long, 'c2sigmagy');
M_.param_names = char(M_.param_names, 'c2rhoz');
M_.param_names_tex = char(M_.param_names_tex, 'c2rhoz');
M_.param_names_long = char(M_.param_names_long, 'c2rhoz');
M_.param_names = char(M_.param_names, 'c2sigmaz');
M_.param_names_tex = char(M_.param_names_tex, 'c2sigmaz');
M_.param_names_long = char(M_.param_names_long, 'c2sigmaz');
M_.param_names = char(M_.param_names, 'c2rhotaupvar');
M_.param_names_tex = char(M_.param_names_tex, 'c2rhotaupvar');
M_.param_names_long = char(M_.param_names_long, 'c2rhotaupvar');
M_.param_names = char(M_.param_names, 'c2sigmataupvarerr');
M_.param_names_tex = char(M_.param_names_tex, 'c2sigmataupvarerr');
M_.param_names_long = char(M_.param_names_long, 'c2sigmataupvarerr');
M_.param_names = char(M_.param_names, 'c1rhotaupvar');
M_.param_names_tex = char(M_.param_names_tex, 'c1rhotaupvar');
M_.param_names_long = char(M_.param_names_long, 'c1rhotaupvar');
M_.param_names = char(M_.param_names, 'c1sigmataupvarerr');
M_.param_names_tex = char(M_.param_names_tex, 'c1sigmataupvarerr');
M_.param_names_long = char(M_.param_names_long, 'c1sigmataupvarerr');
M_.param_names = char(M_.param_names, 'c2chi');
M_.param_names_tex = char(M_.param_names_tex, 'c2chi');
M_.param_names_long = char(M_.param_names_long, 'c2chi');
M_.param_names = char(M_.param_names, 'c1chi');
M_.param_names_tex = char(M_.param_names_tex, 'c1chi');
M_.param_names_long = char(M_.param_names_long, 'c1chi');
M_.param_names = char(M_.param_names, 'c2nup');
M_.param_names_tex = char(M_.param_names_tex, 'c2nup');
M_.param_names_long = char(M_.param_names_long, 'c2nup');
M_.param_names = char(M_.param_names, 'c1nup');
M_.param_names_tex = char(M_.param_names_tex, 'c1nup');
M_.param_names_long = char(M_.param_names_long, 'c1nup');
M_.param_names = char(M_.param_names, 'c2xip');
M_.param_names_tex = char(M_.param_names_tex, 'c2xip');
M_.param_names_long = char(M_.param_names_long, 'c2xip');
M_.param_names = char(M_.param_names, 'c1xip');
M_.param_names_tex = char(M_.param_names_tex, 'c1xip');
M_.param_names_long = char(M_.param_names_long, 'c1xip');
M_.param_names = char(M_.param_names, 'c1chi0');
M_.param_names_tex = char(M_.param_names_tex, 'c1chi0');
M_.param_names_long = char(M_.param_names_long, 'c1chi0');
M_.param_names = char(M_.param_names, 'c1omegac');
M_.param_names_tex = char(M_.param_names_tex, 'c1omegac');
M_.param_names_long = char(M_.param_names_long, 'c1omegac');
M_.param_names = char(M_.param_names, 'c1omegamc');
M_.param_names_tex = char(M_.param_names_tex, 'c1omegamc');
M_.param_names_long = char(M_.param_names_long, 'c1omegamc');
M_.param_names = char(M_.param_names, 'c1relc2');
M_.param_names_tex = char(M_.param_names_tex, 'c1relc2');
M_.param_names_long = char(M_.param_names_long, 'c1relc2');
M_.param_names = char(M_.param_names, 'c1pistar');
M_.param_names_tex = char(M_.param_names_tex, 'c1pistar');
M_.param_names_long = char(M_.param_names_long, 'c1pistar');
M_.param_names = char(M_.param_names, 'c1taup');
M_.param_names_tex = char(M_.param_names_tex, 'c1taup');
M_.param_names_long = char(M_.param_names_long, 'c1taup');
M_.param_names = char(M_.param_names, 'c2chi0');
M_.param_names_tex = char(M_.param_names_tex, 'c2chi0');
M_.param_names_long = char(M_.param_names_long, 'c2chi0');
M_.param_names = char(M_.param_names, 'c2omegac');
M_.param_names_tex = char(M_.param_names_tex, 'c2omegac');
M_.param_names_long = char(M_.param_names_long, 'c2omegac');
M_.param_names = char(M_.param_names, 'c2omegamc');
M_.param_names_tex = char(M_.param_names_tex, 'c2omegamc');
M_.param_names_long = char(M_.param_names_long, 'c2omegamc');
M_.param_names = char(M_.param_names, 'c2pistar');
M_.param_names_tex = char(M_.param_names_tex, 'c2pistar');
M_.param_names_long = char(M_.param_names_long, 'c2pistar');
M_.param_names = char(M_.param_names, 'c2taup');
M_.param_names_tex = char(M_.param_names_tex, 'c2taup');
M_.param_names_long = char(M_.param_names_long, 'c2taup');
M_.param_names = char(M_.param_names, 'c1rnss');
M_.param_names_tex = char(M_.param_names_tex, 'c1rnss');
M_.param_names_long = char(M_.param_names_long, 'c1rnss');
M_.param_names = char(M_.param_names, 'c2rnss');
M_.param_names_tex = char(M_.param_names_tex, 'c2rnss');
M_.param_names_long = char(M_.param_names_long, 'c2rnss');
M_.param_names = char(M_.param_names, 'c1gamrn');
M_.param_names_tex = char(M_.param_names_tex, 'c1gamrn');
M_.param_names_long = char(M_.param_names_long, 'c1gamrn');
M_.param_names = char(M_.param_names, 'c1gamdpc');
M_.param_names_tex = char(M_.param_names_tex, 'c1gamdpc');
M_.param_names_long = char(M_.param_names_long, 'c1gamdpc');
M_.param_names = char(M_.param_names, 'c2gamrn');
M_.param_names_tex = char(M_.param_names_tex, 'c2gamrn');
M_.param_names_long = char(M_.param_names_long, 'c2gamrn');
M_.param_names = char(M_.param_names, 'c2gamdpc');
M_.param_names_tex = char(M_.param_names_tex, 'c2gamdpc');
M_.param_names_long = char(M_.param_names_long, 'c2gamdpc');
M_.param_names = char(M_.param_names, 'c2lambdaqss');
M_.param_names_tex = char(M_.param_names_tex, 'c2lambdaqss');
M_.param_names_long = char(M_.param_names_long, 'c2lambdaqss');
M_.param_names = char(M_.param_names, 'c2rpcpdss');
M_.param_names_tex = char(M_.param_names_tex, 'c2rpcpdss');
M_.param_names_long = char(M_.param_names_long, 'c2rpcpdss');
M_.param_names = char(M_.param_names, 'c1rerss');
M_.param_names_tex = char(M_.param_names_tex, 'c1rerss');
M_.param_names_long = char(M_.param_names_long, 'c1rerss');
M_.param_names = char(M_.param_names, 'c1lambdaqss');
M_.param_names_tex = char(M_.param_names_tex, 'c1lambdaqss');
M_.param_names_long = char(M_.param_names_long, 'c1lambdaqss');
M_.param_names = char(M_.param_names, 'c1rpcpdss');
M_.param_names_tex = char(M_.param_names_tex, 'c1rpcpdss');
M_.param_names_long = char(M_.param_names_long, 'c1rpcpdss');
M_.exo_det_nbr = 0;
M_.exo_nbr = 8;
M_.endo_nbr = 136;
M_.param_nbr = 51;
M_.orig_endo_nbr = 136;
M_.aux_vars = [];
M_.Sigma_e = zeros(8, 8);
M_.Correlation_matrix = eye(8, 8);
M_.H = 0;
M_.Correlation_matrix_ME = 1;
options_.block=0;
options_.bytecode=0;
options_.use_dll=0;
erase_compiled_function('BBCDLmodelcomp_nash_c1pid_c2pid_static');
erase_compiled_function('BBCDLmodelcomp_nash_c1pid_c2pid_dynamic');
M_.lead_lag_incidence = [
 0 42 178;
 0 43 179;
 0 44 0;
 0 45 0;
 0 46 0;
 0 47 0;
 1 48 180;
 0 49 0;
 0 50 0;
 2 51 0;
 0 52 0;
 3 53 181;
 0 54 182;
 4 55 183;
 5 56 184;
 0 57 0;
 6 58 0;
 7 59 0;
 0 60 0;
 0 61 0;
 8 62 185;
 0 63 0;
 0 64 0;
 9 65 0;
 0 66 0;
 10 67 186;
 0 68 187;
 11 69 188;
 12 70 189;
 0 71 0;
 13 72 0;
 14 73 0;
 0 74 0;
 15 75 190;
 16 76 0;
 17 77 0;
 18 78 0;
 19 79 0;
 20 80 0;
 21 81 0;
 0 82 0;
 0 83 0;
 0 84 0;
 0 85 0;
 0 86 0;
 0 87 0;
 22 88 0;
 23 89 0;
 24 90 0;
 25 91 0;
 26 92 0;
 27 93 0;
 0 94 0;
 0 95 0;
 0 96 191;
 0 97 192;
 0 98 193;
 0 99 194;
 0 100 195;
 0 101 196;
 0 102 197;
 0 103 198;
 0 104 199;
 0 105 200;
 0 106 201;
 0 107 202;
 28 108 0;
 29 109 0;
 0 110 0;
 0 111 0;
 0 112 0;
 0 113 0;
 30 114 0;
 31 115 0;
 0 116 0;
 0 117 0;
 0 118 0;
 0 119 0;
 0 120 0;
 32 121 0;
 0 122 0;
 0 123 0;
 0 124 0;
 0 125 0;
 33 126 0;
 34 127 0;
 0 128 0;
 0 129 0;
 0 130 0;
 0 131 0;
 0 132 0;
 0 133 0;
 0 134 0;
 0 135 0;
 0 136 203;
 0 137 204;
 0 138 205;
 0 139 206;
 0 140 207;
 0 141 208;
 0 142 209;
 0 143 210;
 0 144 211;
 0 145 212;
 0 146 213;
 0 147 214;
 35 148 0;
 36 149 0;
 0 150 0;
 0 151 0;
 0 152 0;
 0 153 0;
 37 154 0;
 38 155 0;
 0 156 0;
 0 157 0;
 0 158 0;
 0 159 0;
 0 160 0;
 39 161 0;
 0 162 0;
 0 163 0;
 0 164 0;
 0 165 0;
 40 166 0;
 41 167 0;
 0 168 0;
 0 169 0;
 0 170 0;
 0 171 0;
 0 172 0;
 0 173 0;
 0 174 0;
 0 175 215;
 0 176 0;
 0 177 0;]';
M_.nstatic = 66;
M_.nfwrd   = 29;
M_.npred   = 32;
M_.nboth   = 9;
M_.nsfwrd   = 38;
M_.nspred   = 41;
M_.ndynamic   = 70;
M_.equations_tags = {
};
M_.static_and_dynamic_models_differ = 0;
M_.exo_names_orig_ord = [1:8];
M_.maximum_lag = 1;
M_.maximum_lead = 1;
M_.maximum_endo_lag = 1;
M_.maximum_endo_lead = 1;
oo_.steady_state = zeros(136, 1);
M_.maximum_exo_lag = 0;
M_.maximum_exo_lead = 0;
oo_.exo_steady_state = zeros(8, 1);
M_.params = NaN(51, 1);
M_.NNZDerivatives = zeros(3, 1);
M_.NNZDerivatives(1) = 852;
M_.NNZDerivatives(2) = 3834;
M_.NNZDerivatives(3) = -1;
options_.irf = 0;
options_.nocorr = 1;
options_.noprint = 1;
options_.order = 2;
var_list_=[];
info = stoch_simul(var_list_);
save('BBCDLmodelcomp_nash_c1pid_c2pid_results.mat', 'oo_', 'M_', 'options_');
if exist('estim_params_', 'var') == 1
  save('BBCDLmodelcomp_nash_c1pid_c2pid_results.mat', 'estim_params_', '-append');
end
if exist('bayestopt_', 'var') == 1
  save('BBCDLmodelcomp_nash_c1pid_c2pid_results.mat', 'bayestopt_', '-append');
end
if exist('dataset_', 'var') == 1
  save('BBCDLmodelcomp_nash_c1pid_c2pid_results.mat', 'dataset_', '-append');
end
if exist('estimation_info', 'var') == 1
  save('BBCDLmodelcomp_nash_c1pid_c2pid_results.mat', 'estimation_info', '-append');
end


disp(['Total computing time : ' dynsec2hms(toc) ]);
disp('Note: 1 warning(s) encountered in the preprocessor')
if ~isempty(lastwarn)
  disp('Note: warning(s) encountered in MATLAB/Octave code')
end
diary off
