1. A method comprising: transforming state information of an entity of a model, the entity having an input port for receiving input and an output port for providing an output, the transforming producing a result without modifying an input and an output of the entity, the transforming involving performing a mathematical transformation on the state information of the entity; and outputting the result to an output other than an output port of the entity.