The Phillips curve as a long-run phenomenon in a macroeconomic model with complex dynamics