Charge compensation and acceleration of a thick-walled high-current ion beam in induction linac