Hello , Upenn does not consider for the masters program if you applied to their PhD program. Atleast, that was the case for mechanical engineering. I think it will be same across other streams as well. Do check the FAQs page. However, you might be considered for their masters program once you get in contact with the admissions coordinator of your department.
https://gradadm.seas.upenn.edu/faq/
Hope this helps! Good Luck!!