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.808/1.808, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.78e-05/2.797e-05, allocations: 6.984 kB / 255.3 MB, free: 3.188 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07704/0.07709, allocations: 44.5 MB / 299.8 MB, free: 6.633 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3199/0.3971, allocations: 73.89 MB / 373.7 MB, free: 22.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002086/0.3973, allocations: 70.47 kB / 373.8 MB, free: 22.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01411/0.4115, allocations: 3.779 MB / 377.6 MB, free: 21.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4115, allocations: 0 / 377.6 MB, free: 21.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.657e-05/0.4115, allocations: 4.531 kB / 377.6 MB, free: 21.84 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.000707/0.4122, allocations: 495.7 kB / 378.1 MB, free: 21.45 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.4123, allocations: 13.12 kB / 378.1 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.4124, allocations: 26 kB / 378.1 MB, free: 21.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.4127, allocations: 235.9 kB / 378.3 MB, free: 21.21 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.4127, allocations: 14.94 kB / 378.3 MB, free: 21.21 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.049e-05/0.4128, allocations: 21.62 kB / 378.4 MB, free: 21.21 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000428/0.4132, allocations: 208.4 kB / 378.6 MB, free: 21.15 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.4133, allocations: 0.9375 kB / 378.6 MB, free: 21.15 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/0.4133, allocations: 14.62 kB / 378.6 MB, free: 21.15 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.4133, allocations: 8.125 kB / 378.6 MB, free: 21.14 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003408/0.4137, allocations: 127.7 kB / 378.7 MB, free: 21.14 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.4151, allocations: 0.8214 MB / 379.5 MB, free: 20.67 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003833/0.4155, allocations: 150.8 kB / 379.7 MB, free: 20.63 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.4157, allocations: 66.78 kB / 379.7 MB, free: 20.62 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.4157, allocations: 4.656 kB / 379.8 MB, free: 20.62 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.4157, allocations: 31.81 kB / 379.8 MB, free: 20.59 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 2.413e-06/0.4157, allocations: 0 / 379.8 MB, free: 20.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004489/0.4162, allocations: 163.4 kB / 379.9 MB, free: 20.53 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.255e-05/0.4162, allocations: 54.09 kB / 380 MB, free: 20.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.4164, allocations: 161.6 kB / 380.2 MB, free: 20.36 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.4164, allocations: 27.23 kB / 380.2 MB, free: 20.33 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.353e-05/0.4165, allocations: 205.5 kB / 380.4 MB, free: 20.16 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.388e-05/0.4166, allocations: 59.94 kB / 380.4 MB, free: 20.12 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.728e-06/0.4166, allocations: 0 / 380.4 MB, free: 20.12 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.289e-05/0.4167, allocations: 324.5 kB / 380.8 MB, free: 19.81 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.4168, allocations: 42.16 kB / 380.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.4169, allocations: 77.53 kB / 380.9 MB, free: 19.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.4171, allocations: 42.97 kB / 380.9 MB, free: 19.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.4171, allocations: 3.938 kB / 380.9 MB, free: 19.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004122/0.4175, allocations: 174.9 kB / 381.1 MB, free: 19.71 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.4175, allocations: 6.859 kB / 381.1 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.659e-06/0.4176, allocations: 3.297 kB / 381.1 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001986/0.4178, allocations: 32.12 kB / 381.1 MB, free: 19.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.418, allocations: 36.36 kB / 381.2 MB, free: 19.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001026/0.419, allocations: 1.367 MB / 382.5 MB, free: 18.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.4193, allocations: 34.67 kB / 382.6 MB, free: 18.4 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.4193, allocations: 10.41 kB / 382.6 MB, free: 18.4 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 7.49e-05/0.4194, allocations: 108.3 kB / 382.7 MB, free: 18.3 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.613e-05/0.4195, allocations: 18.69 kB / 382.7 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.749e-05/0.4195, allocations: 23.25 kB / 382.7 MB, free: 18.28 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.352e-06/0.4195, allocations: 1.375 kB / 382.7 MB, free: 18.28 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.335e-06/0.4195, allocations: 9.297 kB / 382.7 MB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.853e-06/0.4196, allocations: 1.781 kB / 382.7 MB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007165/0.4203, allocations: 0.5033 MB / 383.2 MB, free: 17.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.4203, allocations: 3.453 kB / 383.2 MB, free: 17.94 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.4205, allocations: 25.09 kB / 383.3 MB, free: 17.94 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001499/0.4207, allocations: 32.44 kB / 383.3 MB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.4207, allocations: 9.812 kB / 383.3 MB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009426/0.4217, allocations: 1.355 MB / 384.7 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4217, allocations: 0 / 384.7 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000516/0.4222, allocations: 319.2 kB / 385 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.286e-05/0.4223, allocations: 98.47 kB / 385.1 MB, free: 16.4 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.379e-05/0.4224, allocations: 7.5 kB / 385.1 MB, free: 16.4 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002614/0.4226, allocations: 23.17 kB / 385.1 MB, free: 16.4 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.517e-05/0.4227, allocations: 23.14 kB / 385.1 MB, free: 16.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.4228, allocations: 4.188 kB / 385.1 MB, free: 16.39 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001088/0.4229, allocations: 126.1 kB / 385.3 MB, free: 16.32 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.48e-07/0.4229, allocations: 0 / 385.3 MB, free: 16.32 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004291/0.4233, allocations: 63.22 kB / 385.3 MB, free: 16.31 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.0001247/0.4235, allocations: 105.6 kB / 385.4 MB, free: 16.22 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004252/0.4239, allocations: 235.3 kB / 385.6 MB, free: 16.09 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.891e-06/0.4239, allocations: 0 / 385.6 MB, free: 16.09 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002317/0.4242, allocations: 179.4 kB / 385.8 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.4245, allocations: 32.8 kB / 385.9 MB, free: 15.97 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006403/0.4252, allocations: 326.1 kB / 386.2 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006601/0.4258, allocations: 0.741 MB / 386.9 MB, free: 31.07 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.006e-05/0.4259, allocations: 16.56 kB / 386.9 MB, free: 31.07 MB / 330.7 MB Notification: Performance of SimCode: time 1.41e-06/0.4259, allocations: 0 / 386.9 MB, free: 31.07 MB / 330.7 MB Notification: Performance of Templates: time 0.005641/0.4316, allocations: 3.043 MB / 390 MB, free: 30.91 MB / 330.7 MB