Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadModel(Modelica): time 1.975/1.975, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.868e-05/2.887e-05, allocations: 4 kB / 292.1 MB, free: 8.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1258, allocations: 50.41 MB / 342.6 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4806/0.6065, allocations: 79.6 MB / 422.2 MB, free: 14.62 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003395/0.6069, allocations: 74.39 kB / 422.2 MB, free: 14.58 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02167/0.6286, allocations: 3.87 MB / 426.1 MB, free: 11.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.666e-06/0.6287, allocations: 0 / 426.1 MB, free: 11.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.118e-05/0.6287, allocations: 4 kB / 426.1 MB, free: 11.24 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009876/0.6297, allocations: 496.6 kB / 426.6 MB, free: 10.73 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.6298, allocations: 12.03 kB / 426.6 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.6299, allocations: 27.72 kB / 426.6 MB, free: 10.69 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/0.6303, allocations: 213.9 kB / 426.8 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.6303, allocations: 15.38 kB / 426.8 MB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.324e-05/0.6304, allocations: 23.81 kB / 426.9 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000513/0.6309, allocations: 205.8 kB / 427.1 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.631, allocations: 4 kB / 427.1 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.5e-05/0.631, allocations: 11.14 kB / 427.1 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.6311, allocations: 8 kB / 427.1 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003895/0.6315, allocations: 126.2 kB / 427.2 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001826/0.6333, allocations: 0.8198 MB / 428 MB, free: 9.41 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004032/0.6337, allocations: 150.3 kB / 428.2 MB, free: 9.301 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.6339, allocations: 67.2 kB / 428.3 MB, free: 9.254 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.6339, allocations: 7.938 kB / 428.3 MB, free: 9.246 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.634, allocations: 34 kB / 428.3 MB, free: 9.207 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 3.423e-06/0.634, allocations: 0 / 428.3 MB, free: 9.207 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005192/0.6345, allocations: 159 kB / 428.4 MB, free: 9.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.6346, allocations: 55.41 kB / 428.5 MB, free: 9.004 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.6348, allocations: 156.5 kB / 428.7 MB, free: 8.855 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.6348, allocations: 28.89 kB / 428.7 MB, free: 8.824 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.635, allocations: 156 kB / 428.8 MB, free: 8.688 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.344e-05/0.635, allocations: 49.08 kB / 428.9 MB, free: 8.645 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.32e-05/0.6351, allocations: 7 kB / 428.9 MB, free: 8.641 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.6352, allocations: 323.5 kB / 429.2 MB, free: 8.324 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.6354, allocations: 42.38 kB / 429.2 MB, free: 8.297 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.6355, allocations: 68.98 kB / 429.3 MB, free: 8.234 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.6356, allocations: 41.17 kB / 429.4 MB, free: 8.207 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.889e-06/0.6357, allocations: 0 / 429.4 MB, free: 8.207 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004705/0.6361, allocations: 187.5 kB / 429.5 MB, free: 8.051 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.6362, allocations: 10.81 kB / 429.5 MB, free: 8.043 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.954e-06/0.6362, allocations: 0 / 429.5 MB, free: 8.043 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000215/0.6364, allocations: 31.72 kB / 429.6 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003175/0.6368, allocations: 35.55 kB / 429.6 MB, free: 7.984 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/0.6383, allocations: 1.354 MB / 431 MB, free: 6.566 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/0.6385, allocations: 43.55 kB / 431 MB, free: 6.527 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.406e-05/0.6386, allocations: 12 kB / 431 MB, free: 6.516 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001219/0.6387, allocations: 119.8 kB / 431.1 MB, free: 6.398 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.975e-05/0.6388, allocations: 15.81 kB / 431.2 MB, free: 6.383 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.395e-05/0.6388, allocations: 20.59 kB / 431.2 MB, free: 6.371 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.049e-06/0.6388, allocations: 4 kB / 431.2 MB, free: 6.367 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.295e-06/0.6389, allocations: 3.984 kB / 431.2 MB, free: 6.363 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.045e-06/0.6389, allocations: 4 kB / 431.2 MB, free: 6.359 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008534/0.6397, allocations: 0.4906 MB / 431.7 MB, free: 5.883 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.6398, allocations: 0 / 431.7 MB, free: 5.883 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/0.64, allocations: 27.98 kB / 431.7 MB, free: 5.855 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001562/0.6402, allocations: 27.78 kB / 431.7 MB, free: 5.832 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.6402, allocations: 7.312 kB / 431.7 MB, free: 5.828 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001469/0.6417, allocations: 1.356 MB / 433.1 MB, free: 4.414 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.24e-06/0.6417, allocations: 3.953 kB / 433.1 MB, free: 4.41 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005853/0.6423, allocations: 312.6 kB / 433.4 MB, free: 4.145 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.6425, allocations: 115 kB / 433.5 MB, free: 4.02 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.706e-05/0.6425, allocations: 3.984 kB / 433.5 MB, free: 4.016 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000264/0.6428, allocations: 31.3 kB / 433.5 MB, free: 3.988 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.291e-05/0.6429, allocations: 18.73 kB / 433.6 MB, free: 3.973 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.6429, allocations: 7.984 kB / 433.6 MB, free: 3.965 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001469/0.6431, allocations: 133.1 kB / 433.7 MB, free: 3.852 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.6431, allocations: 0 / 433.7 MB, free: 3.852 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004427/0.6435, allocations: 59.45 kB / 433.8 MB, free: 3.797 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (heatCapacitor.T) * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000168/0.6437, allocations: 103.2 kB / 433.9 MB, free: 3.688 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004744/0.6442, allocations: 221.7 kB / 434.1 MB, free: 3.496 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.292e-06/0.6442, allocations: 0 / 434.1 MB, free: 3.496 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003015/0.6445, allocations: 174.3 kB / 434.3 MB, free: 3.336 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.6449, allocations: 25.8 kB / 434.3 MB, free: 3.32 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007344/0.6456, allocations: 299.6 kB / 434.6 MB, free: 3.039 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004388/0.6461, allocations: 0.7402 MB / 435.3 MB, free: 2.273 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001118/0.6462, allocations: 13.33 kB / 435.3 MB, free: 2.258 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.614e-05/0.6463, allocations: 15.44 kB / 435.3 MB, free: 2.242 MB / 346.7 MB Notification: Performance of SimCode: time 1.541e-06/0.6463, allocations: 0 / 435.3 MB, free: 2.242 MB / 346.7 MB Notification: Performance of Templates: time 0.00769/0.654, allocations: 2.159 MB / 437.5 MB, free: 116 kB / 346.7 MB