Convert a flexible price model to NK model

The full message was

Floating point error in bytecode: a/X with X=0
      equation 3792
      residual(3792) = (pi_ppi_1_a_t / pi_ppi_2_a_t) - ((PC_1_a_t / PC_2_a_t) * (PC_2_a_t / PC_1_a_t))

You can verify that the initial value for pi_ppi_2_a_t is 0, resulting in the division by 0.
In Dynare with the attached files, you will not get a crash, but a message that the steady state could not be found:
NK Model_6.zip (2.1 MB)