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.833/1.833, allocations: 194.9 MB / 208.5 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.91e-05/2.926e-05, allocations: 1.875 kB / 255.4 MB, free: 3.18 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07543/0.07548, allocations: 44.5 MB / 299.9 MB, free: 6.625 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3694/0.445, allocations: 73.91 MB / 373.8 MB, free: 22.51 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002079/0.4452, allocations: 67.16 kB / 373.8 MB, free: 22.51 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01388/0.4591, allocations: 3.767 MB / 377.6 MB, free: 21.94 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.899e-06/0.4592, allocations: 0 / 377.6 MB, free: 21.94 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.778e-05/0.4592, allocations: 8.875 kB / 377.6 MB, free: 21.94 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.0007325/0.4599, allocations: 497.9 kB / 378.1 MB, free: 21.54 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.46, allocations: 8.922 kB / 378.1 MB, free: 21.54 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.4601, allocations: 29.95 kB / 378.1 MB, free: 21.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.4604, allocations: 232.6 kB / 378.4 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.4604, allocations: 16.03 kB / 378.4 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.983e-05/0.4605, allocations: 21.12 kB / 378.4 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004341/0.461, allocations: 204.6 kB / 378.6 MB, free: 21.24 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.461, allocations: 0 / 378.6 MB, free: 21.24 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.959e-05/0.461, allocations: 9.875 kB / 378.6 MB, free: 21.24 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.344e-06/0.461, allocations: 8.906 kB / 378.6 MB, free: 21.24 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003361/0.4614, allocations: 122.9 kB / 378.7 MB, free: 21.24 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.4628, allocations: 0.8206 MB / 379.5 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003803/0.4632, allocations: 160.8 kB / 379.7 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.4633, allocations: 65.95 kB / 379.8 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.4634, allocations: 5.406 kB / 379.8 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.548e-05/0.4634, allocations: 31.81 kB / 379.8 MB, free: 20.68 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 2.429e-06/0.4634, allocations: 0 / 379.8 MB, free: 20.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004582/0.4639, allocations: 161.9 kB / 380 MB, free: 20.62 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.081e-05/0.4639, allocations: 53.5 kB / 380 MB, free: 20.56 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.4641, allocations: 159.1 kB / 380.2 MB, free: 20.46 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.4641, allocations: 32.41 kB / 380.2 MB, free: 20.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.652e-05/0.4642, allocations: 197 kB / 380.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.513e-05/0.4643, allocations: 54.75 kB / 380.5 MB, free: 20.22 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.187e-05/0.4643, allocations: 5.219 kB / 380.5 MB, free: 20.22 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.329e-05/0.4644, allocations: 326 kB / 380.8 MB, free: 19.9 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.4645, allocations: 41.69 kB / 380.8 MB, free: 19.9 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.4646, allocations: 74.78 kB / 380.9 MB, free: 19.86 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.4647, allocations: 40.67 kB / 380.9 MB, free: 19.86 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.4648, allocations: 1.25 kB / 380.9 MB, free: 19.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004179/0.4652, allocations: 177 kB / 381.1 MB, free: 19.81 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.4652, allocations: 6.281 kB / 381.1 MB, free: 19.81 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.267e-06/0.4652, allocations: 4.781 kB / 381.1 MB, free: 19.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001989/0.4655, allocations: 31.78 kB / 381.1 MB, free: 19.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.4657, allocations: 37.73 kB / 381.2 MB, free: 19.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001021/0.4667, allocations: 1.361 MB / 382.5 MB, free: 18.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.467, allocations: 38.38 kB / 382.6 MB, free: 18.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.467, allocations: 3.844 kB / 382.6 MB, free: 18.5 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.412e-05/0.4671, allocations: 118.6 kB / 382.7 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.469e-05/0.4671, allocations: 19.38 kB / 382.7 MB, free: 18.38 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.725e-05/0.4672, allocations: 20.69 kB / 382.7 MB, free: 18.37 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.338e-06/0.4672, allocations: 3.953 kB / 382.7 MB, free: 18.37 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.049e-06/0.4672, allocations: 7.891 kB / 382.7 MB, free: 18.36 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.136e-06/0.4672, allocations: 1.438 kB / 382.7 MB, free: 18.36 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006885/0.4679, allocations: 0.4945 MB / 383.2 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.748e-06/0.468, allocations: 1.469 kB / 383.2 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002065/0.4682, allocations: 27.39 kB / 383.3 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001411/0.4683, allocations: 31.89 kB / 383.3 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.4684, allocations: 1.219 kB / 383.3 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009406/0.4693, allocations: 1.368 MB / 384.7 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.4693, allocations: 1.438 kB / 384.7 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005166/0.4699, allocations: 316.2 kB / 385 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.388e-05/0.47, allocations: 103.4 kB / 385.1 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.299e-05/0.47, allocations: 0.9688 kB / 385.1 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.4703, allocations: 27.33 kB / 385.1 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.046e-05/0.4704, allocations: 24.73 kB / 385.1 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.4704, allocations: 3.438 kB / 385.1 MB, free: 16.49 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001083/0.4705, allocations: 127.9 kB / 385.3 MB, free: 16.41 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.29e-07/0.4705, allocations: 0.875 kB / 385.3 MB, free: 16.41 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004569/0.471, allocations: 60.78 kB / 385.3 MB, free: 16.4 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.0001206/0.4711, allocations: 101.2 kB / 385.4 MB, free: 16.31 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004206/0.4716, allocations: 232.9 kB / 385.7 MB, free: 16.2 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.133e-06/0.4716, allocations: 0 / 385.7 MB, free: 16.2 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002224/0.4718, allocations: 173.6 kB / 385.8 MB, free: 16.09 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.4722, allocations: 35.72 kB / 385.9 MB, free: 16.08 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006292/0.4728, allocations: 318.5 kB / 386.2 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006244/0.4735, allocations: 0.7398 MB / 386.9 MB, free: 31.19 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.179e-05/0.4735, allocations: 17.5 kB / 386.9 MB, free: 31.18 MB / 330.7 MB Notification: Performance of SimCode: time 1.516e-06/0.4736, allocations: 3.938 kB / 386.9 MB, free: 31.18 MB / 330.7 MB Notification: Performance of Templates: time 0.005536/0.4791, allocations: 3.039 MB / 390 MB, free: 31.02 MB / 330.7 MB