Note, XP-SWMM is based on a SWMM 4 version from 1992 with added features over the course of a few decades. There is not an equivalent function in SWMM 5 for every SWMM 4 command or feature and these will not be created in the .epa file.
In particular, if the model had # symbols in the subcatchment names these will not be allowed in SWMM 5 - you need to edit the .epa file and convert the # to _or some other accepted placeholder.