Since I was sick, I didn't go to the party.

Literal

Sick was [because-ので] I [topic-は] party [to-に] did-not-go [polite-ませんでした].

だったので gives the reason in past tense. 行きませんでした is the polite negative past. A straightforward explanation in polite register.