Importing 3-dimensional P2 elements

Dear all,

I want to import 3-D second-order (P2) elements to FreeFEM. I tried this using both Gmsh and SALOME but for some reason it does not work.
It works perfectly fine when I import 1-st order (P1) elements but once I change the mesh to 2-nd order (P2), then FreeFEM has problem reading the mesh.

Does anyone have a suggestion on this?

Thank you !