Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|heatCapacitor.T|onOffController.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadModel(Modelica): time 2.145/2.145, allocations: 224.7 MB / 241.1 MB, free: 1.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.03e-05/3.03e-05, allocations: 4 kB / 294.6 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.111, allocations: 50.41 MB / 345 MB, free: 8.949 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.00369/0.1148, allocations: 2.002 MB / 347 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001538/0.1164, allocations: 0.5573 MB / 347.5 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001829/0.1166, allocations: 8 kB / 347.5 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.136e-05/0.1167, allocations: 27.83 kB / 347.6 MB, free: 6.332 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002435/0.117, allocations: 67.75 kB / 347.6 MB, free: 6.266 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002477/0.1172, allocations: 43.95 kB / 347.7 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003181/0.1176, allocations: 139.7 kB / 347.8 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/0.1178, allocations: 52.95 kB / 347.9 MB, free: 6.035 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.1179, allocations: 71.83 kB / 347.9 MB, free: 5.965 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001843/0.1181, allocations: 83.67 kB / 348 MB, free: 5.883 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.1183, allocations: 12 kB / 348 MB, free: 5.871 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.865e-05/0.1183, allocations: 8 kB / 348 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.54e-05/0.1184, allocations: 35.84 kB / 348.1 MB, free: 5.828 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.096e-05/0.1185, allocations: 20 kB / 348.1 MB, free: 5.809 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003395/0.1188, allocations: 187.7 kB / 348.3 MB, free: 5.625 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.1189, allocations: 0 / 348.3 MB, free: 5.625 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1189, allocations: 4 kB / 348.3 MB, free: 5.621 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.1189, allocations: 0 / 348.3 MB, free: 5.621 MB / 282.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.001339/0.1202, allocations: 0.5031 MB / 348.8 MB, free: 5.07 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.1203, allocations: 8.031 kB / 348.8 MB, free: 5.062 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001816/0.1205, allocations: 31.61 kB / 348.8 MB, free: 5.031 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003699/0.1209, allocations: 227.1 kB / 349 MB, free: 4.77 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/0.1209, allocations: 28.31 kB / 349.1 MB, free: 4.742 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.806e-05/0.121, allocations: 20 kB / 349.1 MB, free: 4.723 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007085/0.1217, allocations: 225.8 kB / 349.3 MB, free: 4.492 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.1218, allocations: 0 / 349.3 MB, free: 4.492 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.789e-05/0.1218, allocations: 8 kB / 349.3 MB, free: 4.484 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.1218, allocations: 11.95 kB / 349.3 MB, free: 4.473 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007045/0.1225, allocations: 169.6 kB / 349.5 MB, free: 4.309 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002026/0.1246, allocations: 0.8205 MB / 350.3 MB, free: 3.414 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006368/0.1253, allocations: 174.5 kB / 350.5 MB, free: 3.234 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.1253, allocations: 288 / 350.5 MB, free: 3.234 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.1254, allocations: 34.56 kB / 350.5 MB, free: 3.191 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.664e-06/0.1254, allocations: 0 / 350.5 MB, free: 3.191 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.001442/0.1268, allocations: 351.2 kB / 350.9 MB, free: 2.82 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.1269, allocations: 59.36 kB / 350.9 MB, free: 2.75 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/0.1272, allocations: 162.3 kB / 351.1 MB, free: 2.578 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.1272, allocations: 29.7 kB / 351.1 MB, free: 2.543 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.1274, allocations: 214.4 kB / 351.3 MB, free: 2.332 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.603e-05/0.1275, allocations: 55.33 kB / 351.4 MB, free: 2.277 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.214e-05/0.1275, allocations: 0 / 351.4 MB, free: 2.277 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.1276, allocations: 318.8 kB / 351.7 MB, free: 1.957 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002815/0.1279, allocations: 60.33 kB / 351.7 MB, free: 1.898 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002874/0.1282, allocations: 89.02 kB / 351.8 MB, free: 1.797 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002883/0.1285, allocations: 75.81 kB / 351.9 MB, free: 1.723 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1285, allocations: 0 / 351.9 MB, free: 1.723 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008281/0.1294, allocations: 214.3 kB / 352.1 MB, free: 1.504 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.1294, allocations: 10.77 kB / 352.1 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.1295, allocations: 0 / 352.1 MB, free: 1.496 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002799/0.1297, allocations: 36.83 kB / 352.2 MB, free: 1.457 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002999/0.1301, allocations: 31.98 kB / 352.2 MB, free: 1.426 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001768/0.1318, allocations: 1.382 MB / 353.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003738/0.1323, allocations: 39.92 kB / 353.6 MB, free: 15.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.1323, allocations: 7.984 kB / 353.6 MB, free: 15.86 MB / 298.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.00019/0.1325, allocations: 132.2 kB / 353.7 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.785e-05/0.1326, allocations: 19.77 kB / 353.8 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.565e-05/0.1327, allocations: 22.09 kB / 353.8 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1327, allocations: 4 kB / 353.8 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.1327, allocations: 3.984 kB / 353.8 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.1327, allocations: 3.984 kB / 353.8 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.134, allocations: 0.5302 MB / 354.3 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.134, allocations: 0 / 354.3 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003235/0.1344, allocations: 35.92 kB / 354.4 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002118/0.1346, allocations: 32.83 kB / 354.4 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.1346, allocations: 8 kB / 354.4 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001593/0.1362, allocations: 1.363 MB / 355.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.1363, allocations: 3.984 kB / 355.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.1374, allocations: 372.7 kB / 356.1 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.1376, allocations: 96.94 kB / 356.2 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.1376, allocations: 8 kB / 356.2 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003688/0.138, allocations: 35.98 kB / 356.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.1381, allocations: 19.97 kB / 356.3 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.1382, allocations: 4 kB / 356.3 MB, free: 12.94 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002327/0.1384, allocations: 127.2 kB / 356.4 MB, free: 12.81 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.1384, allocations: 4 kB / 356.4 MB, free: 12.81 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007905/0.1393, allocations: 55.84 kB / 356.5 MB, free: 12.75 MB / 298.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.0002154/0.1395, allocations: 111.5 kB / 356.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001213/0.1407, allocations: 266.4 kB / 356.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.1408, allocations: 4.25 kB / 356.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006052/0.1414, allocations: 194.6 kB / 357 MB, free: 12.16 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005824/0.142, allocations: 24.17 kB / 357.1 MB, free: 12.13 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.1438, allocations: 0.5768 MB / 357.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005074/0.1444, allocations: 0.744 MB / 358.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.1446, allocations: 19.42 kB / 358.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of SimCode: time 1.593e-06/0.1446, allocations: 0 / 358.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of Templates: time 0.01168/0.1563, allocations: 3.047 MB / 361.4 MB, free: 7.695 MB / 298.7 MB