Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadModel(Modelica): time 1.878/1.878, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.944e-05/2.965e-05, allocations: 4 kB / 225 MB, free: 2.348 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2108, allocations: 38.77 MB / 263.8 MB, free: 9.852 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.105/0.3159, allocations: 68.65 MB / 332.4 MB, free: 5.102 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/0.3161, allocations: 67.97 kB / 332.5 MB, free: 5.035 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01538/0.3315, allocations: 3.787 MB / 336.3 MB, free: 1.227 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.242e-06/0.3316, allocations: 0 / 336.3 MB, free: 1.227 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.842e-05/0.3316, allocations: 4 kB / 336.3 MB, free: 1.223 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0008551/0.3325, allocations: 498.3 kB / 336.8 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.3325, allocations: 8.031 kB / 336.8 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.3327, allocations: 27.72 kB / 336.8 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.333, allocations: 218.7 kB / 337 MB, free: 412 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.333, allocations: 12.44 kB / 337 MB, free: 400 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.1e-05/0.3331, allocations: 31.95 kB / 337.1 MB, free: 368 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004864/0.3336, allocations: 209 kB / 337.3 MB, free: 144 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.3337, allocations: 0 / 337.3 MB, free: 144 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.009e-05/0.3337, allocations: 4 kB / 337.3 MB, free: 140 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.3337, allocations: 8 kB / 337.3 MB, free: 132 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003509/0.3341, allocations: 124.9 kB / 337.4 MB, free: 8 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001701/0.3358, allocations: 0.8202 MB / 338.2 MB, free: 15.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004101/0.3362, allocations: 142.7 kB / 338.4 MB, free: 14.97 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.3364, allocations: 64.86 kB / 338.4 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.3365, allocations: 4 kB / 338.4 MB, free: 14.9 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.3365, allocations: 38.5 kB / 338.5 MB, free: 14.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 2.507e-06/0.3365, allocations: 0 / 338.5 MB, free: 14.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005049/0.337, allocations: 158.5 kB / 338.6 MB, free: 14.69 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.3371, allocations: 51.41 kB / 338.7 MB, free: 14.63 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.3373, allocations: 153.9 kB / 338.8 MB, free: 14.47 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.802e-05/0.3374, allocations: 33.7 kB / 338.9 MB, free: 14.43 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.3375, allocations: 148.1 kB / 339 MB, free: 14.28 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.691e-05/0.3376, allocations: 63.12 kB / 339.1 MB, free: 14.22 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-05/0.3377, allocations: 4 kB / 339.1 MB, free: 14.21 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.3378, allocations: 322.8 kB / 339.4 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.338, allocations: 44.31 kB / 339.4 MB, free: 13.85 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.3381, allocations: 75.73 kB / 339.5 MB, free: 13.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.3383, allocations: 44.77 kB / 339.5 MB, free: 13.72 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.278e-06/0.3383, allocations: 0 / 339.5 MB, free: 13.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005007/0.3388, allocations: 184.2 kB / 339.7 MB, free: 13.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.3389, allocations: 4 kB / 339.7 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/0.3389, allocations: 7.938 kB / 339.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002188/0.3391, allocations: 36.77 kB / 339.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.3394, allocations: 36.08 kB / 339.8 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001556/0.3409, allocations: 1.359 MB / 341.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/0.3412, allocations: 39.75 kB / 341.2 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.3413, allocations: 8 kB / 341.2 MB, free: 11.9 MB / 298.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.000122/0.3414, allocations: 112.9 kB / 341.3 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.311e-05/0.3415, allocations: 15.97 kB / 341.3 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.164e-05/0.3415, allocations: 21.66 kB / 341.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.29e-06/0.3416, allocations: 0 / 341.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.298e-06/0.3416, allocations: 4 kB / 341.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.495e-06/0.3416, allocations: 3.984 kB / 341.4 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009042/0.3425, allocations: 499.2 kB / 341.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.866e-06/0.3425, allocations: 0 / 341.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.3428, allocations: 35.92 kB / 341.9 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001725/0.3429, allocations: 28.84 kB / 341.9 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.343, allocations: 4 kB / 341.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001475/0.3445, allocations: 1.367 MB / 343.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.389e-06/0.3445, allocations: 0 / 343.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006227/0.3451, allocations: 320.1 kB / 343.6 MB, free: 9.297 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.3453, allocations: 96.94 kB / 343.7 MB, free: 9.184 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.686e-05/0.3453, allocations: 8 kB / 343.7 MB, free: 9.176 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002849/0.3456, allocations: 32.09 kB / 343.7 MB, free: 9.145 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.701e-05/0.3457, allocations: 15.97 kB / 343.7 MB, free: 9.129 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.3458, allocations: 4 kB / 343.7 MB, free: 9.125 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001499/0.3459, allocations: 128.3 kB / 343.9 MB, free: 9 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.471e-06/0.3459, allocations: 0 / 343.9 MB, free: 9 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004498/0.3464, allocations: 63.78 kB / 343.9 MB, free: 8.938 MB / 298.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.0001679/0.3466, allocations: 107.2 kB / 344 MB, free: 8.82 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004955/0.3471, allocations: 217.7 kB / 344.3 MB, free: 8.598 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.32e-06/0.3471, allocations: 0 / 344.3 MB, free: 8.598 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002903/0.3474, allocations: 181.6 kB / 344.4 MB, free: 8.41 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.3478, allocations: 37.45 kB / 344.5 MB, free: 8.375 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000738/0.3485, allocations: 283.5 kB / 344.7 MB, free: 8.074 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004503/0.349, allocations: 0.748 MB / 345.5 MB, free: 7.297 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001136/0.3491, allocations: 17.31 kB / 345.5 MB, free: 7.277 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.531e-05/0.3492, allocations: 15.44 kB / 345.5 MB, free: 7.262 MB / 298.7 MB Notification: Performance of SimCode: time 1.676e-06/0.3492, allocations: 0 / 345.5 MB, free: 7.262 MB / 298.7 MB Notification: Performance of Templates: time 0.007649/0.3568, allocations: 2.152 MB / 347.7 MB, free: 5.129 MB / 298.7 MB