PWM bahaving OPPOSITELY as expected on dsPIC33EP256MC506
For those of you who are interested: The reason for this polarity mismatch is as follows: In complementary mode, a duty cycle of 0 would set PWMxH to 0, and PWMxL to 1. Since the model is using complementary mode PWM, and in the look-up table implementation, the PWMxH is always overridden, while PWMxL is PWM driven, this behavior is expected. So increasing the POT value increases the duty cycle, but PWMxH is always in override (1 or 0), and PWMxL is always either override 0 or PWM driven; PWMxL will always act complementary to how PWMxH will act in normal PWM mode. It will interpret the duty cycle as the percentage of PWM period while in low state. Hence the answer!