Using PSMC instead of CCP
You have a fatal problem with your code that has nothing to do with the PSMC module. Microcontrollers are single-purpose hardware, so there's no such thing as "exiting" the code. You MUST have an infinite loop of some kind.

If your main() function simple ends, as yours does, the chip will have undefined behavior. In the case of PICs, it will reset the chip and start over again. Over and over again, for as long as it has power. You will probably never see any output on any pin.

The easiest way to fix this just to test the PSMC module is to put "while(1);" as the last line of code in main().