Something is shorting out in the machine. Switch off machine. Check the wiring looms for wires rubbing on the frame and shorting out. Disconnect various components starting with the heater, then the motor, the valves, pump etc. until the mains doesnt trip out. when that happens you have your faulty component.
WASHING MACHINE SERVICE AND REPAIR MANUAL.
cut and paste the following address into your browser for more info. www.2ndwave.co.uk/manual.html
dan, February 2008