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_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature") Notification: Performance of loadModel(Modelica): time 1.821/1.821, allocations: 171.2 MB / 185.7 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.482e-05/3.475e-05, allocations: 4 kB / 228.1 MB, free: 7.34 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1078, allocations: 38.77 MB / 266.9 MB, free: 500 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.005001/0.1129, allocations: 1.957 MB / 268.9 MB, free: 14.51 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.1147, allocations: 0.5381 MB / 269.4 MB, free: 13.97 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001514/0.1149, allocations: 4 kB / 269.4 MB, free: 13.96 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.1151, allocations: 31.77 kB / 269.4 MB, free: 13.93 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002596/0.1154, allocations: 67.77 kB / 269.5 MB, free: 13.87 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.1156, allocations: 47.94 kB / 269.6 MB, free: 13.82 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004125/0.1161, allocations: 135.7 kB / 269.7 MB, free: 13.69 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002327/0.1163, allocations: 56.89 kB / 269.7 MB, free: 13.63 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.1165, allocations: 63.84 kB / 269.8 MB, free: 13.57 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/0.1168, allocations: 87.67 kB / 269.9 MB, free: 13.48 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/0.117, allocations: 12 kB / 269.9 MB, free: 13.47 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.696e-05/0.117, allocations: 8 kB / 269.9 MB, free: 13.46 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.118e-05/0.1171, allocations: 39.83 kB / 269.9 MB, free: 13.42 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.689e-05/0.1172, allocations: 24 kB / 270 MB, free: 13.4 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003991/0.1177, allocations: 179.7 kB / 270.1 MB, free: 13.22 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.583e-06/0.1177, allocations: 4 kB / 270.1 MB, free: 13.22 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.786e-06/0.1177, allocations: 0 / 270.1 MB, free: 13.22 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.1177, allocations: 0 / 270.1 MB, free: 13.22 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.001642/0.1194, allocations: 0.4992 MB / 270.6 MB, free: 12.67 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/0.1195, allocations: 12.03 kB / 270.7 MB, free: 12.66 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001986/0.1197, allocations: 27.72 kB / 270.7 MB, free: 12.63 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004633/0.1202, allocations: 238.3 kB / 270.9 MB, free: 12.36 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.556e-05/0.1202, allocations: 12.44 kB / 270.9 MB, free: 12.35 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.144e-05/0.1203, allocations: 20 kB / 271 MB, free: 12.33 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009697/0.1213, allocations: 233.8 kB / 271.2 MB, free: 12.09 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/0.1214, allocations: 3.938 kB / 271.2 MB, free: 12.09 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.891e-05/0.1214, allocations: 12 kB / 271.2 MB, free: 12.07 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.1215, allocations: 4 kB / 271.2 MB, free: 12.07 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009388/0.1224, allocations: 161.7 kB / 271.4 MB, free: 11.91 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002713/0.1251, allocations: 0.8241 MB / 272.2 MB, free: 11.02 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008458/0.126, allocations: 166.5 kB / 272.3 MB, free: 10.85 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.1261, allocations: 4 kB / 272.3 MB, free: 10.85 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.626e-05/0.1261, allocations: 30.84 kB / 272.4 MB, free: 10.81 MB / 234.7 MB Notification: Performance of pre-optimization done (n=16): time 3.978e-06/0.1262, allocations: 0 / 272.4 MB, free: 10.81 MB / 234.7 MB Notification: Performance of matching and sorting (n=16): time 0.001895/0.1281, allocations: 363.2 kB / 272.7 MB, free: 10.43 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/0.1282, allocations: 55.41 kB / 272.8 MB, free: 10.36 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003202/0.1285, allocations: 153.8 kB / 272.9 MB, free: 10.2 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 4.395e-05/0.1286, allocations: 33.7 kB / 273 MB, free: 10.16 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.1287, allocations: 144 kB / 273.1 MB, free: 10.02 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.1289, allocations: 55.33 kB / 273.2 MB, free: 9.961 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.059e-05/0.1289, allocations: 4 kB / 273.2 MB, free: 9.957 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.1291, allocations: 330.8 kB / 273.5 MB, free: 9.625 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003707/0.1295, allocations: 56.34 kB / 273.5 MB, free: 9.57 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004161/0.13, allocations: 100.9 kB / 273.6 MB, free: 9.457 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003844/0.1304, allocations: 65.3 kB / 273.7 MB, free: 9.395 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.1304, allocations: 0 / 273.7 MB, free: 9.395 MB / 234.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001169/0.1316, allocations: 236.1 kB / 273.9 MB, free: 9.156 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.1316, allocations: 4 kB / 273.9 MB, free: 9.152 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.1317, allocations: 4 kB / 273.9 MB, free: 9.148 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003468/0.132, allocations: 28.84 kB / 274 MB, free: 9.117 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003989/0.1324, allocations: 35.98 kB / 274 MB, free: 9.082 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002276/0.1347, allocations: 1.374 MB / 275.4 MB, free: 7.57 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004734/0.1352, allocations: 39.88 kB / 275.4 MB, free: 7.531 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/0.1353, allocations: 15.95 kB / 275.4 MB, free: 7.516 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.000244/0.1356, allocations: 133.8 kB / 275.6 MB, free: 7.375 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.103e-05/0.1357, allocations: 15.81 kB / 275.6 MB, free: 7.359 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.978e-05/0.1358, allocations: 21.88 kB / 275.6 MB, free: 7.336 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.1358, allocations: 3.984 kB / 275.6 MB, free: 7.332 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.417e-05/0.1358, allocations: 8 kB / 275.6 MB, free: 7.324 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.1359, allocations: 3.938 kB / 275.6 MB, free: 7.32 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.1375, allocations: 0.5152 MB / 276.1 MB, free: 6.746 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/0.1376, allocations: 4 kB / 276.1 MB, free: 6.742 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003775/0.138, allocations: 31.98 kB / 276.2 MB, free: 6.711 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002854/0.1383, allocations: 44.98 kB / 276.2 MB, free: 6.664 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.587e-05/0.1383, allocations: 4 kB / 276.2 MB, free: 6.66 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002179/0.1405, allocations: 1.37 MB / 277.6 MB, free: 5.156 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.1406, allocations: 3.938 kB / 277.6 MB, free: 5.152 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/0.1421, allocations: 364.2 kB / 277.9 MB, free: 4.777 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/0.1423, allocations: 100.9 kB / 278 MB, free: 4.66 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.379e-05/0.1424, allocations: 7.984 kB / 278.1 MB, free: 4.652 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004904/0.1429, allocations: 24.05 kB / 278.1 MB, free: 4.629 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.143, allocations: 23.91 kB / 278.1 MB, free: 4.605 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.518e-05/0.1431, allocations: 4 kB / 278.1 MB, free: 4.602 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0002289/0.1433, allocations: 132.3 kB / 278.2 MB, free: 4.473 MB / 234.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.1434, allocations: 0 / 278.2 MB, free: 4.473 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0007291/0.1441, allocations: 55.84 kB / 278.3 MB, free: 4.418 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.0001983/0.1443, allocations: 103.2 kB / 278.4 MB, free: 4.305 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.001421/0.1458, allocations: 274.7 kB / 278.7 MB, free: 4.023 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/0.1458, allocations: 4 kB / 278.7 MB, free: 4.02 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006517/0.1465, allocations: 194.6 kB / 278.9 MB, free: 3.816 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005563/0.1471, allocations: 36 kB / 278.9 MB, free: 3.781 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.1488, allocations: 0.5519 MB / 279.4 MB, free: 3.203 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005232/0.1494, allocations: 0.7401 MB / 280.2 MB, free: 2.438 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0002171/0.1496, allocations: 17.55 kB / 280.2 MB, free: 2.422 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.559e-05/0.1497, allocations: 15.44 kB / 280.2 MB, free: 2.406 MB / 234.7 MB Notification: Performance of SimCode: time 1.633e-06/0.1497, allocations: 0 / 280.2 MB, free: 2.406 MB / 234.7 MB Notification: Performance of Templates: time 0.01105/0.1608, allocations: 2.12 MB / 282.3 MB, free: 312 kB / 234.7 MB