Reliability and maintenance analysis of complex industrial systems