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_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") Notification: Performance of loadModel(Modelica): time 1.979/1.979, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.241e-05/3.269e-05, allocations: 4 kB / 225 MB, free: 2.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2246, allocations: 38.76 MB / 263.8 MB, free: 9.84 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1584/0.383, allocations: 71.85 MB / 335.6 MB, free: 1.887 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/0.3833, allocations: 75.95 kB / 335.7 MB, free: 1.812 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06167/0.445, allocations: 15.6 MB / 351.3 MB, free: 2.098 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.927e-06/0.4451, allocations: 4 kB / 351.3 MB, free: 2.094 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.162e-05/0.4451, allocations: 15.98 kB / 351.3 MB, free: 2.078 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002556/0.4477, allocations: 1.041 MB / 352.3 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.4478, allocations: 12.03 kB / 352.4 MB, free: 0.957 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000334/0.4481, allocations: 106.8 kB / 352.5 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.4494, allocations: 0.5038 MB / 353 MB, free: 316 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002688/0.4497, allocations: 142.7 kB / 353.1 MB, free: 156 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001552/0.4499, allocations: 68.08 kB / 353.2 MB, free: 88 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/0.4516, allocations: 0.7587 MB / 353.9 MB, free: 15.22 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.725e-05/0.4516, allocations: 7.938 kB / 353.9 MB, free: 15.21 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.443e-05/0.4517, allocations: 28 kB / 354 MB, free: 15.19 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.4518, allocations: 12 kB / 354 MB, free: 15.18 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/0.4531, allocations: 486.5 kB / 354.5 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004911/0.4581, allocations: 2.046 MB / 356.5 MB, free: 12.56 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/0.4599, allocations: 0.9088 MB / 357.4 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007855/0.4607, allocations: 327 kB / 357.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.283e-05/0.4608, allocations: 16.75 kB / 357.7 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.698e-05/0.4609, allocations: 51.3 kB / 357.8 MB, free: 11.17 MB / 314.7 MB Notification: Performance of pre-optimization done (n=74): time 4.046e-06/0.4609, allocations: 0 / 357.8 MB, free: 11.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.002873/0.4638, allocations: 0.8385 MB / 358.6 MB, free: 10.31 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004975/0.4643, allocations: 0.8313 MB / 359.5 MB, free: 9.281 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.4654, allocations: 0.5347 MB / 360 MB, free: 8.742 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001499/0.4656, allocations: 45.7 kB / 360 MB, free: 8.691 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003508/0.466, allocations: 317.2 kB / 360.4 MB, free: 8.379 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003148/0.4663, allocations: 252.2 kB / 360.6 MB, free: 8.129 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.925e-05/0.4664, allocations: 16 kB / 360.6 MB, free: 8.113 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002579/0.4666, allocations: 382.8 kB / 361 MB, free: 7.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006193/0.4673, allocations: 221.5 kB / 361.2 MB, free: 7.516 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009669/0.4682, allocations: 494.4 kB / 361.7 MB, free: 6.934 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007648/0.469, allocations: 350.4 kB / 362 MB, free: 6.578 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.703e-06/0.4691, allocations: 7.938 kB / 362 MB, free: 6.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003087/0.4721, allocations: 0.9879 MB / 363 MB, free: 5.547 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.619e-05/0.4723, allocations: 85.11 kB / 363.1 MB, free: 5.445 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.4723, allocations: 3.984 kB / 363.1 MB, free: 5.441 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007067/0.473, allocations: 195.3 kB / 363.3 MB, free: 5.238 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008668/0.4739, allocations: 147.8 kB / 363.4 MB, free: 5.094 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2432/0.7172, allocations: 6.195 MB / 369.6 MB, free: 86.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00243/0.7197, allocations: 119.2 kB / 369.8 MB, free: 86.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002825/0.72, allocations: 23.53 kB / 369.8 MB, free: 86.23 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 (69): * Single equations (assignments): 62 * 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.0005481/0.7206, allocations: 161.9 kB / 369.9 MB, free: 86.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009739/0.7216, allocations: 81.34 kB / 370 MB, free: 86.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008256/0.7225, allocations: 87 kB / 370.1 MB, free: 86.11 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.885e-05/0.7226, allocations: 10.75 kB / 370.1 MB, free: 86.11 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.831e-05/0.7227, allocations: 0.625 kB / 370.1 MB, free: 86.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004669/0.7274, allocations: 1.152 MB / 371.3 MB, free: 85.55 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004285/0.7317, allocations: 1.828 MB / 373.1 MB, free: 85.22 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.03e-06/0.7318, allocations: 0 / 373.1 MB, free: 85.22 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008978/0.7327, allocations: 150.2 kB / 373.2 MB, free: 85.22 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005097/0.7332, allocations: 163.8 kB / 373.4 MB, free: 85.2 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.576e-05/0.7333, allocations: 18.84 kB / 373.4 MB, free: 85.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005713/0.739, allocations: 4.771 MB / 378.2 MB, free: 81.35 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.802e-06/0.7391, allocations: 0 / 378.2 MB, free: 81.35 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003288/0.7424, allocations: 1.267 MB / 379.5 MB, free: 81.12 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002778/0.7427, allocations: 163.2 kB / 379.6 MB, free: 81 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001718/0.7429, allocations: 18.62 kB / 379.6 MB, free: 81 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000662/0.7436, allocations: 70.64 kB / 379.7 MB, free: 80.99 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000194/0.7438, allocations: 54.72 kB / 379.8 MB, free: 80.99 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.293e-05/0.7439, allocations: 22.89 kB / 379.8 MB, free: 80.99 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006398/0.7445, allocations: 427 kB / 380.2 MB, free: 80.89 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.94e-07/0.7445, allocations: 0 / 380.2 MB, free: 80.89 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001117/0.7457, allocations: 277.8 kB / 380.5 MB, free: 80.88 MB / 314.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.0002474/0.7459, allocations: 142.5 kB / 380.6 MB, free: 80.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001996/0.7479, allocations: 1.203 MB / 381.8 MB, free: 80.13 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.748, allocations: 1.312 kB / 381.8 MB, free: 80.13 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00137/0.7493, allocations: 0.7085 MB / 382.5 MB, free: 79.69 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/0.7506, allocations: 196.2 kB / 382.7 MB, free: 79.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006479/0.7571, allocations: 1.264 MB / 384 MB, free: 79.11 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008854/0.758, allocations: 0.9451 MB / 384.9 MB, free: 78.4 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001319/0.7594, allocations: 92.33 kB / 385 MB, free: 78.38 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004754/0.7599, allocations: 60.53 kB / 385.1 MB, free: 78.37 MB / 314.7 MB Notification: Performance of SimCode: time 2.603e-06/0.7599, allocations: 0 / 385.1 MB, free: 78.37 MB / 314.7 MB Notification: Performance of Templates: time 0.06238/0.8223, allocations: 15.65 MB / 400.7 MB, free: 67.92 MB / 314.7 MB