Aluminum alloy frame for solar modules