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.2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") Notification: Performance of loadModel(Modelica): time 2.015/2.015, allocations: 194.9 MB / 208 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.652e-05/2.673e-05, allocations: 7.984 kB / 255.4 MB, free: 2.695 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07854/0.07858, allocations: 44.49 MB / 299.9 MB, free: 6.137 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3429/0.4215, allocations: 77.17 MB / 377 MB, free: 22.58 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/0.4218, allocations: 74.11 kB / 377.1 MB, free: 22.58 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08433/0.5061, allocations: 15.66 MB / 392.8 MB, free: 20.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.071e-06/0.5062, allocations: 0 / 392.8 MB, free: 20.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.472e-05/0.5062, allocations: 15.53 kB / 392.8 MB, free: 20.09 MB / 314.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.002122/0.5084, allocations: 1.044 MB / 393.8 MB, free: 19.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.5084, allocations: 7.812 kB / 393.8 MB, free: 19.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000306/0.5087, allocations: 101.5 kB / 393.9 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.5099, allocations: 0.5168 MB / 394.4 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00022/0.5102, allocations: 153.2 kB / 394.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.5103, allocations: 56.72 kB / 394.7 MB, free: 18.97 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.5117, allocations: 0.7633 MB / 395.4 MB, free: 18.66 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.5117, allocations: 0 / 395.4 MB, free: 18.66 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-05/0.5118, allocations: 26.56 kB / 395.4 MB, free: 18.66 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.5118, allocations: 15.66 kB / 395.5 MB, free: 18.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001189/0.513, allocations: 488.9 kB / 395.9 MB, free: 18.66 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004012/0.5171, allocations: 2.063 MB / 398 MB, free: 18.01 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/0.5184, allocations: 0.9041 MB / 398.9 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000605/0.5191, allocations: 325.5 kB / 399.2 MB, free: 17.58 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.018e-05/0.5191, allocations: 20.17 kB / 399.2 MB, free: 17.57 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.5192, allocations: 50.03 kB / 399.3 MB, free: 17.53 MB / 314.7 MB Notification: Performance of pre-optimization done (n=74): time 4.88e-06/0.5192, allocations: 0 / 399.3 MB, free: 17.53 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.00246/0.5217, allocations: 0.8521 MB / 400.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001463/0.5219, allocations: 0.8192 MB / 401 MB, free: 16.39 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008718/0.5227, allocations: 0.5254 MB / 401.5 MB, free: 16.27 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001213/0.5229, allocations: 43.86 kB / 401.5 MB, free: 16.24 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002246/0.5231, allocations: 317.5 kB / 401.8 MB, free: 16.12 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002293/0.5234, allocations: 255.6 kB / 402.1 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.443e-05/0.5234, allocations: 21.31 kB / 402.1 MB, free: 15.94 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.5236, allocations: 384.4 kB / 402.5 MB, free: 15.63 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005271/0.5241, allocations: 218.4 kB / 402.7 MB, free: 15.63 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007615/0.5249, allocations: 487.5 kB / 403.2 MB, free: 15.36 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006544/0.5256, allocations: 352.5 kB / 403.5 MB, free: 15.24 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.783e-06/0.5256, allocations: 0 / 403.5 MB, free: 15.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002777/0.5284, allocations: 0.9914 MB / 404.5 MB, free: 15 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.741e-05/0.5285, allocations: 88.45 kB / 404.6 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.761e-06/0.5285, allocations: 3.984 kB / 404.6 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006405/0.5291, allocations: 204.9 kB / 404.8 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008256/0.53, allocations: 147.2 kB / 404.9 MB, free: 14.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007906/0.5379, allocations: 6.199 MB / 411.1 MB, free: 25.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001/0.5389, allocations: 118.7 kB / 411.3 MB, free: 25.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.252e-05/0.539, allocations: 22.81 kB / 411.3 MB, free: 25.62 MB / 330.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.0002622/0.5393, allocations: 169.5 kB / 411.4 MB, free: 25.5 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001946/0.5395, allocations: 85.73 kB / 411.5 MB, free: 25.46 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002129/0.5398, allocations: 88.88 kB / 411.6 MB, free: 25.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.92e-06/0.5398, allocations: 7.75 kB / 411.6 MB, free: 25.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.802e-06/0.5398, allocations: 0 / 411.6 MB, free: 25.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002408/0.5422, allocations: 1.153 MB / 412.8 MB, free: 24.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004179/0.5464, allocations: 1.834 MB / 414.6 MB, free: 24.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.912e-06/0.5465, allocations: 0 / 414.6 MB, free: 24.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009449/0.5474, allocations: 149 kB / 414.8 MB, free: 24.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004797/0.5479, allocations: 164.2 kB / 414.9 MB, free: 24.39 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.189e-05/0.548, allocations: 18.47 kB / 414.9 MB, free: 24.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006699/0.5547, allocations: 4.776 MB / 419.7 MB, free: 20.48 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.957e-06/0.5548, allocations: 8.062 kB / 419.7 MB, free: 20.47 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003338/0.5582, allocations: 1.255 MB / 421 MB, free: 20.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000342/0.5585, allocations: 166.9 kB / 421.1 MB, free: 20.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001776/0.5587, allocations: 22.5 kB / 421.2 MB, free: 20.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000694/0.5594, allocations: 60.75 kB / 421.2 MB, free: 20.08 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001974/0.5597, allocations: 59.31 kB / 421.3 MB, free: 20.08 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.127e-05/0.5597, allocations: 23.28 kB / 421.3 MB, free: 20.08 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006727/0.5604, allocations: 423.2 kB / 421.7 MB, free: 19.99 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.22e-07/0.5604, allocations: 0 / 421.7 MB, free: 19.99 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001094/0.5615, allocations: 286.8 kB / 422 MB, free: 19.97 MB / 330.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.0002504/0.5618, allocations: 136.9 kB / 422.1 MB, free: 19.86 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002032/0.5639, allocations: 1.208 MB / 423.3 MB, free: 19.22 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.217e-06/0.5639, allocations: 4.062 kB / 423.3 MB, free: 19.22 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001305/0.5652, allocations: 0.705 MB / 424 MB, free: 18.89 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.5664, allocations: 202 kB / 424.2 MB, free: 18.86 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002748/0.5692, allocations: 1.223 MB / 425.5 MB, free: 18.34 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006496/0.5698, allocations: 0.9513 MB / 426.4 MB, free: 17.62 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005829/0.5704, allocations: 87.67 kB / 426.5 MB, free: 17.6 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002228/0.5707, allocations: 66.23 kB / 426.6 MB, free: 17.59 MB / 330.7 MB Notification: Performance of SimCode: time 1.605e-06/0.5707, allocations: 0 / 426.6 MB, free: 17.59 MB / 330.7 MB Notification: Performance of Templates: time 0.05102/0.6217, allocations: 15.75 MB / 442.3 MB, free: 9.758 MB / 330.7 MB