Thanks for this report!
This is a known issue that has been fixed in the latest version of S32DS for Power:S32 Design Studio for Power Architecture 2017.R1 (Windows/Linux) released!
Therefore I'd recommend you to download and install it.
Note: You can have multiple versions of S32DS installed on the same machine.
I tested my project: In the S32DS V2.0, it costed about 70 seconds(if clean the project and build, about 100 seconds). In the S32DS V1.1, it costed about 180 seconds(if clean the project and build, about 245 seconds).