What is the equivalent of compile of modelsim in quartus prime?
For doing FPGA development, you really don't want to synthesize your code until you have simulated it and verified that it works. From your comments about modelsim, it seems you are mostly doing that, so I'd recommend using modelsim to check for syntax errors in your code, and only move to quarts when you are satisfied that it's correct.