Attached is a variation of the “Six-Phase PMSM” model included with the TI C2000 Target Support Package (TSP), but without any of the RT Box or TI C2000 library components. The components from the RT Box and TI C2000 TSP libraries represent the various sensor/peripheral interfaces of the hardware, which can be replaced either with direct connections or analogous components from the standard PLECS library.
As a side note, if you want to use the model as-is but do not have a PLECS Coder license, one can download the zip directories of the TSP and then manually add the included library (*Lib.plecs) to the list of User Libraries in the File + PLECS Preferences + Libraries tab. Then you will be able to open the models without an error message.
six_phase_pmsm_nolib.plecs (391 KB)