I don't know, he clearly sold the impact. But to call it a flop is unfair, especially because he has his feet set, and it can be argued Melo digs his shoulder/elbow.
I think a fair assessment is to say that Melo should have been called for an offensive foul for the elbow, but smart shouldn't have sold the impact.