Checks all models recursively and returns number of variables and equations.
function checkAllModelsRecursive input TypeName className; input Boolean checkProtected = false "Checks also protected classes if true"; output String result; end checkAllModelsRecursive;