Simulation of an Electromagnetic Field Excitation by a THz-pulse and Acceleration of an Electron Bunch in a Dielectric-Loaded AXSIS Linac