Gary Wells, 36, was struck by the train near Fort William station on Tuesday morning.
Emergency services were called to the incident but he died at the scene.
Diane MacDonald, who reportedly separated from Mr Wells recently, was driving the ScotRail train between Mallaig and Queen Street, Glasgow. She was informed of the death later.
A statement issued by her employer on behalf of Miss MacDonald said: "The circumstances are extremely upsetting for everyone involved.
"We would ask the media to please respect our privacy while we come to terms with what has happened."
British Transport Police said the death is not being treated as suspicious.
A spokesman said: "We were called to a rail crossing in Inverlochy, Fort William, shortly before 8am on Tuesday August 19 to a report that a man had been struck by a train.
"Colleagues from Police Scotland and Scottish Ambulance Service also attended, but a 36-year-old man from the Fort William area was pronounced dead at the scene.
"His death is currently not being treated as suspicious.
"The man's family have been informed. A report will be sent to the procurator fiscal."
Trains were delayed in the area throughout the day due to the incident.