Optimal malicious attack construction and robust detection in Smart Grid cyber security analysis | Synapse