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.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") Notification: Performance of loadModel(Modelica): time 2.27/2.27, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.769e-05/2.787e-05, allocations: 4 kB / 269.4 MB, free: 6.402 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0861/0.08614, allocations: 47.57 MB / 316.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.375/0.4612, allocations: 82.3 MB / 399.2 MB, free: 5.875 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/0.4615, allocations: 65.41 kB / 399.3 MB, free: 5.844 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06606/0.5276, allocations: 16.39 MB / 415.7 MB, free: 8.012 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.778e-06/0.5276, allocations: 0 / 415.7 MB, free: 8.012 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.675e-05/0.5277, allocations: 20.77 kB / 415.7 MB, free: 7.992 MB / 330.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.002332/0.53, allocations: 1.064 MB / 416.8 MB, free: 6.918 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.5301, allocations: 12.03 kB / 416.8 MB, free: 6.906 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002481/0.5304, allocations: 110.8 kB / 416.9 MB, free: 6.797 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.5315, allocations: 0.5303 MB / 417.4 MB, free: 6.32 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000273/0.5318, allocations: 151 kB / 417.6 MB, free: 6.168 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.532, allocations: 53.97 kB / 417.6 MB, free: 6.133 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.5335, allocations: 0.7784 MB / 418.4 MB, free: 5.469 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.5336, allocations: 3.938 kB / 418.4 MB, free: 5.465 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-05/0.5337, allocations: 24.69 kB / 418.4 MB, free: 5.457 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.5337, allocations: 16 kB / 418.4 MB, free: 5.441 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/0.535, allocations: 496.1 kB / 418.9 MB, free: 5.129 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004753/0.5397, allocations: 2.098 MB / 421 MB, free: 3.488 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/0.5413, allocations: 0.9043 MB / 421.9 MB, free: 2.727 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006785/0.542, allocations: 326 kB / 422.2 MB, free: 2.531 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.044e-05/0.5421, allocations: 16.72 kB / 422.3 MB, free: 2.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.586e-05/0.5422, allocations: 47.08 kB / 422.3 MB, free: 2.469 MB / 330.7 MB Notification: Performance of pre-optimization done (n=74): time 4.665e-06/0.5422, allocations: 0 / 422.3 MB, free: 2.469 MB / 330.7 MB Notification: Performance of matching and sorting (n=74): time 0.002684/0.5449, allocations: 0.8608 MB / 423.2 MB, free: 1.793 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004804/0.5454, allocations: 0.8234 MB / 424 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.5464, allocations: 0.5463 MB / 424.5 MB, free: 368 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001166/0.5466, allocations: 44.58 kB / 424.6 MB, free: 328 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003244/0.5469, allocations: 343.2 kB / 424.9 MB, free: 116 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003058/0.5472, allocations: 247.9 kB / 425.2 MB, free: 15.89 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.563e-05/0.5473, allocations: 14.19 kB / 425.2 MB, free: 15.89 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000253/0.5476, allocations: 394 kB / 425.5 MB, free: 15.53 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005715/0.5481, allocations: 212.4 kB / 425.8 MB, free: 15.41 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008723/0.549, allocations: 496.4 kB / 426.2 MB, free: 14.95 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007175/0.5498, allocations: 354.8 kB / 426.6 MB, free: 14.68 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.086e-06/0.5498, allocations: 7.938 kB / 426.6 MB, free: 14.67 MB / 346.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002887/0.5527, allocations: 0.9955 MB / 427.6 MB, free: 13.86 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.036e-05/0.5528, allocations: 91.28 kB / 427.7 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.5528, allocations: 4 kB / 427.7 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007007/0.5535, allocations: 197.4 kB / 427.9 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008814/0.5545, allocations: 147.2 kB / 428 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008947/0.5634, allocations: 6.215 MB / 434.2 MB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/0.5645, allocations: 121.3 kB / 434.4 MB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-05/0.5646, allocations: 19.56 kB / 434.4 MB, free: 7.172 MB / 346.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.0002603/0.5649, allocations: 160.3 kB / 434.5 MB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002078/0.5651, allocations: 87.02 kB / 434.6 MB, free: 6.945 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002251/0.5654, allocations: 96.05 kB / 434.7 MB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.5654, allocations: 8 kB / 434.7 MB, free: 6.887 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.781e-06/0.5654, allocations: 4 kB / 434.7 MB, free: 6.883 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002605/0.568, allocations: 1.153 MB / 435.9 MB, free: 5.812 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004643/0.5727, allocations: 1.855 MB / 437.7 MB, free: 4.391 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.438e-06/0.5727, allocations: 0 / 437.7 MB, free: 4.391 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009993/0.5737, allocations: 144.8 kB / 437.9 MB, free: 4.254 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005581/0.5743, allocations: 164.5 kB / 438 MB, free: 4.121 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.647e-05/0.5744, allocations: 21.31 kB / 438.1 MB, free: 4.109 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007346/0.5818, allocations: 4.783 MB / 442.8 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.468e-06/0.5818, allocations: 0 / 442.8 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003613/0.5855, allocations: 1.27 MB / 444.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000663/0.5862, allocations: 239.9 kB / 444.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001661/0.5863, allocations: 20 kB / 444.4 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007356/0.5871, allocations: 59.97 kB / 444.4 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002236/0.5873, allocations: 64.67 kB / 444.5 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.877e-05/0.5874, allocations: 23.94 kB / 444.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008271/0.5883, allocations: 443.2 kB / 444.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.006e-06/0.5883, allocations: 0 / 444.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001176/0.5895, allocations: 287.7 kB / 445.2 MB, free: 13.24 MB / 362.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.0002724/0.5898, allocations: 143.1 kB / 445.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002366/0.5921, allocations: 1.197 MB / 446.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.056e-06/0.5922, allocations: 0 / 446.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001615/0.5938, allocations: 0.711 MB / 447.3 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/0.5952, allocations: 219.3 kB / 447.5 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003194/0.5984, allocations: 1.215 MB / 448.7 MB, free: 9.629 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007758/0.5993, allocations: 0.9597 MB / 449.7 MB, free: 8.645 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006415/0.5999, allocations: 94.2 kB / 449.7 MB, free: 8.551 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002466/0.6002, allocations: 63.44 kB / 449.8 MB, free: 8.488 MB / 362.7 MB Notification: Performance of SimCode: time 1.829e-06/0.6002, allocations: 0 / 449.8 MB, free: 8.488 MB / 362.7 MB Notification: Performance of Templates: time 0.04082/0.641, allocations: 16.03 MB / 465.8 MB, free: 8.5 MB / 378.7 MB