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.2_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadModel(Modelica): time 1.881/1.881, allocations: 194.9 MB / 208 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.878e-05/3.905e-05, allocations: 4 kB / 255.4 MB, free: 2.688 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1181, allocations: 44.49 MB / 299.9 MB, free: 6.133 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4103/0.5284, allocations: 75.63 MB / 375.5 MB, free: 22.55 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/0.5287, allocations: 70.25 kB / 375.6 MB, free: 22.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03349/0.5622, allocations: 8.996 MB / 384.6 MB, free: 21.36 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.879e-06/0.5623, allocations: 1.531 kB / 384.6 MB, free: 21.36 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.571e-05/0.5623, allocations: 11.75 kB / 384.6 MB, free: 21.36 MB / 314.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.001031/0.5633, allocations: 0.666 MB / 385.3 MB, free: 20.86 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.5634, allocations: 10.31 kB / 385.3 MB, free: 20.86 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.5635, allocations: 57.75 kB / 385.3 MB, free: 20.83 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005694/0.5641, allocations: 373.9 kB / 385.7 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.5643, allocations: 63.81 kB / 385.7 MB, free: 20.53 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.392e-05/0.5643, allocations: 28.44 kB / 385.8 MB, free: 20.53 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007257/0.5651, allocations: 429 kB / 386.2 MB, free: 20.36 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.5651, allocations: 0 / 386.2 MB, free: 20.36 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.022e-05/0.5652, allocations: 15.69 kB / 386.2 MB, free: 20.36 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.5652, allocations: 7.938 kB / 386.2 MB, free: 20.36 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006195/0.5658, allocations: 254.7 kB / 386.5 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002564/0.5684, allocations: 1.234 MB / 387.7 MB, free: 19.86 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/0.5698, allocations: 425.9 kB / 388.1 MB, free: 19.73 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002846/0.5701, allocations: 140 kB / 388.3 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.225e-05/0.5702, allocations: 11.45 kB / 388.3 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.5702, allocations: 42.25 kB / 388.3 MB, free: 19.67 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 4.04e-06/0.5702, allocations: 5.203 kB / 388.3 MB, free: 19.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.0007994/0.571, allocations: 315.2 kB / 388.6 MB, free: 19.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.583e-05/0.5712, allocations: 452.5 kB / 389.1 MB, free: 19.05 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005365/0.5717, allocations: 380 kB / 389.4 MB, free: 18.94 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.804e-05/0.5718, allocations: 33.55 kB / 389.5 MB, free: 18.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.5719, allocations: 225.5 kB / 389.7 MB, free: 18.8 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.505e-05/0.572, allocations: 115.6 kB / 389.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.497e-05/0.5721, allocations: 3.938 kB / 389.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.835e-05/0.5722, allocations: 355.3 kB / 390.1 MB, free: 18.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002451/0.5724, allocations: 96.47 kB / 390.2 MB, free: 18.41 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003452/0.5728, allocations: 242.9 kB / 390.5 MB, free: 18.26 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003012/0.5731, allocations: 156.1 kB / 390.6 MB, free: 18.22 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.5731, allocations: 3.938 kB / 390.6 MB, free: 18.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008455/0.574, allocations: 400 kB / 391 MB, free: 18.11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/0.574, allocations: 36.67 kB / 391.1 MB, free: 18.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.045e-06/0.5741, allocations: 0 / 391.1 MB, free: 18.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001942/0.5743, allocations: 47.31 kB / 391.1 MB, free: 18.06 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004373/0.5747, allocations: 74.73 kB / 391.2 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002118/0.5769, allocations: 2.738 MB / 393.9 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005104/0.5774, allocations: 45.36 kB / 394 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.171e-05/0.5774, allocations: 14.7 kB / 394 MB, free: 15.49 MB / 314.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.0001316/0.5776, allocations: 134.7 kB / 394.1 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.5777, allocations: 54.19 kB / 394.2 MB, free: 15.35 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.5778, allocations: 47.45 kB / 394.2 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.619e-06/0.5779, allocations: 7.766 kB / 394.2 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.5779, allocations: 3.875 kB / 394.2 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006252/0.5785, allocations: 0.6252 MB / 394.8 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001852/0.5804, allocations: 0.8802 MB / 395.7 MB, free: 30.44 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.334e-06/0.5804, allocations: 7.922 kB / 395.7 MB, free: 30.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004861/0.5809, allocations: 74.98 kB / 395.8 MB, free: 30.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.38e-06/0.5809, allocations: 7 kB / 395.8 MB, free: 30.42 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.02e-05/0.581, allocations: 7.219 kB / 395.8 MB, free: 30.42 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.536e-06/0.581, allocations: 0 / 395.8 MB, free: 30.42 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.251e-06/0.581, allocations: 0 / 395.8 MB, free: 30.42 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008635/0.5819, allocations: 0.4949 MB / 396.3 MB, free: 30.26 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.5821, allocations: 130.6 kB / 396.4 MB, free: 30.13 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.41e-05/0.5822, allocations: 18.39 kB / 396.5 MB, free: 30.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003324/0.5825, allocations: 15.22 kB / 396.5 MB, free: 30.13 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.711e-05/0.5826, allocations: 18.09 kB / 396.5 MB, free: 30.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/0.5826, allocations: 11.48 kB / 396.5 MB, free: 30.13 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004335/0.5831, allocations: 301 kB / 396.8 MB, free: 30.04 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.94e-07/0.5831, allocations: 0 / 396.8 MB, free: 30.04 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005987/0.5837, allocations: 135.5 kB / 396.9 MB, free: 30.04 MB / 330.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.0001996/0.5839, allocations: 133.2 kB / 397.1 MB, free: 29.93 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009397/0.5849, allocations: 0.5125 MB / 397.6 MB, free: 29.65 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.693e-06/0.5849, allocations: 3.75 kB / 397.6 MB, free: 29.65 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002361/0.5852, allocations: 121.8 kB / 397.7 MB, free: 29.64 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006798/0.5859, allocations: 124 kB / 397.8 MB, free: 29.62 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.5873, allocations: 0.5858 MB / 398.4 MB, free: 29.35 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005029/0.5878, allocations: 0.8268 MB / 399.2 MB, free: 28.64 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000308/0.5881, allocations: 53.14 kB / 399.3 MB, free: 28.63 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.5883, allocations: 45.3 kB / 399.3 MB, free: 28.62 MB / 330.7 MB Notification: Performance of SimCode: time 1.545e-06/0.5883, allocations: 0 / 399.3 MB, free: 28.62 MB / 330.7 MB Notification: Performance of Templates: time 0.01697/0.6053, allocations: 7.131 MB / 406.5 MB, free: 28.08 MB / 330.7 MB