determine if the sentence is simple, compound or complex. Tell me what the verb and subject is

He wanted to stay up late, but he was too tired.

This is a compound sentence.

Subject: He
Verbs: wanted, stay, was