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_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadModel(Modelica): time 1.835/1.835, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.624e-05/2.635e-05, allocations: 4 kB / 249.6 MB, free: 15.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2516, allocations: 44.5 MB / 294.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1127/0.3644, allocations: 73.23 MB / 367.3 MB, free: 8.758 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/0.3647, allocations: 75.89 kB / 367.4 MB, free: 8.684 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01452/0.3792, allocations: 3.736 MB / 371.2 MB, free: 4.934 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.258e-06/0.3793, allocations: 0 / 371.2 MB, free: 4.934 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.682e-05/0.3793, allocations: 4 kB / 371.2 MB, free: 4.93 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.0008497/0.3802, allocations: 494.3 kB / 371.6 MB, free: 4.402 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.3802, allocations: 8.031 kB / 371.6 MB, free: 4.395 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.3804, allocations: 27.72 kB / 371.7 MB, free: 4.367 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003406/0.3807, allocations: 230.5 kB / 371.9 MB, free: 4.102 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.3807, allocations: 8 kB / 371.9 MB, free: 4.094 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.792e-05/0.3808, allocations: 15.94 kB / 371.9 MB, free: 4.078 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003459/0.3812, allocations: 120.9 kB / 372 MB, free: 3.961 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004104/0.3816, allocations: 181 kB / 372.2 MB, free: 3.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.3816, allocations: 0 / 372.2 MB, free: 3.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.3817, allocations: 0 / 372.2 MB, free: 3.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.3817, allocations: 8 kB / 372.2 MB, free: 3.762 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/0.3832, allocations: 0.7672 MB / 373 MB, free: 2.938 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003734/0.3836, allocations: 130.7 kB / 373.1 MB, free: 2.801 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.3838, allocations: 64.84 kB / 373.2 MB, free: 2.734 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.3838, allocations: 7.953 kB / 373.2 MB, free: 2.727 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.3839, allocations: 42.55 kB / 373.2 MB, free: 2.676 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 2.482e-06/0.3839, allocations: 0 / 373.2 MB, free: 2.676 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004584/0.3844, allocations: 139.6 kB / 373.4 MB, free: 2.531 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.3844, allocations: 59.41 kB / 373.4 MB, free: 2.461 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/0.3846, allocations: 129.4 kB / 373.6 MB, free: 2.328 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.3846, allocations: 25.7 kB / 373.6 MB, free: 2.297 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.3848, allocations: 210.7 kB / 373.8 MB, free: 2.09 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.315e-05/0.3849, allocations: 59.19 kB / 373.8 MB, free: 2.031 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.096e-06/0.3849, allocations: 0 / 373.8 MB, free: 2.031 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.3851, allocations: 318.8 kB / 374.2 MB, free: 1.711 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.3852, allocations: 36.38 kB / 374.2 MB, free: 1.676 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.3853, allocations: 71.83 kB / 374.3 MB, free: 1.594 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.3855, allocations: 45.97 kB / 374.3 MB, free: 1.551 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3855, allocations: 0 / 374.3 MB, free: 1.551 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004191/0.3859, allocations: 154.4 kB / 374.5 MB, free: 1.391 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.3859, allocations: 8 kB / 374.5 MB, free: 1.383 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.218e-06/0.3859, allocations: 4 kB / 374.5 MB, free: 1.379 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001966/0.3862, allocations: 28.84 kB / 374.5 MB, free: 1.348 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/0.3864, allocations: 40.02 kB / 374.5 MB, free: 1.309 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001453/0.3878, allocations: 1.299 MB / 375.8 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.3881, allocations: 39.86 kB / 375.9 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.3881, allocations: 8 kB / 375.9 MB, free: 15.84 MB / 330.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.0001144/0.3882, allocations: 108.8 kB / 376 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.754e-05/0.3883, allocations: 15.81 kB / 376 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.827e-05/0.3884, allocations: 20.75 kB / 376 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.081e-06/0.3884, allocations: 0 / 376 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.735e-06/0.3884, allocations: 3.938 kB / 376 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.675e-06/0.3884, allocations: 7.984 kB / 376 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007752/0.3892, allocations: 448.4 kB / 376.5 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.601e-06/0.3892, allocations: 0 / 376.5 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002057/0.3894, allocations: 36.11 kB / 376.5 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001473/0.3896, allocations: 36.77 kB / 376.5 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.3896, allocations: 3.953 kB / 376.5 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001359/0.391, allocations: 1.303 MB / 377.8 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.45e-06/0.391, allocations: 0 / 377.8 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005635/0.3916, allocations: 302.2 kB / 378.1 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.3917, allocations: 96.94 kB / 378.2 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/0.3918, allocations: 4 kB / 378.2 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002621/0.3921, allocations: 28.09 kB / 378.3 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.612e-05/0.3922, allocations: 19.97 kB / 378.3 MB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.3922, allocations: 4 kB / 378.3 MB, free: 13.21 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001128/0.3923, allocations: 119.8 kB / 378.4 MB, free: 13.1 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.31e-07/0.3923, allocations: 0 / 378.4 MB, free: 13.1 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004269/0.3928, allocations: 55.78 kB / 378.5 MB, free: 13.05 MB / 330.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.0001601/0.3929, allocations: 106.3 kB / 378.6 MB, free: 12.93 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004518/0.3934, allocations: 221.7 kB / 378.8 MB, free: 12.71 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.252e-06/0.3934, allocations: 0 / 378.8 MB, free: 12.71 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002621/0.3937, allocations: 161.8 kB / 378.9 MB, free: 12.54 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.394, allocations: 24.12 kB / 379 MB, free: 12.52 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007295/0.3948, allocations: 319.8 kB / 379.3 MB, free: 12.17 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000442/0.3952, allocations: 0.7397 MB / 380 MB, free: 11.4 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.022e-05/0.3953, allocations: 15.44 kB / 380 MB, free: 11.39 MB / 330.7 MB Notification: Performance of SimCode: time 1.438e-06/0.3953, allocations: 0 / 380 MB, free: 11.39 MB / 330.7 MB Notification: Performance of Templates: time 0.006122/0.4014, allocations: 2.912 MB / 382.9 MB, free: 8.48 MB / 330.7 MB