https://www.ukwhitegoods.co.uk/help/fault-codes/laundry-fault-codes/3086-aeg-washing-machine-a-washer-dryer-fault-codes
How did you test the heating elements for short to earth? One would expect resistance in the MegOhm range, if not, truly open circuit. Don't test on low Ohm ranges.
Have you checked the heater wiring for any path to earth? Remember the circuit breaker should trip at no more than 30mA, which could be a resistance of 8000 Ohms, not a few tens.
Is there any damp?
Dghu
May 2023