1. A computer-implemented method comprising: accessing, by a processor, a model comprising a property defining a data element of a modeled component and a behavior defining a variably applicable portion of the model, the behavior comprising a programmatic expression of a function for determining when the variably applicable portion of the model is to be used based on a condition, wherein the property is included in the variably applicable portion of the model; generating, by the processor, an in-memory representation of the modeled component comprising code configured to evaluate the condition; and based on determining that the condition for using the variably applicable portion of the model is satisfied, generating, by the processor, a data structure corresponding to the property, wherein the data structure is included in the in-memory representation of the modeled component.