Dependability of a Complex System Having Two Types of Components