I don't think the model is a flop by any means. It performs well as a taxi in the middle east and sells well in the US, and having personally observed the Elantra at a showroom, I was quite satisfied with the interior quality and especially the delivery times. Going by the owner reviews in Pakistan, I haven't yet heard from anyone who is unhappy with their purchase.
The main issue here is pricing. If Civic/Grande are.3.8m, this car had to be 3.5-3.6m and it would have sold in big volumes. Instead they came in with a HIGHER invoice price than both Civic and Grande which was complete nonsense. It is still a good car to buy, but the tradeoff is huge for people who only own one car and are looking for future resale. The only people buying it right now are those who already have a Civic/Grande and buying it as a second car.