Star Formation And Stellar Mass Assembly In Galaxy Formation Models