Yep, I have a 40GB also...I tried all the mixed reef stuff..SPS/LPS and started dosing the crap out of my tank...lost much lps, helped some sps, etc.
Finally decided on a mostly LPS tank with a few sticks, quit dosing, did water changes only, and Bam...Finally got tank looking right. Now that I have 4 healthy big torches, 5 hammers, 2 frogs and other various coral, I'm simply dosing Brightwell Reef Code A and B every 2 days, and tank is best it's ever been.
Op...you are trying to hard, you don't need Kalk for that tank, stop the Red Sea AB+energy stuff, try something like TM All4Reef or Reef Code, every few days, and do water changes until you get it right. Your Nitrates are going bananas.
Here is my 40GB 2.3 years..