Fisher & Paykel washing machine-loses power

I have a Fisher & Paykel washing machine GWL10US. It starts the cycle then shuts off. It won’t power on again for a couple minutes. Every time I try to power it on again, it seems to shut off sooner than the previous time. I checked to see if the water pump was wet or blacked as if burned and neither are true. For about a year it was making a loud squealing sound when filling with water or possibly when cycling water through the machine, I’m not sure which. What do I look for to find the problem?

:confused: