Self-sustained oscillation in a memristor circuit