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.1_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadModel(Modelica): time 2.037/2.037, allocations: 171.2 MB / 186.3 MB, free: 1.418 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.948e-05/2.946e-05, allocations: 0 / 228.1 MB, free: 8.004 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08126/0.08131, allocations: 38.76 MB / 266.9 MB, free: 1.16 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003597/0.08497, allocations: 1.956 MB / 268.8 MB, free: 15.18 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.08652, allocations: 0.5382 MB / 269.4 MB, free: 14.64 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001693/0.08673, allocations: 11.94 kB / 269.4 MB, free: 14.63 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.176e-05/0.08683, allocations: 31.77 kB / 269.4 MB, free: 14.6 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002201/0.08706, allocations: 63.77 kB / 269.5 MB, free: 14.54 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002355/0.08731, allocations: 51.94 kB / 269.5 MB, free: 14.48 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002873/0.08761, allocations: 135.7 kB / 269.7 MB, free: 14.35 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001865/0.08781, allocations: 56.91 kB / 269.7 MB, free: 14.29 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.08797, allocations: 71.83 kB / 269.8 MB, free: 14.22 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001834/0.08816, allocations: 79.69 kB / 269.9 MB, free: 14.14 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.08829, allocations: 12 kB / 269.9 MB, free: 14.13 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.08833, allocations: 8 kB / 269.9 MB, free: 14.12 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.76e-05/0.08839, allocations: 39.84 kB / 269.9 MB, free: 14.09 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.78e-05/0.08847, allocations: 20 kB / 269.9 MB, free: 14.07 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003377/0.08882, allocations: 183.8 kB / 270.1 MB, free: 13.89 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.08884, allocations: 0 / 270.1 MB, free: 13.89 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.016e-06/0.08885, allocations: 0 / 270.1 MB, free: 13.89 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.08887, allocations: 4 kB / 270.1 MB, free: 13.88 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001278/0.09016, allocations: 0.4953 MB / 270.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.09022, allocations: 8.031 kB / 270.6 MB, free: 13.33 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001564/0.09039, allocations: 31.72 kB / 270.7 MB, free: 13.3 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/0.09079, allocations: 239.1 kB / 270.9 MB, free: 13.03 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/0.09083, allocations: 12.44 kB / 270.9 MB, free: 13.02 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.953e-05/0.0909, allocations: 20 kB / 270.9 MB, free: 13 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006685/0.09158, allocations: 233.8 kB / 271.2 MB, free: 12.75 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.09162, allocations: 4 kB / 271.2 MB, free: 12.75 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.653e-05/0.09166, allocations: 8 kB / 271.2 MB, free: 12.74 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.09169, allocations: 11.94 kB / 271.2 MB, free: 12.73 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006444/0.09234, allocations: 161.6 kB / 271.3 MB, free: 12.57 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/0.09442, allocations: 0.8241 MB / 272.2 MB, free: 11.68 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006337/0.0951, allocations: 162.6 kB / 272.3 MB, free: 11.52 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.09515, allocations: 4 kB / 272.3 MB, free: 11.51 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.09519, allocations: 34.5 kB / 272.4 MB, free: 11.47 MB / 234.7 MB Notification: Performance of pre-optimization done (n=16): time 2.866e-06/0.0952, allocations: 0 / 272.4 MB, free: 11.47 MB / 234.7 MB Notification: Performance of matching and sorting (n=16): time 0.001403/0.09661, allocations: 355.5 kB / 272.7 MB, free: 11.09 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.09671, allocations: 59.41 kB / 272.8 MB, free: 11.02 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.09697, allocations: 157.8 kB / 272.9 MB, free: 10.86 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.8e-05/0.09702, allocations: 29.7 kB / 272.9 MB, free: 10.82 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.09718, allocations: 206.5 kB / 273.1 MB, free: 10.62 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.836e-05/0.09727, allocations: 55.2 kB / 273.2 MB, free: 10.57 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.124e-05/0.09729, allocations: 0 / 273.2 MB, free: 10.57 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.09745, allocations: 322.8 kB / 273.5 MB, free: 10.24 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/0.09773, allocations: 64.28 kB / 273.6 MB, free: 10.18 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002886/0.09803, allocations: 96.75 kB / 273.7 MB, free: 10.07 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002735/0.09832, allocations: 65.45 kB / 273.7 MB, free: 10.01 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.09834, allocations: 0 / 273.7 MB, free: 10.01 MB / 234.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008158/0.09916, allocations: 224.1 kB / 274 MB, free: 9.785 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.0992, allocations: 4 kB / 274 MB, free: 9.781 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.09922, allocations: 4 kB / 274 MB, free: 9.777 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002634/0.09949, allocations: 36.77 kB / 274 MB, free: 9.738 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002826/0.09979, allocations: 35.98 kB / 274 MB, free: 9.703 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001736/0.1015, allocations: 1.374 MB / 275.4 MB, free: 8.191 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003514/0.1019, allocations: 35.89 kB / 275.4 MB, free: 8.156 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.102, allocations: 11.95 kB / 275.5 MB, free: 8.145 MB / 234.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.0001877/0.1022, allocations: 129.8 kB / 275.6 MB, free: 8.008 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.174e-05/0.1022, allocations: 19.81 kB / 275.6 MB, free: 7.988 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.347e-05/0.1023, allocations: 21.86 kB / 275.6 MB, free: 7.965 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1023, allocations: 0 / 275.6 MB, free: 7.965 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1024, allocations: 4 kB / 275.6 MB, free: 7.961 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1024, allocations: 0 / 275.6 MB, free: 7.961 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.1036, allocations: 0.5308 MB / 276.2 MB, free: 7.371 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.1036, allocations: 4 kB / 276.2 MB, free: 7.367 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/0.1039, allocations: 31.98 kB / 276.2 MB, free: 7.336 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001978/0.1041, allocations: 37.06 kB / 276.2 MB, free: 7.297 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/0.1042, allocations: 11.98 kB / 276.2 MB, free: 7.285 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001634/0.1058, allocations: 1.363 MB / 277.6 MB, free: 5.789 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.1059, allocations: 0 / 277.6 MB, free: 5.789 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.107, allocations: 376.2 kB / 278 MB, free: 5.402 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001327/0.1071, allocations: 100.9 kB / 278.1 MB, free: 5.285 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.291e-05/0.1072, allocations: 4 kB / 278.1 MB, free: 5.281 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003445/0.1075, allocations: 32.03 kB / 278.1 MB, free: 5.25 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.435e-05/0.1076, allocations: 19.97 kB / 278.1 MB, free: 5.23 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.1077, allocations: 4 kB / 278.1 MB, free: 5.227 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001553/0.1078, allocations: 124.3 kB / 278.2 MB, free: 5.105 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1078, allocations: 4 kB / 278.3 MB, free: 5.102 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0004387/0.1083, allocations: 55.84 kB / 278.3 MB, free: 5.047 MB / 234.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.0001674/0.1085, allocations: 107.2 kB / 278.4 MB, free: 4.93 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0009158/0.1094, allocations: 278.7 kB / 278.7 MB, free: 4.645 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.197e-06/0.1094, allocations: 0 / 278.7 MB, free: 4.645 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004379/0.1099, allocations: 198.6 kB / 278.9 MB, free: 4.438 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/0.1103, allocations: 36 kB / 278.9 MB, free: 4.402 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.1115, allocations: 0.5771 MB / 279.5 MB, free: 3.793 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004054/0.112, allocations: 0.744 MB / 280.2 MB, free: 3.023 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.666e-05/0.1121, allocations: 15.44 kB / 280.2 MB, free: 3.008 MB / 234.7 MB Notification: Performance of SimCode: time 1.102e-06/0.1121, allocations: 0 / 280.2 MB, free: 3.008 MB / 234.7 MB Notification: Performance of Templates: time 0.007805/0.1199, allocations: 3.009 MB / 283.3 MB, free: 0 / 234.7 MB