Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadModel(Modelica): time 1.865/1.865, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.128e-05/3.134e-05, allocations: 8 kB / 225 MB, free: 2.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.213, allocations: 38.77 MB / 263.8 MB, free: 9.816 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1183/0.3314, allocations: 70.31 MB / 334.1 MB, free: 3.406 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/0.3316, allocations: 63.97 kB / 334.1 MB, free: 3.344 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07983/0.4115, allocations: 8.978 MB / 343.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.323e-06/0.4116, allocations: 0 / 343.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.393e-05/0.4117, allocations: 12 kB / 343.1 MB, free: 10.29 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.002506/0.4142, allocations: 0.6674 MB / 343.8 MB, free: 9.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.31e-05/0.4143, allocations: 12.02 kB / 343.8 MB, free: 9.559 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003185/0.4146, allocations: 59.34 kB / 343.9 MB, free: 9.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01059/0.4253, allocations: 356.4 kB / 344.2 MB, free: 9.113 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003014/0.4256, allocations: 58.83 kB / 344.3 MB, free: 9.047 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002066/0.4259, allocations: 43.86 kB / 344.3 MB, free: 9.004 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002033/0.4279, allocations: 433.3 kB / 344.7 MB, free: 8.527 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.435e-05/0.428, allocations: 0 / 344.7 MB, free: 8.527 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/0.4281, allocations: 16 kB / 344.8 MB, free: 8.512 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.578e-05/0.4282, allocations: 8 kB / 344.8 MB, free: 8.504 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/0.4297, allocations: 249.5 kB / 345 MB, free: 8.258 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00598/0.4358, allocations: 1.222 MB / 346.2 MB, free: 6.957 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003254/0.4391, allocations: 430 kB / 346.7 MB, free: 6.508 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007381/0.4399, allocations: 129.4 kB / 346.8 MB, free: 6.379 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.155e-05/0.44, allocations: 12.25 kB / 346.8 MB, free: 6.367 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.972e-05/0.4401, allocations: 38.84 kB / 346.8 MB, free: 6.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 7.137e-06/0.4401, allocations: 3.938 kB / 346.8 MB, free: 6.316 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.002014/0.4422, allocations: 329.1 kB / 347.2 MB, free: 5.984 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004741/0.4427, allocations: 445 kB / 347.6 MB, free: 5.445 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001478/0.4442, allocations: 383.2 kB / 348 MB, free: 5.074 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001474/0.4444, allocations: 33.7 kB / 348 MB, free: 5.035 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004475/0.4448, allocations: 216.3 kB / 348.2 MB, free: 4.82 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002815/0.4452, allocations: 118.4 kB / 348.3 MB, free: 4.703 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-05/0.4453, allocations: 11.94 kB / 348.3 MB, free: 4.691 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003852/0.4457, allocations: 358.7 kB / 348.7 MB, free: 4.332 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006464/0.4463, allocations: 99.78 kB / 348.8 MB, free: 4.234 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000989/0.4474, allocations: 242.6 kB / 349 MB, free: 3.941 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005424/0.4479, allocations: 154.5 kB / 349.2 MB, free: 3.789 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.132e-06/0.448, allocations: 0 / 349.2 MB, free: 3.789 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001061/0.449, allocations: 398.4 kB / 349.6 MB, free: 3.383 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.932e-05/0.4491, allocations: 33.7 kB / 349.6 MB, free: 3.344 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.4491, allocations: 0 / 349.6 MB, free: 3.344 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002199/0.4494, allocations: 57.66 kB / 349.7 MB, free: 3.281 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004817/0.4499, allocations: 67.97 kB / 349.7 MB, free: 3.215 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0033/0.4532, allocations: 2.74 MB / 352.5 MB, free: 204 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005124/0.4537, allocations: 51.72 kB / 352.5 MB, free: 152 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.397e-05/0.4538, allocations: 15.95 kB / 352.5 MB, free: 136 kB / 298.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.0001759/0.454, allocations: 128.9 kB / 352.6 MB, free: 0 / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/0.4541, allocations: 47.58 kB / 352.7 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000132/0.4543, allocations: 48.59 kB / 352.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.031e-06/0.4543, allocations: 4 kB / 352.7 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.096e-06/0.4543, allocations: 4 kB / 352.8 MB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008738/0.4552, allocations: 0.6297 MB / 353.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001872/0.4571, allocations: 0.88 MB / 354.3 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.501e-05/0.4572, allocations: 0 / 354.3 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005396/0.4577, allocations: 75.89 kB / 354.3 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.042e-06/0.4577, allocations: 0 / 354.3 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.56e-05/0.4578, allocations: 12 kB / 354.3 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/0.4578, allocations: 0 / 354.3 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/0.4578, allocations: 3.953 kB / 354.4 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.4589, allocations: 0.4947 MB / 354.8 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001987/0.4591, allocations: 128.5 kB / 355 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.114e-05/0.4592, allocations: 8 kB / 355 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003479/0.4596, allocations: 24.05 kB / 355 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.805e-05/0.4597, allocations: 23.92 kB / 355 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.198e-05/0.4597, allocations: 8 kB / 355 MB, free: 13.41 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005486/0.4603, allocations: 301.2 kB / 355.3 MB, free: 13.12 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.07e-07/0.4603, allocations: 0 / 355.3 MB, free: 13.12 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007249/0.461, allocations: 135.8 kB / 355.5 MB, free: 12.99 MB / 314.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.0002971/0.4614, allocations: 123.1 kB / 355.6 MB, free: 12.86 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001797/0.4632, allocations: 0.5299 MB / 356.1 MB, free: 12.3 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/0.4632, allocations: 4 kB / 356.1 MB, free: 12.29 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005108/0.4638, allocations: 116.4 kB / 356.2 MB, free: 12.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.4651, allocations: 118.8 kB / 356.3 MB, free: 12.07 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003105/0.4682, allocations: 0.6119 MB / 357 MB, free: 11.43 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007609/0.469, allocations: 0.8236 MB / 357.8 MB, free: 10.58 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006033/0.4696, allocations: 64.17 kB / 357.8 MB, free: 10.52 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002218/0.4699, allocations: 35.44 kB / 357.9 MB, free: 10.48 MB / 314.7 MB Notification: Performance of SimCode: time 2.244e-06/0.4699, allocations: 0 / 357.9 MB, free: 10.48 MB / 314.7 MB Notification: Performance of Templates: time 0.02111/0.491, allocations: 7.047 MB / 364.9 MB, free: 3.477 MB / 314.7 MB