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 2.132/2.132, allocations: 194.9 MB / 211.2 MB, free: 9.031 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.894e-05/2.897e-05, allocations: 4 kB / 258.8 MB, free: 9.391 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3502, allocations: 44.5 MB / 303.3 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003321/0.3536, allocations: 1.979 MB / 305.3 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.355, allocations: 0.544 MB / 305.8 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001544/0.3552, allocations: 6 kB / 305.8 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.233e-05/0.3553, allocations: 30.45 kB / 305.8 MB, free: 10.58 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002344/0.3556, allocations: 66.56 kB / 305.9 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/0.3558, allocations: 54.12 kB / 306 MB, free: 10.47 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002851/0.3561, allocations: 142.6 kB / 306.1 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.3563, allocations: 49.36 kB / 306.1 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.3564, allocations: 75.14 kB / 306.2 MB, free: 10.31 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.3566, allocations: 79.33 kB / 306.3 MB, free: 10.26 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.3568, allocations: 11.19 kB / 306.3 MB, free: 10.26 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.46e-05/0.3568, allocations: 9.156 kB / 306.3 MB, free: 10.26 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.909e-05/0.3569, allocations: 33.16 kB / 306.3 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.819e-05/0.3569, allocations: 21.34 kB / 306.4 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003172/0.3573, allocations: 183.2 kB / 306.5 MB, free: 10.1 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.3573, allocations: 4 kB / 306.6 MB, free: 10.1 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.786e-06/0.3573, allocations: 1.156 kB / 306.6 MB, free: 10.1 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.3573, allocations: 0 / 306.6 MB, free: 10.1 MB / 250.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.001242/0.3586, allocations: 0.5019 MB / 307.1 MB, free: 9.641 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.3587, allocations: 8.875 kB / 307.1 MB, free: 9.641 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.3588, allocations: 29.31 kB / 307.1 MB, free: 9.625 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.3592, allocations: 230.1 kB / 307.3 MB, free: 9.379 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.3592, allocations: 20.88 kB / 307.3 MB, free: 9.367 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.978e-05/0.3593, allocations: 22.41 kB / 307.4 MB, free: 9.359 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00066/0.36, allocations: 225.8 kB / 307.6 MB, free: 9.211 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.36, allocations: 0 / 307.6 MB, free: 9.211 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.101e-05/0.36, allocations: 10.52 kB / 307.6 MB, free: 9.203 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.3601, allocations: 5.812 kB / 307.6 MB, free: 9.203 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006408/0.3607, allocations: 173 kB / 307.8 MB, free: 9.125 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001959/0.3627, allocations: 0.8206 MB / 308.6 MB, free: 8.312 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006315/0.3634, allocations: 182.4 kB / 308.8 MB, free: 8.125 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.3634, allocations: 0 / 308.8 MB, free: 8.125 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.3634, allocations: 30.56 kB / 308.8 MB, free: 8.086 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.714e-06/0.3635, allocations: 7.938 kB / 308.8 MB, free: 8.078 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.001379/0.3648, allocations: 355.2 kB / 309.1 MB, free: 7.707 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.3649, allocations: 51.41 kB / 309.2 MB, free: 7.645 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.3651, allocations: 161.8 kB / 309.4 MB, free: 7.477 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.177e-05/0.3652, allocations: 29.7 kB / 309.4 MB, free: 7.441 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.3653, allocations: 214.5 kB / 309.6 MB, free: 7.23 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.725e-05/0.3654, allocations: 51.2 kB / 309.6 MB, free: 7.18 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.355e-05/0.3654, allocations: 4 kB / 309.7 MB, free: 7.176 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.3656, allocations: 322.8 kB / 310 MB, free: 6.852 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002586/0.3659, allocations: 56.34 kB / 310 MB, free: 6.797 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002925/0.3662, allocations: 105.5 kB / 310.1 MB, free: 6.68 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002646/0.3664, allocations: 57.08 kB / 310.2 MB, free: 6.625 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.3665, allocations: 0 / 310.2 MB, free: 6.625 MB / 250.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007901/0.3673, allocations: 223.9 kB / 310.4 MB, free: 6.398 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.3673, allocations: 8 kB / 310.4 MB, free: 6.391 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.3673, allocations: 0 / 310.4 MB, free: 6.391 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002639/0.3676, allocations: 36.83 kB / 310.4 MB, free: 6.352 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.3679, allocations: 39.91 kB / 310.5 MB, free: 6.312 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001752/0.3697, allocations: 1.37 MB / 311.9 MB, free: 4.805 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003635/0.3701, allocations: 43.81 kB / 311.9 MB, free: 4.762 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.3701, allocations: 8 kB / 311.9 MB, free: 4.754 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (19): * Single equations (assignments): 18 * 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.0001886/0.3703, allocations: 133.8 kB / 312 MB, free: 4.613 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.009e-05/0.3704, allocations: 15.81 kB / 312 MB, free: 4.598 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7e-05/0.3704, allocations: 29.8 kB / 312.1 MB, free: 4.562 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.3705, allocations: 4 kB / 312.1 MB, free: 4.559 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.3705, allocations: 3.953 kB / 312.1 MB, free: 4.555 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.3705, allocations: 0 / 312.1 MB, free: 4.555 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.3717, allocations: 0.5226 MB / 312.6 MB, free: 3.973 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.3717, allocations: 0 / 312.6 MB, free: 3.973 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000279/0.372, allocations: 35.97 kB / 312.6 MB, free: 3.938 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001923/0.3722, allocations: 29.12 kB / 312.7 MB, free: 3.906 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.3723, allocations: 4 kB / 312.7 MB, free: 3.902 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001582/0.3739, allocations: 1.374 MB / 314 MB, free: 2.398 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3739, allocations: 0 / 314 MB, free: 2.398 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.375, allocations: 368.1 kB / 314.4 MB, free: 2.02 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.3752, allocations: 108.8 kB / 314.5 MB, free: 1.895 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.312e-05/0.3752, allocations: 4 kB / 314.5 MB, free: 1.891 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003545/0.3756, allocations: 28.05 kB / 314.5 MB, free: 1.863 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.061e-05/0.3757, allocations: 19.97 kB / 314.6 MB, free: 1.844 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.3757, allocations: 4 kB / 314.6 MB, free: 1.84 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001599/0.3759, allocations: 136.2 kB / 314.7 MB, free: 1.707 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.3759, allocations: 0 / 314.7 MB, free: 1.707 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004491/0.3764, allocations: 59.84 kB / 314.8 MB, free: 1.648 MB / 250.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.0001556/0.3766, allocations: 103.2 kB / 314.9 MB, free: 1.539 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0008363/0.3774, allocations: 272.6 kB / 315.1 MB, free: 1.262 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3774, allocations: 0 / 315.1 MB, free: 1.262 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004393/0.3779, allocations: 207.7 kB / 315.3 MB, free: 1.047 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.3783, allocations: 21.22 kB / 315.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.3795, allocations: 0.581 MB / 315.9 MB, free: 424 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004216/0.38, allocations: 0.7476 MB / 316.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.277e-05/0.3801, allocations: 15.44 kB / 316.7 MB, free: 15.62 MB / 266.7 MB Notification: Performance of SimCode: time 9.62e-07/0.3801, allocations: 0 / 316.7 MB, free: 15.62 MB / 266.7 MB Notification: Performance of Templates: time 0.007466/0.3876, allocations: 3.046 MB / 319.7 MB, free: 12.58 MB / 266.7 MB