Estimation error: "Index exceeds matrix dimensions."

dear all,
Thank you for help in advance! I really appreciate it. When I use the estimation command, dynare gives the error: "Index exceeds matrix dimensions." I did found lots of posts for similar issues, but still could not found the problem of my codes.
My model is a quite simple one: a linear model with only four endogenous variables. can any one help take a look and let me know where goes wrong? I've attached the codes and the data. Thanks a lot!
Thank you for help in advance! I really appreciate it. When I use the estimation command, dynare gives the error: "Index exceeds matrix dimensions." I did found lots of posts for similar issues, but still could not found the problem of my codes.
My model is a quite simple one: a linear model with only four endogenous variables. can any one help take a look and let me know where goes wrong? I've attached the codes and the data. Thanks a lot!