Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") Notification: Performance of loadModel(Modelica): time 1.923/1.923, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.129e-05/3.15e-05, allocations: 4 kB / 292.1 MB, free: 8.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09026/0.09031, allocations: 50.42 MB / 342.5 MB, free: 6.402 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3627/0.4531, allocations: 81.86 MB / 424.4 MB, free: 12.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/0.4533, allocations: 66.59 kB / 424.5 MB, free: 12.29 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06418/0.5175, allocations: 16.09 MB / 440.6 MB, free: 14.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.185e-06/0.5176, allocations: 4 kB / 440.6 MB, free: 14.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.855e-05/0.5177, allocations: 16 kB / 440.6 MB, free: 14.75 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.002469/0.5201, allocations: 1.069 MB / 441.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.5202, allocations: 12.03 kB / 441.7 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002873/0.5205, allocations: 102.9 kB / 441.8 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.5217, allocations: 0.5368 MB / 442.3 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002667/0.522, allocations: 147.9 kB / 442.4 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.5222, allocations: 58 kB / 442.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.5237, allocations: 0.7704 MB / 443.3 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.682e-05/0.5238, allocations: 3.953 kB / 443.3 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.949e-05/0.5239, allocations: 27.69 kB / 443.3 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.031e-05/0.5239, allocations: 16 kB / 443.3 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.5252, allocations: 493.3 kB / 443.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004815/0.53, allocations: 2.086 MB / 445.9 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/0.5317, allocations: 0.9066 MB / 446.8 MB, free: 9.5 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007016/0.5324, allocations: 324.6 kB / 447.1 MB, free: 9.312 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.256e-05/0.5325, allocations: 28.5 kB / 447.1 MB, free: 9.285 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.986e-05/0.5326, allocations: 46.34 kB / 447.2 MB, free: 9.238 MB / 362.7 MB Notification: Performance of pre-optimization done (n=74): time 3.981e-06/0.5326, allocations: 0 / 447.2 MB, free: 9.238 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.002668/0.5353, allocations: 0.8553 MB / 448 MB, free: 8.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005083/0.5358, allocations: 0.8231 MB / 448.9 MB, free: 7.551 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.5368, allocations: 0.5432 MB / 449.4 MB, free: 7.133 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001435/0.537, allocations: 44.33 kB / 449.4 MB, free: 7.094 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002871/0.5373, allocations: 358.8 kB / 449.8 MB, free: 6.852 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003115/0.5376, allocations: 252.4 kB / 450 MB, free: 6.633 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.792e-05/0.5377, allocations: 21.06 kB / 450.1 MB, free: 6.625 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.5379, allocations: 341.7 kB / 450.4 MB, free: 6.293 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005912/0.5385, allocations: 217.5 kB / 450.6 MB, free: 6.168 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000883/0.5394, allocations: 0.4902 MB / 451.1 MB, free: 5.703 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007931/0.5402, allocations: 350.8 kB / 451.4 MB, free: 5.383 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.5403, allocations: 0 / 451.4 MB, free: 5.383 MB / 362.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00283/0.5431, allocations: 0.9456 MB / 452.4 MB, free: 4.398 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.287e-05/0.5432, allocations: 89.09 kB / 452.5 MB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.415e-06/0.5432, allocations: 4 kB / 452.5 MB, free: 4.289 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007201/0.544, allocations: 191.3 kB / 452.7 MB, free: 4.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008689/0.5449, allocations: 151.8 kB / 452.8 MB, free: 3.941 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009726/0.5546, allocations: 6.227 MB / 459 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.5557, allocations: 115.4 kB / 459.2 MB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.5559, allocations: 28 kB / 459.2 MB, free: 13.04 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.0002865/0.5562, allocations: 152.9 kB / 459.3 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002481/0.5564, allocations: 83.06 kB / 459.4 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002458/0.5567, allocations: 92.05 kB / 459.5 MB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.5567, allocations: 11.95 kB / 459.5 MB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.476e-06/0.5567, allocations: 0 / 459.5 MB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002661/0.5594, allocations: 1.158 MB / 460.7 MB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004822/0.5643, allocations: 1.847 MB / 462.5 MB, free: 9.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.771e-06/0.5643, allocations: 0 / 462.5 MB, free: 9.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009753/0.5653, allocations: 151.7 kB / 462.7 MB, free: 9.355 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005567/0.5659, allocations: 158.6 kB / 462.8 MB, free: 9.191 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.975e-05/0.566, allocations: 15.98 kB / 462.8 MB, free: 9.176 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007415/0.5734, allocations: 4.797 MB / 467.6 MB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.397e-06/0.5734, allocations: 0 / 467.6 MB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003552/0.577, allocations: 1.258 MB / 468.9 MB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006065/0.5776, allocations: 232 kB / 469.1 MB, free: 2.449 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/0.5778, allocations: 20 kB / 469.1 MB, free: 2.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006965/0.5785, allocations: 75.73 kB / 469.2 MB, free: 2.355 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002198/0.5788, allocations: 68.58 kB / 469.3 MB, free: 2.289 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.838e-05/0.5789, allocations: 23.98 kB / 469.3 MB, free: 2.266 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008314/0.5797, allocations: 443.2 kB / 469.7 MB, free: 1.836 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.25e-07/0.5797, allocations: 0 / 469.7 MB, free: 1.836 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001157/0.5809, allocations: 291.7 kB / 470 MB, free: 1.551 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.0002676/0.5812, allocations: 131.2 kB / 470.1 MB, free: 1.414 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002286/0.5835, allocations: 1.205 MB / 471.4 MB, free: 136 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/0.5835, allocations: 8 kB / 471.4 MB, free: 128 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001558/0.5851, allocations: 0.7071 MB / 472.1 MB, free: 15.39 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/0.5864, allocations: 215.3 kB / 472.3 MB, free: 15.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003191/0.5896, allocations: 1.256 MB / 473.5 MB, free: 13.89 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000768/0.5904, allocations: 0.9597 MB / 474.5 MB, free: 12.91 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003522/0.5908, allocations: 63.42 kB / 474.6 MB, free: 12.84 MB / 394.7 MB Notification: Performance of SimCode: time 1.591e-06/0.5908, allocations: 0 / 474.6 MB, free: 12.84 MB / 394.7 MB Notification: Performance of Templates: time 0.03575/0.6266, allocations: 21.17 MB / 495.7 MB, free: 7.664 MB / 410.7 MB