Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadModel(Modelica): time 2.061/2.061, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.686e-05/2.7e-05, allocations: 0 / 292.1 MB, free: 8.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09183/0.09188, allocations: 50.41 MB / 342.6 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3829/0.4748, allocations: 80.47 MB / 423 MB, free: 13.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003957/0.4753, allocations: 70.09 kB / 423.1 MB, free: 13.72 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04334/0.5187, allocations: 9.344 MB / 432.4 MB, free: 5.891 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.128e-06/0.5187, allocations: 0 / 432.4 MB, free: 5.891 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.08e-05/0.5188, allocations: 15.94 kB / 432.4 MB, free: 5.875 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.001253/0.52, allocations: 0.6839 MB / 433.1 MB, free: 5.172 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.5201, allocations: 8.031 kB / 433.1 MB, free: 5.164 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.5202, allocations: 63.34 kB / 433.2 MB, free: 5.102 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006925/0.5209, allocations: 372.3 kB / 433.6 MB, free: 4.746 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/0.5211, allocations: 59.47 kB / 433.6 MB, free: 4.691 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.232e-05/0.5212, allocations: 31 kB / 433.7 MB, free: 4.672 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009017/0.5221, allocations: 439.2 kB / 434.1 MB, free: 4.301 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.853e-05/0.5221, allocations: 0 / 434.1 MB, free: 4.301 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.283e-05/0.5222, allocations: 18.52 kB / 434.1 MB, free: 4.293 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.5222, allocations: 8 kB / 434.1 MB, free: 4.285 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000637/0.5229, allocations: 257.6 kB / 434.4 MB, free: 4.121 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002729/0.5256, allocations: 1.245 MB / 435.6 MB, free: 3.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/0.5271, allocations: 432.2 kB / 436 MB, free: 2.734 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003018/0.5274, allocations: 128.7 kB / 436.2 MB, free: 2.656 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.319e-05/0.5275, allocations: 12.25 kB / 436.2 MB, free: 2.645 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.5276, allocations: 48.53 kB / 436.2 MB, free: 2.594 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 3.374e-06/0.5276, allocations: 0 / 436.2 MB, free: 2.594 MB / 346.7 MB Notification: Performance of matching and sorting (n=33): time 0.0008552/0.5284, allocations: 326 kB / 436.5 MB, free: 2.344 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002661/0.5287, allocations: 441 kB / 437 MB, free: 1.809 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000644/0.5294, allocations: 393.6 kB / 437.3 MB, free: 1.512 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.294e-05/0.5295, allocations: 33.45 kB / 437.4 MB, free: 1.477 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002024/0.5297, allocations: 230.7 kB / 437.6 MB, free: 1.328 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.5298, allocations: 119.3 kB / 437.7 MB, free: 1.223 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.5299, allocations: 9.312 kB / 437.7 MB, free: 1.219 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.5301, allocations: 350.4 kB / 438.1 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002728/0.5304, allocations: 106 kB / 438.2 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004195/0.5308, allocations: 239.4 kB / 438.4 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003357/0.5312, allocations: 148.5 kB / 438.6 MB, free: 492 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.98e-06/0.5312, allocations: 0 / 438.6 MB, free: 492 kB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009783/0.5322, allocations: 418.1 kB / 439 MB, free: 156 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.609e-05/0.5323, allocations: 29.7 kB / 439 MB, free: 120 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.485e-06/0.5323, allocations: 4 kB / 439 MB, free: 116 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002036/0.5325, allocations: 44.02 kB / 439 MB, free: 76 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004422/0.533, allocations: 71.89 kB / 439.1 MB, free: 4 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003141/0.5361, allocations: 2.741 MB / 441.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005104/0.5367, allocations: 43.34 kB / 441.9 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.514e-05/0.5367, allocations: 15.55 kB / 441.9 MB, free: 13.11 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.0001794/0.5369, allocations: 135.9 kB / 442 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.5371, allocations: 55.19 kB / 442.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001285/0.5372, allocations: 48.52 kB / 442.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.261e-06/0.5372, allocations: 4 kB / 442.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.177e-06/0.5372, allocations: 3.984 kB / 442.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008496/0.5381, allocations: 0.6331 MB / 442.8 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/0.5398, allocations: 0.8932 MB / 443.7 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.413e-06/0.5399, allocations: 0 / 443.7 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004989/0.5404, allocations: 75.7 kB / 443.7 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/0.5404, allocations: 4 kB / 443.8 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-05/0.5404, allocations: 3.672 kB / 443.8 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.544e-06/0.5404, allocations: 0 / 443.8 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.5405, allocations: 4 kB / 443.8 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009902/0.5415, allocations: 0.4958 MB / 444.3 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003119/0.5418, allocations: 169.1 kB / 444.4 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.954e-05/0.5419, allocations: 11.12 kB / 444.4 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003577/0.5423, allocations: 15.62 kB / 444.4 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.613e-05/0.5424, allocations: 23.16 kB / 444.5 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.031e-05/0.5424, allocations: 8 kB / 444.5 MB, free: 10.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000514/0.5429, allocations: 316.7 kB / 444.8 MB, free: 10.56 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.3e-07/0.5429, allocations: 0 / 444.8 MB, free: 10.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006375/0.5436, allocations: 140.3 kB / 444.9 MB, free: 10.44 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.0002162/0.5438, allocations: 126.4 kB / 445 MB, free: 10.31 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.5449, allocations: 0.528 MB / 445.6 MB, free: 9.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.152e-06/0.5449, allocations: 0 / 445.6 MB, free: 9.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002729/0.5452, allocations: 128.9 kB / 445.7 MB, free: 9.746 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007519/0.546, allocations: 122.2 kB / 445.8 MB, free: 9.664 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.5476, allocations: 0.6082 MB / 446.4 MB, free: 9.086 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005653/0.5482, allocations: 0.8276 MB / 447.3 MB, free: 8.227 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003302/0.5486, allocations: 64.23 kB / 447.3 MB, free: 8.164 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/0.5487, allocations: 50.55 kB / 447.4 MB, free: 8.121 MB / 362.7 MB Notification: Performance of SimCode: time 1.867e-06/0.5488, allocations: 0 / 447.4 MB, free: 8.121 MB / 362.7 MB Notification: Performance of Templates: time 0.02019/0.569, allocations: 7.266 MB / 454.6 MB, free: 0.9297 MB / 362.7 MB