Your drain pump is overheating. After 5 minutes it cools down and power comes back on. Let it drain, when it switches off, tip machine back against wall and locate the drain pump in front right hand side. Touch the outside black part. It should be just slightly warm. If very hot replace the pump with a new one.
Lincoln Appliance NZ