If you sure the three wires were connected properly and nothing is burned. There maybe few issues. 1: The esc is designed for high turn motors so it will not work with your 4000kv. 2: Timing and pole is not set correctly. If your esc is adjustable reduce the timing and set the pole count according to your motor.