The WAP-7 is the most successful locomotives of Indian Railways serving passenger trains .