A Modeling Approach to Analyze the Impact of Error Propagation on Reliability of Component-Based Systems