We have all experienced this problem!
There will be a small gap in your electrification somewhere. You need to closely inspect the entire line using the ‘electrification’ tool. Electrified track will show RED any gaps in the electrification will show GREEN, click on any green part to fix the problem!
Beware, the gaps can be very small!