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_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadModel(Modelica): time 1.775/1.775, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.702e-05/2.72e-05, allocations: 2.062 kB / 255.3 MB, free: 3.18 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07817/0.07822, allocations: 44.51 MB / 299.8 MB, free: 6.617 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3879/0.4662, allocations: 75.62 MB / 375.5 MB, free: 22.52 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/0.4664, allocations: 70.12 kB / 375.5 MB, free: 22.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03309/0.4995, allocations: 9.006 MB / 384.5 MB, free: 21.45 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.163e-06/0.4996, allocations: 0 / 384.5 MB, free: 21.45 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.264e-05/0.4996, allocations: 13.62 kB / 384.5 MB, free: 21.45 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.001001/0.5006, allocations: 0.6627 MB / 385.2 MB, free: 20.95 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.5007, allocations: 9.625 kB / 385.2 MB, free: 20.95 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.5008, allocations: 57.59 kB / 385.3 MB, free: 20.92 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005564/0.5014, allocations: 367.4 kB / 385.6 MB, free: 20.66 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.5015, allocations: 60.97 kB / 385.7 MB, free: 20.63 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.119e-05/0.5016, allocations: 31.59 kB / 385.7 MB, free: 20.63 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007161/0.5023, allocations: 438.6 kB / 386.2 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.5024, allocations: 0 / 386.2 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.887e-05/0.5024, allocations: 15.31 kB / 386.2 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.5025, allocations: 6.875 kB / 386.2 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006004/0.5031, allocations: 259.1 kB / 386.4 MB, free: 20.45 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002312/0.5054, allocations: 1.237 MB / 387.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001312/0.5067, allocations: 433.6 kB / 388.1 MB, free: 19.81 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002829/0.507, allocations: 130.9 kB / 388.2 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.858e-05/0.5071, allocations: 4.562 kB / 388.2 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.5071, allocations: 38.84 kB / 388.3 MB, free: 19.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 2.751e-06/0.5071, allocations: 1.203 kB / 388.3 MB, free: 19.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.0008854/0.508, allocations: 340 kB / 388.6 MB, free: 19.68 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.681e-05/0.5081, allocations: 452.3 kB / 389 MB, free: 19.15 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005062/0.5087, allocations: 380.2 kB / 389.4 MB, free: 19.04 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.893e-05/0.5087, allocations: 36.8 kB / 389.4 MB, free: 19.01 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.5089, allocations: 261 kB / 389.7 MB, free: 18.83 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.481e-05/0.5089, allocations: 109.2 kB / 389.8 MB, free: 18.76 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-05/0.509, allocations: 7.219 kB / 389.8 MB, free: 18.76 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.705e-05/0.5091, allocations: 328.3 kB / 390.1 MB, free: 18.45 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/0.5093, allocations: 92.31 kB / 390.2 MB, free: 18.45 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003236/0.5096, allocations: 251.7 kB / 390.5 MB, free: 18.29 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000273/0.5099, allocations: 153.2 kB / 390.6 MB, free: 18.25 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.154e-06/0.5099, allocations: 3.953 kB / 390.6 MB, free: 18.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008185/0.5108, allocations: 384 kB / 391 MB, free: 18.15 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.5108, allocations: 33.09 kB / 391 MB, free: 18.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.044e-06/0.5108, allocations: 96 / 391 MB, free: 18.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003728/0.5112, allocations: 84.08 kB / 391.1 MB, free: 18.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000398/0.5116, allocations: 72.11 kB / 391.2 MB, free: 18.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002421/0.5141, allocations: 2.753 MB / 393.9 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000453/0.5146, allocations: 53.39 kB / 394 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.101e-05/0.5146, allocations: 11.38 kB / 394 MB, free: 15.52 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 {1 3,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001254/0.5148, allocations: 131.3 kB / 394.1 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.5149, allocations: 46.84 kB / 394.2 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.515, allocations: 56.33 kB / 394.2 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.515, allocations: 3.906 kB / 394.2 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.44e-06/0.515, allocations: 0 / 394.2 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005901/0.5156, allocations: 0.6335 MB / 394.9 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00146/0.5171, allocations: 0.8859 MB / 395.7 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-06/0.5171, allocations: 0 / 395.7 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004971/0.5176, allocations: 72.86 kB / 395.8 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.5177, allocations: 0 / 395.8 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.027e-05/0.5177, allocations: 11.11 kB / 395.8 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.622e-06/0.5177, allocations: 0 / 395.8 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.801e-06/0.5177, allocations: 0 / 395.8 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.5189, allocations: 0.4914 MB / 396.3 MB, free: 30.29 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/0.5191, allocations: 137.7 kB / 396.5 MB, free: 30.16 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.48e-05/0.5192, allocations: 11.22 kB / 396.5 MB, free: 30.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003335/0.5195, allocations: 21.95 kB / 396.5 MB, free: 30.16 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/0.5196, allocations: 17.83 kB / 396.5 MB, free: 30.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-05/0.5196, allocations: 10.95 kB / 396.5 MB, free: 30.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004121/0.5201, allocations: 299 kB / 396.8 MB, free: 30.07 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.5201, allocations: 0 / 396.8 MB, free: 30.07 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005802/0.5207, allocations: 144.4 kB / 397 MB, free: 30.06 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.0001838/0.5209, allocations: 126.7 kB / 397.1 MB, free: 29.95 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.522, allocations: 0.5479 MB / 397.6 MB, free: 29.66 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.522, allocations: 64 / 397.6 MB, free: 29.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002425/0.5223, allocations: 131.3 kB / 397.8 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.0007105/0.523, allocations: 115.1 kB / 397.9 MB, free: 29.63 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.5244, allocations: 0.6263 MB / 398.5 MB, free: 29.32 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004836/0.5249, allocations: 0.8167 MB / 399.3 MB, free: 28.62 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/0.5251, allocations: 41.83 kB / 399.3 MB, free: 28.61 MB / 330.7 MB Notification: Performance of SimCode: time 1.668e-06/0.5251, allocations: 4 kB / 399.4 MB, free: 28.61 MB / 330.7 MB Notification: Performance of Templates: time 0.01117/0.5363, allocations: 7.703 MB / 407.1 MB, free: 28.16 MB / 330.7 MB