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.2_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadModel(Modelica): time 1.994/1.994, allocations: 194.9 MB / 208 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.418e-05/2.429e-05, allocations: 4 kB / 255.4 MB, free: 2.703 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08291/0.08296, allocations: 44.5 MB / 299.9 MB, free: 6.141 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3577/0.4407, allocations: 73.9 MB / 373.8 MB, free: 22.47 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002165/0.441, allocations: 70.27 kB / 373.8 MB, free: 22.47 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01419/0.4552, allocations: 3.769 MB / 377.6 MB, free: 21.89 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.386e-06/0.4552, allocations: 0 / 377.6 MB, free: 21.89 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.932e-05/0.4553, allocations: 8.406 kB / 377.6 MB, free: 21.89 MB / 314.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.0007364/0.456, allocations: 499.6 kB / 378.1 MB, free: 21.49 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.4561, allocations: 9.469 kB / 378.1 MB, free: 21.49 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.4562, allocations: 28.34 kB / 378.1 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.4565, allocations: 228 kB / 378.4 MB, free: 21.25 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.4565, allocations: 21.09 kB / 378.4 MB, free: 21.25 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.149e-05/0.4566, allocations: 22.53 kB / 378.4 MB, free: 21.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004358/0.4571, allocations: 203.6 kB / 378.6 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.4571, allocations: 4 kB / 378.6 MB, free: 21.19 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.178e-05/0.4571, allocations: 9.375 kB / 378.6 MB, free: 21.19 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.32e-06/0.4572, allocations: 4.625 kB / 378.6 MB, free: 21.19 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003438/0.4575, allocations: 125.8 kB / 378.8 MB, free: 21.19 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.459, allocations: 0.8253 MB / 379.6 MB, free: 20.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004001/0.4594, allocations: 156.6 kB / 379.7 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.4596, allocations: 66.91 kB / 379.8 MB, free: 20.67 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.4596, allocations: 3.281 kB / 379.8 MB, free: 20.67 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.4596, allocations: 33.25 kB / 379.8 MB, free: 20.63 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 2.881e-06/0.4596, allocations: 0 / 379.8 MB, free: 20.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004721/0.4601, allocations: 161 kB / 380 MB, free: 20.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.258e-05/0.4602, allocations: 52.69 kB / 380 MB, free: 20.51 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.4603, allocations: 162.7 kB / 380.2 MB, free: 20.41 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.4604, allocations: 27.39 kB / 380.2 MB, free: 20.38 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.493e-05/0.4605, allocations: 143.9 kB / 380.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.956e-05/0.4605, allocations: 53.59 kB / 380.4 MB, free: 20.23 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.051e-05/0.4605, allocations: 1.438 kB / 380.4 MB, free: 20.23 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.433e-05/0.4606, allocations: 332.4 kB / 380.7 MB, free: 19.91 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.4607, allocations: 41.38 kB / 380.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.4609, allocations: 76.27 kB / 380.9 MB, free: 19.88 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.461, allocations: 39.53 kB / 380.9 MB, free: 19.88 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.937e-06/0.461, allocations: 0 / 380.9 MB, free: 19.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004417/0.4615, allocations: 186.3 kB / 381.1 MB, free: 19.82 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.4615, allocations: 8.594 kB / 381.1 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.651e-06/0.4615, allocations: 1.188 kB / 381.1 MB, free: 19.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002123/0.4618, allocations: 31.91 kB / 381.1 MB, free: 19.81 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/0.462, allocations: 38.5 kB / 381.2 MB, free: 19.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001116/0.4631, allocations: 1.36 MB / 382.5 MB, free: 18.53 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.4634, allocations: 35.61 kB / 382.6 MB, free: 18.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.4635, allocations: 10.12 kB / 382.6 MB, free: 18.52 MB / 314.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 9.395e-05/0.4636, allocations: 115.9 kB / 382.7 MB, free: 18.4 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.4e-05/0.4636, allocations: 20.72 kB / 382.7 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.497e-05/0.4637, allocations: 21.61 kB / 382.7 MB, free: 18.38 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.712e-06/0.4637, allocations: 1.875 kB / 382.7 MB, free: 18.38 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.519e-06/0.4638, allocations: 9.078 kB / 382.7 MB, free: 18.38 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.868e-06/0.4638, allocations: 5.828 kB / 382.7 MB, free: 18.37 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000769/0.4645, allocations: 0.4963 MB / 383.2 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.085e-06/0.4646, allocations: 0 / 383.2 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002117/0.4648, allocations: 27.09 kB / 383.3 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001584/0.465, allocations: 29.27 kB / 383.3 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.465, allocations: 7.188 kB / 383.3 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001031/0.466, allocations: 1.365 MB / 384.7 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.4661, allocations: 0 / 384.7 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005992/0.4667, allocations: 317.2 kB / 385 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.4668, allocations: 103.1 kB / 385.1 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.646e-05/0.4669, allocations: 1.5 kB / 385.1 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003099/0.4672, allocations: 31.38 kB / 385.1 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.973e-05/0.4673, allocations: 18.89 kB / 385.1 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.4673, allocations: 7.25 kB / 385.1 MB, free: 16.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001224/0.4675, allocations: 125.2 kB / 385.2 MB, free: 16.42 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.37e-07/0.4675, allocations: 0 / 385.2 MB, free: 16.42 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004727/0.4679, allocations: 59.44 kB / 385.3 MB, free: 16.41 MB / 314.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.0001341/0.4681, allocations: 104.2 kB / 385.4 MB, free: 16.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004688/0.4686, allocations: 226.8 kB / 385.6 MB, free: 16.21 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.463e-06/0.4686, allocations: 0 / 385.6 MB, free: 16.21 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002353/0.4688, allocations: 179.3 kB / 385.8 MB, free: 16.1 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.4692, allocations: 26.55 kB / 385.8 MB, free: 16.1 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007018/0.4699, allocations: 300.5 kB / 386.1 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006745/0.4706, allocations: 0.7446 MB / 386.9 MB, free: 31.23 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001208/0.4708, allocations: 11.09 kB / 386.9 MB, free: 31.23 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.344e-05/0.4708, allocations: 18.88 kB / 386.9 MB, free: 31.21 MB / 330.7 MB Notification: Performance of SimCode: time 1.686e-06/0.4708, allocations: 0 / 386.9 MB, free: 31.21 MB / 330.7 MB Notification: Performance of Templates: time 0.007414/0.4783, allocations: 2.152 MB / 389 MB, free: 31.05 MB / 330.7 MB