1. A method for automated root cause identification of a failure of a logic controller comprising: receiving logic controller failure information; receiving a logic model of logic code for the logic controller; mapping the logic controller failure information to the logic model to identify a logic failure model state; determining a potential trigger of the failure of the logic controller as a root cause via tracing through at least one path in the logic model to reach the logic failure model state; identifying the root cause in the logic code, including mapping the root cause from the logic model to the logic code; and outputting the logic code with the identified root cause of the failure of the logic controller.