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_cpp_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadModel(Modelica): time 1.595/1.595, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.831e-05/2.839e-05, allocations: 4 kB / 225 MB, free: 2.711 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2136, allocations: 38.77 MB / 263.8 MB, free: 9.867 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1532/0.3668, allocations: 70.3 MB / 334.1 MB, free: 3.461 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003242/0.3672, allocations: 67.97 kB / 334.1 MB, free: 3.395 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05063/0.4179, allocations: 8.969 MB / 343.1 MB, free: 10.37 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.533e-06/0.4179, allocations: 0 / 343.1 MB, free: 10.37 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.627e-05/0.418, allocations: 12 kB / 343.1 MB, free: 10.36 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.001773/0.4198, allocations: 0.6674 MB / 343.8 MB, free: 9.633 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/0.4199, allocations: 12.03 kB / 343.8 MB, free: 9.621 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00021/0.4201, allocations: 59.33 kB / 343.8 MB, free: 9.562 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.4211, allocations: 360.4 kB / 344.2 MB, free: 9.172 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001777/0.4213, allocations: 58.83 kB / 344.2 MB, free: 9.105 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.4215, allocations: 35.86 kB / 344.3 MB, free: 9.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.4228, allocations: 433.3 kB / 344.7 MB, free: 8.594 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/0.4229, allocations: 4 kB / 344.7 MB, free: 8.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.962e-05/0.423, allocations: 23.98 kB / 344.7 MB, free: 8.566 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.423, allocations: 4 kB / 344.7 MB, free: 8.562 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.4241, allocations: 253.5 kB / 345 MB, free: 8.312 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004054/0.4282, allocations: 1.222 MB / 346.2 MB, free: 7.012 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002249/0.4305, allocations: 429.8 kB / 346.6 MB, free: 6.562 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004302/0.4309, allocations: 129.4 kB / 346.8 MB, free: 6.434 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.269e-05/0.431, allocations: 16.2 kB / 346.8 MB, free: 6.418 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.296e-05/0.4311, allocations: 38.84 kB / 346.8 MB, free: 6.371 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 3.331e-06/0.4311, allocations: 3.938 kB / 346.8 MB, free: 6.367 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.0008746/0.4319, allocations: 321.2 kB / 347.1 MB, free: 6.043 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002672/0.4322, allocations: 445 kB / 347.6 MB, free: 5.504 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006521/0.4329, allocations: 379.2 kB / 347.9 MB, free: 5.137 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.457e-05/0.433, allocations: 33.7 kB / 348 MB, free: 5.098 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002134/0.4332, allocations: 262.7 kB / 348.2 MB, free: 4.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.4333, allocations: 118.3 kB / 348.3 MB, free: 4.723 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/0.4334, allocations: 4 kB / 348.3 MB, free: 4.719 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.4336, allocations: 330.8 kB / 348.7 MB, free: 4.387 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002754/0.4339, allocations: 99.78 kB / 348.8 MB, free: 4.289 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004381/0.4343, allocations: 242.6 kB / 349 MB, free: 3.996 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003502/0.4347, allocations: 155.2 kB / 349.1 MB, free: 3.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.793e-06/0.4347, allocations: 0 / 349.1 MB, free: 3.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009025/0.4356, allocations: 366.8 kB / 349.5 MB, free: 3.465 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.497e-05/0.4357, allocations: 33.64 kB / 349.5 MB, free: 3.426 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.4357, allocations: 0 / 349.5 MB, free: 3.426 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002035/0.4359, allocations: 49.69 kB / 349.6 MB, free: 3.371 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004556/0.4364, allocations: 75.94 kB / 349.7 MB, free: 3.297 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003179/0.4396, allocations: 2.732 MB / 352.4 MB, free: 296 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004229/0.44, allocations: 47.62 kB / 352.4 MB, free: 248 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-05/0.4401, allocations: 23.95 kB / 352.5 MB, free: 224 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.0001723/0.4403, allocations: 136.9 kB / 352.6 MB, free: 80 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.4404, allocations: 43.53 kB / 352.6 MB, free: 36 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001409/0.4405, allocations: 52.64 kB / 352.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.948e-06/0.4406, allocations: 4 kB / 352.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.46e-06/0.4406, allocations: 0 / 352.7 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008428/0.4414, allocations: 0.6297 MB / 353.3 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001744/0.4432, allocations: 0.8839 MB / 354.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.044e-06/0.4432, allocations: 0 / 354.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004966/0.4437, allocations: 71.89 kB / 354.3 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.829e-06/0.4437, allocations: 0 / 354.3 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.321e-05/0.4438, allocations: 4 kB / 354.3 MB, free: 14.22 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.062e-06/0.4438, allocations: 7.938 kB / 354.3 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.053e-06/0.4438, allocations: 3.953 kB / 354.3 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.4448, allocations: 0.4987 MB / 354.8 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.445, allocations: 128.5 kB / 354.9 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.779e-05/0.4451, allocations: 8 kB / 354.9 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000332/0.4455, allocations: 15.98 kB / 354.9 MB, free: 13.53 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.021e-05/0.4456, allocations: 28.02 kB / 355 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/0.4456, allocations: 7.938 kB / 355 MB, free: 13.49 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004997/0.4461, allocations: 301.3 kB / 355.3 MB, free: 13.2 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.038e-06/0.4461, allocations: 8 kB / 355.3 MB, free: 13.19 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006138/0.4468, allocations: 131.8 kB / 355.4 MB, free: 13.06 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.000223/0.447, allocations: 125.8 kB / 355.5 MB, free: 12.93 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001064/0.4481, allocations: 0.526 MB / 356.1 MB, free: 12.38 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.19e-06/0.4481, allocations: 4.062 kB / 356.1 MB, free: 12.37 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002841/0.4484, allocations: 124.4 kB / 356.2 MB, free: 12.25 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006988/0.4491, allocations: 112.7 kB / 356.3 MB, free: 12.14 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.451, allocations: 0.653 MB / 356.9 MB, free: 11.46 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005606/0.4515, allocations: 0.8236 MB / 357.8 MB, free: 10.61 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/0.4517, allocations: 43.42 kB / 357.8 MB, free: 10.57 MB / 314.7 MB Notification: Performance of SimCode: time 1.542e-06/0.4517, allocations: 0 / 357.8 MB, free: 10.57 MB / 314.7 MB Notification: Performance of Templates: time 0.01386/0.4656, allocations: 7.59 MB / 365.4 MB, free: 2.992 MB / 314.7 MB