Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") Notification: Performance of loadModel(Modelica): time 2.107/2.107, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.834e-05/2.839e-05, allocations: 4 kB / 292.7 MB, free: 8.367 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09135/0.0914, allocations: 50.42 MB / 343.1 MB, free: 5.93 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3694/0.4609, allocations: 81.79 MB / 424.9 MB, free: 12.48 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/0.4612, allocations: 70.33 kB / 424.9 MB, free: 12.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06327/0.5244, allocations: 16.09 MB / 441 MB, free: 14.94 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.968e-06/0.5245, allocations: 7.938 kB / 441 MB, free: 14.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.254e-05/0.5246, allocations: 16 kB / 441 MB, free: 14.91 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002265/0.5268, allocations: 1.071 MB / 442.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.5269, allocations: 12.03 kB / 442.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002474/0.5272, allocations: 102.9 kB / 442.2 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.5283, allocations: 0.5314 MB / 442.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002587/0.5286, allocations: 148.6 kB / 442.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.5287, allocations: 57.31 kB / 443 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.5303, allocations: 0.7713 MB / 443.7 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.756e-05/0.5303, allocations: 3.953 kB / 443.7 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.684e-05/0.5304, allocations: 30.19 kB / 443.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/0.5305, allocations: 16 kB / 443.8 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.5317, allocations: 0.4964 MB / 444.3 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004621/0.5364, allocations: 2.081 MB / 446.4 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/0.5379, allocations: 0.9025 MB / 447.3 MB, free: 9.656 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006751/0.5386, allocations: 326.1 kB / 447.6 MB, free: 9.469 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.063e-05/0.5387, allocations: 16.77 kB / 447.6 MB, free: 9.449 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.792e-05/0.5388, allocations: 53.27 kB / 447.6 MB, free: 9.398 MB / 362.7 MB Notification: Performance of pre-optimization done (n=74): time 3.965e-06/0.5388, allocations: 7.938 kB / 447.7 MB, free: 9.391 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.00262/0.5414, allocations: 0.85 MB / 448.5 MB, free: 8.727 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005039/0.542, allocations: 0.8228 MB / 449.3 MB, free: 7.707 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.543, allocations: 0.5521 MB / 449.9 MB, free: 7.281 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001285/0.5431, allocations: 40.58 kB / 449.9 MB, free: 7.246 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003739/0.5435, allocations: 339.7 kB / 450.3 MB, free: 6.926 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003034/0.5438, allocations: 252.2 kB / 450.5 MB, free: 6.676 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-05/0.5439, allocations: 16 kB / 450.5 MB, free: 6.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002575/0.5442, allocations: 394.7 kB / 450.9 MB, free: 6.266 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005966/0.5448, allocations: 213.6 kB / 451.1 MB, free: 6.059 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009102/0.5457, allocations: 0.4884 MB / 451.6 MB, free: 5.469 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007499/0.5465, allocations: 353.2 kB / 451.9 MB, free: 5.109 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.755e-06/0.5465, allocations: 0 / 451.9 MB, free: 5.109 MB / 362.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002888/0.5494, allocations: 0.9995 MB / 452.9 MB, free: 4.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.408e-05/0.5495, allocations: 89.09 kB / 453 MB, free: 3.965 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.5495, allocations: 4 kB / 453 MB, free: 3.961 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006972/0.5503, allocations: 191.3 kB / 453.2 MB, free: 3.762 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008831/0.5512, allocations: 151.8 kB / 453.4 MB, free: 3.613 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008998/0.5602, allocations: 6.219 MB / 459.6 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/0.5612, allocations: 115.4 kB / 459.7 MB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.572e-05/0.5613, allocations: 24 kB / 459.7 MB, free: 12.72 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002681/0.5616, allocations: 152.9 kB / 459.9 MB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002086/0.5618, allocations: 91 kB / 460 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00025/0.5621, allocations: 96.05 kB / 460.1 MB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/0.5621, allocations: 11.95 kB / 460.1 MB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.76e-06/0.5622, allocations: 192 / 460.1 MB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00264/0.5648, allocations: 1.154 MB / 461.2 MB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004781/0.5696, allocations: 1.847 MB / 463.1 MB, free: 9.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.62e-06/0.5697, allocations: 0 / 463.1 MB, free: 9.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000991/0.5707, allocations: 151.8 kB / 463.2 MB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005564/0.5713, allocations: 170.5 kB / 463.4 MB, free: 8.855 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.885e-05/0.5713, allocations: 15.98 kB / 463.4 MB, free: 8.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007352/0.5787, allocations: 4.794 MB / 468.2 MB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.814e-06/0.5787, allocations: 0 / 468.2 MB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003507/0.5823, allocations: 1.262 MB / 469.5 MB, free: 2.359 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00055/0.5828, allocations: 236 kB / 469.7 MB, free: 2.109 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001571/0.583, allocations: 20 kB / 469.7 MB, free: 2.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000695/0.5837, allocations: 63.81 kB / 469.8 MB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002138/0.584, allocations: 72.62 kB / 469.8 MB, free: 1.957 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.76e-05/0.584, allocations: 20 kB / 469.9 MB, free: 1.938 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008074/0.5849, allocations: 443.2 kB / 470.3 MB, free: 1.508 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.137e-06/0.5849, allocations: 0 / 470.3 MB, free: 1.508 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001145/0.586, allocations: 291.7 kB / 470.6 MB, free: 1.223 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 59 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002713/0.5863, allocations: 131.1 kB / 470.7 MB, free: 1.086 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002328/0.5887, allocations: 1.201 MB / 471.9 MB, free: 15.81 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/0.5887, allocations: 8 kB / 471.9 MB, free: 15.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001548/0.5903, allocations: 0.7071 MB / 472.6 MB, free: 15.06 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/0.5916, allocations: 218.7 kB / 472.8 MB, free: 14.85 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003103/0.5947, allocations: 1.219 MB / 474 MB, free: 13.61 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007684/0.5955, allocations: 0.9596 MB / 475 MB, free: 12.62 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000628/0.5961, allocations: 90.22 kB / 475.1 MB, free: 12.53 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002435/0.5964, allocations: 59.44 kB / 475.2 MB, free: 12.47 MB / 394.7 MB Notification: Performance of SimCode: time 1.866e-06/0.5964, allocations: 0 / 475.2 MB, free: 12.47 MB / 394.7 MB Notification: Performance of Templates: time 0.04055/0.637, allocations: 16.03 MB / 491.2 MB, free: 12.53 MB / 410.7 MB