@Akshaya Balakrishnan ngspice reports a singular matrix. This means that most probably some nodes are left floating. Carefully check your circuit, verify all inputs are driven by voltage sources, double check for typos.
Linen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.