Peering Inside the Black Box: Uncovering LLM Errors in Optimization Modelling through Component-Level Evaluation