Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadModel(Modelica): time 2.012/2.012, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.591e-05/4.612e-05, allocations: 4 kB / 292.7 MB, free: 8.363 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1037, allocations: 50.41 MB / 343.1 MB, free: 5.93 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3668/0.4705, allocations: 80.46 MB / 423.5 MB, free: 13.77 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002015/0.4708, allocations: 71.08 kB / 423.6 MB, free: 13.74 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03591/0.5067, allocations: 9.348 MB / 433 MB, free: 5.906 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5068, allocations: 0 / 433 MB, free: 5.906 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.296e-05/0.5068, allocations: 15.94 kB / 433 MB, free: 5.891 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001235/0.5081, allocations: 0.6823 MB / 433.7 MB, free: 5.188 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.5081, allocations: 12.03 kB / 433.7 MB, free: 5.176 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.5083, allocations: 59.34 kB / 433.7 MB, free: 5.117 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006973/0.509, allocations: 369.3 kB / 434.1 MB, free: 4.762 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001265/0.5091, allocations: 61.09 kB / 434.1 MB, free: 4.707 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.485e-05/0.5092, allocations: 34.88 kB / 434.2 MB, free: 4.684 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008603/0.5101, allocations: 429.3 kB / 434.6 MB, free: 4.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.5101, allocations: 0 / 434.6 MB, free: 4.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.225e-05/0.5102, allocations: 18.77 kB / 434.6 MB, free: 4.312 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.5102, allocations: 8 kB / 434.6 MB, free: 4.305 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000639/0.5109, allocations: 258.1 kB / 434.9 MB, free: 4.141 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002807/0.5137, allocations: 1.251 MB / 436.1 MB, free: 3.105 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.5152, allocations: 424.1 kB / 436.5 MB, free: 2.758 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003/0.5155, allocations: 131.5 kB / 436.7 MB, free: 2.676 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.969e-05/0.5155, allocations: 16.2 kB / 436.7 MB, free: 2.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.5156, allocations: 41.72 kB / 436.7 MB, free: 2.617 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 3.564e-06/0.5156, allocations: 4 kB / 436.7 MB, free: 2.613 MB / 346.7 MB Notification: Performance of matching and sorting (n=33): time 0.0008921/0.5165, allocations: 318.9 kB / 437 MB, free: 2.367 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002701/0.5168, allocations: 452.4 kB / 437.5 MB, free: 1.824 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006663/0.5175, allocations: 387.7 kB / 437.9 MB, free: 1.527 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.02e-05/0.5176, allocations: 36.2 kB / 437.9 MB, free: 1.492 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000214/0.5178, allocations: 225.4 kB / 438.1 MB, free: 1.344 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/0.5179, allocations: 124 kB / 438.2 MB, free: 1.238 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/0.518, allocations: 7.188 kB / 438.3 MB, free: 1.234 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002093/0.5182, allocations: 358.8 kB / 438.6 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002668/0.5185, allocations: 102.7 kB / 438.7 MB, free: 0.832 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004102/0.5189, allocations: 238.2 kB / 438.9 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003334/0.5193, allocations: 151 kB / 439.1 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.859e-06/0.5193, allocations: 4 kB / 439.1 MB, free: 500 kB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009479/0.5202, allocations: 410.4 kB / 439.5 MB, free: 168 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.562e-05/0.5203, allocations: 33.69 kB / 439.5 MB, free: 128 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.5203, allocations: 0 / 439.5 MB, free: 128 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000197/0.5205, allocations: 53.19 kB / 439.6 MB, free: 80 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004538/0.521, allocations: 70.7 kB / 439.6 MB, free: 12 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003141/0.5242, allocations: 2.734 MB / 442.4 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005144/0.5247, allocations: 49.88 kB / 442.4 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-05/0.5248, allocations: 11.88 kB / 442.4 MB, free: 13.12 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001789/0.525, allocations: 134.6 kB / 442.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.5251, allocations: 47.44 kB / 442.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.5252, allocations: 55.61 kB / 442.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.5253, allocations: 7.984 kB / 442.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.5253, allocations: 0 / 442.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008374/0.5261, allocations: 0.6328 MB / 443.3 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001713/0.5279, allocations: 0.8935 MB / 444.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.386e-06/0.5279, allocations: 4 kB / 444.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005032/0.5284, allocations: 71.89 kB / 444.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.28e-06/0.5284, allocations: 0 / 444.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.537e-05/0.5285, allocations: 14.92 kB / 444.3 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/0.5285, allocations: 0 / 444.3 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.092e-06/0.5285, allocations: 0 / 444.3 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.5295, allocations: 500 kB / 444.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003155/0.5299, allocations: 170 kB / 444.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.012e-05/0.53, allocations: 7.75 kB / 445 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003538/0.5304, allocations: 19.42 kB / 445 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.036e-05/0.5304, allocations: 23.91 kB / 445 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-05/0.5305, allocations: 6.938 kB / 445 MB, free: 10.81 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005192/0.531, allocations: 310.5 kB / 445.3 MB, free: 10.58 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.28e-07/0.531, allocations: 0 / 445.3 MB, free: 10.58 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000628/0.5317, allocations: 135.1 kB / 445.4 MB, free: 10.46 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002207/0.5319, allocations: 135.4 kB / 445.6 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001047/0.533, allocations: 0.5268 MB / 446.1 MB, free: 9.855 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.123e-06/0.533, allocations: 0 / 446.1 MB, free: 9.855 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002723/0.5333, allocations: 122.5 kB / 446.2 MB, free: 9.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007844/0.5341, allocations: 132.4 kB / 446.3 MB, free: 9.676 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.5357, allocations: 0.6001 MB / 446.9 MB, free: 9.105 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005812/0.5363, allocations: 0.8315 MB / 447.8 MB, free: 8.242 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003314/0.5367, allocations: 60.23 kB / 447.8 MB, free: 8.184 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/0.5368, allocations: 38.38 kB / 447.9 MB, free: 8.152 MB / 362.7 MB Notification: Performance of SimCode: time 1.727e-06/0.5368, allocations: 4 kB / 447.9 MB, free: 8.148 MB / 362.7 MB Notification: Performance of Templates: time 0.01989/0.5567, allocations: 7.271 MB / 455.1 MB, free: 0.9492 MB / 362.7 MB