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_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadModel(Modelica): time 1.761/1.761, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.502e-05/2.518e-05, allocations: 4 kB / 225 MB, free: 2.793 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2121, allocations: 38.77 MB / 263.8 MB, free: 9.883 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.104/0.3161, allocations: 68.64 MB / 332.4 MB, free: 5.145 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/0.3164, allocations: 67.97 kB / 332.5 MB, free: 5.078 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01516/0.3316, allocations: 3.79 MB / 336.2 MB, free: 1.27 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.031e-06/0.3316, allocations: 0 / 336.2 MB, free: 1.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.843e-05/0.3316, allocations: 4 kB / 336.3 MB, free: 1.266 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.0009175/0.3326, allocations: 494.3 kB / 336.7 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.3326, allocations: 8.031 kB / 336.7 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000218/0.3329, allocations: 35.7 kB / 336.8 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004726/0.3334, allocations: 222.7 kB / 337 MB, free: 448 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.3334, allocations: 16.44 kB / 337 MB, free: 432 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.532e-05/0.3335, allocations: 19.95 kB / 337 MB, free: 412 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004789/0.334, allocations: 205 kB / 337.2 MB, free: 192 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.334, allocations: 3.938 kB / 337.2 MB, free: 188 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.256e-05/0.334, allocations: 12 kB / 337.2 MB, free: 176 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.3341, allocations: 8 kB / 337.3 MB, free: 168 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003487/0.3344, allocations: 120.9 kB / 337.4 MB, free: 48 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001726/0.3362, allocations: 0.8163 MB / 338.2 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004167/0.3366, allocations: 146.6 kB / 338.3 MB, free: 15.01 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.3368, allocations: 68.8 kB / 338.4 MB, free: 14.94 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.3368, allocations: 0 / 338.4 MB, free: 14.94 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.3369, allocations: 42.56 kB / 338.4 MB, free: 14.89 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 2.706e-06/0.3369, allocations: 0 / 338.4 MB, free: 14.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.00052/0.3374, allocations: 168.8 kB / 338.6 MB, free: 14.72 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.3375, allocations: 51.41 kB / 338.7 MB, free: 14.66 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.3377, allocations: 153.8 kB / 338.8 MB, free: 14.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.263e-05/0.3378, allocations: 33.7 kB / 338.8 MB, free: 14.46 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.3379, allocations: 198.5 kB / 339 MB, free: 14.26 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.707e-05/0.338, allocations: 59.27 kB / 339.1 MB, free: 14.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.326e-05/0.338, allocations: 4 kB / 339.1 MB, free: 14.2 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.3382, allocations: 322.8 kB / 339.4 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.3383, allocations: 44.38 kB / 339.5 MB, free: 13.83 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.3385, allocations: 72.48 kB / 339.5 MB, free: 13.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.3386, allocations: 41.39 kB / 339.6 MB, free: 13.71 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.908e-06/0.3386, allocations: 0 / 339.6 MB, free: 13.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004677/0.3391, allocations: 183.2 kB / 339.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.3391, allocations: 4 kB / 339.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.143e-06/0.3392, allocations: 3.938 kB / 339.8 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002254/0.3394, allocations: 36.78 kB / 339.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.3396, allocations: 31.98 kB / 339.8 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001574/0.3412, allocations: 1.351 MB / 341.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002632/0.3415, allocations: 43.91 kB / 341.2 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.3415, allocations: 4 kB / 341.2 MB, free: 11.91 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.0001253/0.3417, allocations: 112.9 kB / 341.3 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.033e-05/0.3417, allocations: 15.95 kB / 341.3 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.231e-05/0.3418, allocations: 25.64 kB / 341.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.733e-06/0.3418, allocations: 0 / 341.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/0.3419, allocations: 3.984 kB / 341.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.83e-06/0.3419, allocations: 4 kB / 341.4 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008938/0.3428, allocations: 0.4913 MB / 341.9 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.922e-06/0.3428, allocations: 0 / 341.9 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002166/0.343, allocations: 31.92 kB / 341.9 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001673/0.3432, allocations: 32.84 kB / 341.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.3433, allocations: 0 / 341.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001484/0.3447, allocations: 1.366 MB / 343.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.563e-06/0.3448, allocations: 0 / 343.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006476/0.3454, allocations: 323.2 kB / 343.6 MB, free: 9.297 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.3456, allocations: 96.91 kB / 343.7 MB, free: 9.184 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.3456, allocations: 3.984 kB / 343.7 MB, free: 9.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002752/0.3459, allocations: 27.98 kB / 343.7 MB, free: 9.152 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.965e-05/0.346, allocations: 24.03 kB / 343.8 MB, free: 9.129 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.3461, allocations: 7.938 kB / 343.8 MB, free: 9.121 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001517/0.3462, allocations: 128.3 kB / 343.9 MB, free: 8.996 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.88e-07/0.3462, allocations: 0 / 343.9 MB, free: 8.996 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004589/0.3467, allocations: 55.84 kB / 343.9 MB, free: 8.941 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.0001811/0.3469, allocations: 115.3 kB / 344.1 MB, free: 8.816 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005006/0.3474, allocations: 223.7 kB / 344.3 MB, free: 8.59 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3474, allocations: 0 / 344.3 MB, free: 8.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002817/0.3477, allocations: 173.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.0003408/0.3481, allocations: 32.06 kB / 344.5 MB, free: 8.379 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007958/0.3489, allocations: 325.1 kB / 344.8 MB, free: 8.031 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004483/0.3494, allocations: 0.7363 MB / 345.5 MB, free: 7.266 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.564e-05/0.3494, allocations: 19.44 kB / 345.6 MB, free: 7.246 MB / 298.7 MB Notification: Performance of SimCode: time 1.638e-06/0.3495, allocations: 0 / 345.6 MB, free: 7.246 MB / 298.7 MB Notification: Performance of Templates: time 0.006448/0.3559, allocations: 3.031 MB / 348.6 MB, free: 4.219 MB / 298.7 MB