The Di is prone to a big issue, but when fixed, is a great ski.
Are you getting the over heat warning ?
I'm betting the emm is getting hot. It is water cooled, and the passages get corroded and plugged. You do the cooling bypass which bypasses the stator and creates a direct feed to the emm, and ads a seconds pisser so you can monitor the water flow.
I would also do a compression test to make sure the engine is not failing. Should be 135-145.
I would also look into replacing the crank sensor, as the wires are not supported very well, and have a tendency to break at the sensor.