Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadModel(Modelica): time 2.162/2.162, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.683e-05/2.69e-05, allocations: 4 kB / 292.1 MB, free: 8.871 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09842/0.09847, allocations: 50.42 MB / 342.5 MB, free: 6.434 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3567/0.4552, allocations: 79.67 MB / 422.2 MB, free: 14.51 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/0.4555, allocations: 76.17 kB / 422.3 MB, free: 14.47 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01522/0.4707, allocations: 3.87 MB / 426.2 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.753e-06/0.4708, allocations: 0 / 426.2 MB, free: 11.14 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.883e-05/0.4708, allocations: 4 kB / 426.2 MB, free: 11.13 MB / 346.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.0009233/0.4717, allocations: 494.9 kB / 426.6 MB, free: 10.62 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.4718, allocations: 12.03 kB / 426.7 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.4719, allocations: 27.72 kB / 426.7 MB, free: 10.58 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000356/0.4723, allocations: 216.9 kB / 426.9 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.4724, allocations: 15.75 kB / 426.9 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.353e-05/0.4724, allocations: 21.12 kB / 426.9 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005035/0.4729, allocations: 208.3 kB / 427.1 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.473, allocations: 0 / 427.1 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.401e-05/0.473, allocations: 14.58 kB / 427.1 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.473, allocations: 8 kB / 427.2 MB, free: 10.15 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004038/0.4735, allocations: 125 kB / 427.3 MB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.4753, allocations: 0.824 MB / 428.1 MB, free: 9.301 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004398/0.4757, allocations: 149.3 kB / 428.2 MB, free: 9.191 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.4759, allocations: 65.89 kB / 428.3 MB, free: 9.145 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.476, allocations: 7.875 kB / 428.3 MB, free: 9.137 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.476, allocations: 38.06 kB / 428.4 MB, free: 9.094 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 3.091e-06/0.476, allocations: 0 / 428.4 MB, free: 9.094 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005311/0.4766, allocations: 157 kB / 428.5 MB, free: 8.961 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.4766, allocations: 51.41 kB / 428.6 MB, free: 8.898 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.4769, allocations: 158.2 kB / 428.7 MB, free: 8.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.523e-05/0.4769, allocations: 37.62 kB / 428.8 MB, free: 8.707 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/0.4771, allocations: 206.6 kB / 429 MB, free: 8.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.021e-05/0.4771, allocations: 50.95 kB / 429 MB, free: 8.477 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.423e-05/0.4772, allocations: 7.188 kB / 429 MB, free: 8.473 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.4773, allocations: 318.6 kB / 429.3 MB, free: 8.156 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.4775, allocations: 42.94 kB / 429.4 MB, free: 8.129 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.4777, allocations: 65.62 kB / 429.4 MB, free: 8.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.4778, allocations: 42.23 kB / 429.5 MB, free: 8.043 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.663e-06/0.4778, allocations: 0 / 429.5 MB, free: 8.043 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005005/0.4783, allocations: 182.5 kB / 429.6 MB, free: 7.895 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.4784, allocations: 4 kB / 429.7 MB, free: 7.891 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.4784, allocations: 7.984 kB / 429.7 MB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002222/0.4786, allocations: 27.16 kB / 429.7 MB, free: 7.859 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.4789, allocations: 31.98 kB / 429.7 MB, free: 7.828 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001613/0.4805, allocations: 1.362 MB / 431.1 MB, free: 6.406 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002602/0.4808, allocations: 35.92 kB / 431.1 MB, free: 6.371 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.4808, allocations: 11.23 kB / 431.1 MB, free: 6.363 MB / 346.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.0001314/0.4809, allocations: 120.4 kB / 431.2 MB, free: 6.242 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.295e-05/0.481, allocations: 19.19 kB / 431.3 MB, free: 6.227 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.8e-05/0.4811, allocations: 20.53 kB / 431.3 MB, free: 6.215 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.364e-06/0.4811, allocations: 0 / 431.3 MB, free: 6.215 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.431e-06/0.4811, allocations: 4 kB / 431.3 MB, free: 6.211 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.931e-06/0.4811, allocations: 3.984 kB / 431.3 MB, free: 6.207 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009697/0.4821, allocations: 0.4908 MB / 431.8 MB, free: 5.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.885e-06/0.4821, allocations: 3.938 kB / 431.8 MB, free: 5.727 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002152/0.4824, allocations: 23.98 kB / 431.8 MB, free: 5.703 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001735/0.4826, allocations: 35.53 kB / 431.8 MB, free: 5.672 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.4826, allocations: 3.625 kB / 431.8 MB, free: 5.672 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001549/0.4842, allocations: 1.36 MB / 433.2 MB, free: 4.254 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.957e-06/0.4842, allocations: 3.953 kB / 433.2 MB, free: 4.25 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000679/0.4849, allocations: 314.4 kB / 433.5 MB, free: 3.98 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.4851, allocations: 111.6 kB / 433.6 MB, free: 3.859 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.536e-05/0.4851, allocations: 4 kB / 433.6 MB, free: 3.855 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002852/0.4854, allocations: 31.28 kB / 433.7 MB, free: 3.828 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.571e-05/0.4855, allocations: 23.41 kB / 433.7 MB, free: 3.809 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.4855, allocations: 7.938 kB / 433.7 MB, free: 3.801 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001604/0.4857, allocations: 125.5 kB / 433.8 MB, free: 3.691 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.19e-07/0.4857, allocations: 0 / 433.8 MB, free: 3.691 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004558/0.4862, allocations: 61.78 kB / 433.9 MB, free: 3.637 MB / 346.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.0001842/0.4864, allocations: 106.4 kB / 434 MB, free: 3.523 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000526/0.4869, allocations: 223.1 kB / 434.2 MB, free: 3.332 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.172e-06/0.4869, allocations: 0 / 434.2 MB, free: 3.332 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002898/0.4872, allocations: 170.1 kB / 434.4 MB, free: 3.176 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.4876, allocations: 30.61 kB / 434.4 MB, free: 3.156 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008138/0.4884, allocations: 315.4 kB / 434.7 MB, free: 2.852 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000496/0.4889, allocations: 0.7402 MB / 435.4 MB, free: 2.086 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.4891, allocations: 23.42 kB / 435.5 MB, free: 2.062 MB / 346.7 MB Notification: Performance of SimCode: time 2.096e-06/0.4891, allocations: 0 / 435.5 MB, free: 2.062 MB / 346.7 MB Notification: Performance of Templates: time 0.006514/0.4956, allocations: 3.038 MB / 438.5 MB, free: 15.05 MB / 362.7 MB