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_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadModel(Modelica): time 1.893/1.893, allocations: 194.9 MB / 210.6 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.445e-05/2.447e-05, allocations: 0 / 258.8 MB, free: 8.059 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2966, allocations: 44.49 MB / 303.3 MB, free: 12.94 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003252/0.3, allocations: 1.967 MB / 305.3 MB, free: 11.35 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.3012, allocations: 0.5543 MB / 305.8 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.3013, allocations: 7.219 kB / 305.8 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.653e-05/0.3014, allocations: 22.78 kB / 305.9 MB, free: 10.87 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002134/0.3016, allocations: 69.84 kB / 305.9 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002072/0.3018, allocations: 53.98 kB / 306 MB, free: 10.76 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000294/0.3021, allocations: 142.9 kB / 306.1 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.3023, allocations: 57.36 kB / 306.2 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.3025, allocations: 69.88 kB / 306.2 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.3027, allocations: 76.41 kB / 306.3 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.3028, allocations: 14.7 kB / 306.3 MB, free: 10.54 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.367e-05/0.3028, allocations: 9.344 kB / 306.3 MB, free: 10.54 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.35e-05/0.3029, allocations: 33.88 kB / 306.4 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.49e-05/0.3029, allocations: 25.84 kB / 306.4 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002892/0.3032, allocations: 181.9 kB / 306.6 MB, free: 10.33 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.3033, allocations: 0 / 306.6 MB, free: 10.33 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3033, allocations: 0 / 306.6 MB, free: 10.33 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.3033, allocations: 0 / 306.6 MB, free: 10.33 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.00117/0.3045, allocations: 0.507 MB / 307.1 MB, free: 9.773 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.3045, allocations: 8.031 kB / 307.1 MB, free: 9.766 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/0.3047, allocations: 31.66 kB / 307.1 MB, free: 9.734 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/0.305, allocations: 235 kB / 307.4 MB, free: 9.465 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.294e-05/0.3051, allocations: 16.44 kB / 307.4 MB, free: 9.449 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.871e-05/0.3051, allocations: 20 kB / 307.4 MB, free: 9.43 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006268/0.3058, allocations: 225.8 kB / 307.6 MB, free: 9.195 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.3058, allocations: 4 kB / 307.6 MB, free: 9.191 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.121e-05/0.3058, allocations: 12 kB / 307.6 MB, free: 9.18 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.3059, allocations: 8 kB / 307.6 MB, free: 9.172 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006483/0.3065, allocations: 165.6 kB / 307.8 MB, free: 9.012 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001816/0.3084, allocations: 0.8205 MB / 308.6 MB, free: 8.121 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005907/0.309, allocations: 182.5 kB / 308.8 MB, free: 7.934 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.309, allocations: 3.984 kB / 308.8 MB, free: 7.93 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.309, allocations: 38.5 kB / 308.8 MB, free: 7.883 MB / 250.7 MB Notification: Performance of pre-optimization done (n=16): time 1.784e-06/0.3091, allocations: 0 / 308.8 MB, free: 7.883 MB / 250.7 MB Notification: Performance of matching and sorting (n=16): time 0.001308/0.3104, allocations: 351.5 kB / 309.2 MB, free: 7.512 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.3104, allocations: 59.41 kB / 309.2 MB, free: 7.441 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/0.3106, allocations: 153.8 kB / 309.4 MB, free: 7.281 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.3107, allocations: 29.7 kB / 309.4 MB, free: 7.246 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.3108, allocations: 148.1 kB / 309.6 MB, free: 7.098 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.391e-05/0.3109, allocations: 51.2 kB / 309.6 MB, free: 7.047 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.501e-05/0.3109, allocations: 8 kB / 309.6 MB, free: 7.039 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.311, allocations: 326.8 kB / 309.9 MB, free: 6.711 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002499/0.3113, allocations: 64.33 kB / 310 MB, free: 6.648 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002753/0.3116, allocations: 92.95 kB / 310.1 MB, free: 6.543 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002625/0.3119, allocations: 69.06 kB / 310.2 MB, free: 6.477 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3119, allocations: 0 / 310.2 MB, free: 6.477 MB / 250.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007509/0.3126, allocations: 227.5 kB / 310.4 MB, free: 6.246 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.3127, allocations: 4 kB / 310.4 MB, free: 6.242 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3127, allocations: 0 / 310.4 MB, free: 6.242 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002375/0.3129, allocations: 36.83 kB / 310.4 MB, free: 6.203 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.3132, allocations: 35.92 kB / 310.5 MB, free: 6.168 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001517/0.3147, allocations: 1.37 MB / 311.8 MB, free: 4.66 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003099/0.3151, allocations: 43.83 kB / 311.9 MB, free: 4.617 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.3151, allocations: 4 kB / 311.9 MB, free: 4.613 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.0001556/0.3153, allocations: 133.8 kB / 312 MB, free: 4.473 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.631e-05/0.3153, allocations: 20.09 kB / 312 MB, free: 4.453 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.691e-05/0.3154, allocations: 21.81 kB / 312 MB, free: 4.426 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.3154, allocations: 7.984 kB / 312.1 MB, free: 4.418 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.3154, allocations: 7.953 kB / 312.1 MB, free: 4.41 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3155, allocations: 3.984 kB / 312.1 MB, free: 4.406 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.3166, allocations: 0.5225 MB / 312.6 MB, free: 3.824 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.3166, allocations: 0 / 312.6 MB, free: 3.824 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002565/0.3168, allocations: 31.98 kB / 312.6 MB, free: 3.793 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001728/0.317, allocations: 32.83 kB / 312.7 MB, free: 3.758 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.3171, allocations: 4 kB / 312.7 MB, free: 3.754 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001419/0.3185, allocations: 1.366 MB / 314 MB, free: 2.258 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.3185, allocations: 0 / 314 MB, free: 2.258 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009968/0.3195, allocations: 376.8 kB / 314.4 MB, free: 1.871 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.3196, allocations: 104.9 kB / 314.5 MB, free: 1.75 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.317e-05/0.3197, allocations: 4 kB / 314.5 MB, free: 1.746 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003372/0.32, allocations: 32.03 kB / 314.5 MB, free: 1.715 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.354e-05/0.3201, allocations: 15.97 kB / 314.5 MB, free: 1.699 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.3202, allocations: 8 kB / 314.6 MB, free: 1.691 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001337/0.3203, allocations: 128.2 kB / 314.7 MB, free: 1.566 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.3203, allocations: 0 / 314.7 MB, free: 1.566 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004372/0.3208, allocations: 67.83 kB / 314.7 MB, free: 1.5 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.0001326/0.3209, allocations: 108.3 kB / 314.8 MB, free: 1.387 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0007778/0.3217, allocations: 268.2 kB / 315.1 MB, free: 1.113 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3217, allocations: 4 kB / 315.1 MB, free: 1.109 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004222/0.3222, allocations: 195.4 kB / 315.3 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.3225, allocations: 24.17 kB / 315.3 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.3236, allocations: 0.5517 MB / 315.9 MB, free: 312 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.324, allocations: 0.7437 MB / 316.6 MB, free: 15.53 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001279/0.3241, allocations: 17.55 kB / 316.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.508e-05/0.3242, allocations: 15.44 kB / 316.7 MB, free: 15.5 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.3242, allocations: 3.938 kB / 316.7 MB, free: 15.5 MB / 266.7 MB Notification: Performance of Templates: time 0.007781/0.332, allocations: 2.121 MB / 318.8 MB, free: 13.4 MB / 266.7 MB