You have to electrify the tram depot separately, as the tool can't find the way through the doors. It says the ways are not connected, although the track was build in a single drag operation. The same goes for the electrification removal tool. There is no such problems with normal train depots.
It works for overhead wires for trams (pak.german has some), but not with overhead wires for trains (pak64).