Notification: Performance of FrontEnd - loaded program: time 2.234e-05/2.248e-05, allocations: 5.031 kB / 334.1 MB, free: 10.12 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2875, allocations: 44.51 MB / 378.6 MB, free: 75.45 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1365/0.4241, allocations: 76.95 MB / 455.5 MB, free: 9.98 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002011/0.4244, allocations: 75.95 kB / 455.6 MB, free: 9.906 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05692/0.4813, allocations: 16.09 MB / 471.7 MB, free: 9.715 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4813, allocations: 0 / 471.7 MB, free: 9.715 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.463e-05/0.4814, allocations: 16 kB / 471.7 MB, free: 9.699 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.00226/0.4837, allocations: 1.076 MB / 472.8 MB, free: 8.559 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.4837, allocations: 8.031 kB / 472.8 MB, free: 8.551 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002545/0.484, allocations: 111.1 kB / 472.9 MB, free: 8.441 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.4852, allocations: 0.5232 MB / 473.4 MB, free: 7.875 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003348/0.4856, allocations: 138.4 kB / 473.6 MB, free: 7.719 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/0.4858, allocations: 39.91 kB / 473.6 MB, free: 7.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001831/0.4876, allocations: 498.5 kB / 474.1 MB, free: 7.195 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001987/0.4896, allocations: 0.7118 MB / 474.8 MB, free: 6.383 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.597e-05/0.4897, allocations: 4 kB / 474.8 MB, free: 6.379 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.4898, allocations: 0 / 474.8 MB, free: 6.379 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.914e-05/0.4899, allocations: 16 kB / 474.8 MB, free: 6.363 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006399/0.4963, allocations: 2.055 MB / 476.9 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002348/0.4987, allocations: 0.9504 MB / 477.8 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009584/0.4997, allocations: 319.8 kB / 478.1 MB, free: 2.875 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.742e-05/0.4998, allocations: 20.75 kB / 478.1 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.17e-05/0.4999, allocations: 47.33 kB / 478.2 MB, free: 2.801 MB / 334.1 MB Notification: Performance of pre-optimization done (n=78): time 5.097e-06/0.4999, allocations: 1.859 kB / 478.2 MB, free: 2.801 MB / 334.1 MB Notification: Performance of matching and sorting (n=78): time 0.003864/0.5038, allocations: 0.8548 MB / 479 MB, free: 1.926 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000512/0.5043, allocations: 0.8274 MB / 479.9 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.5055, allocations: 478.5 kB / 480.3 MB, free: 436 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001331/0.5057, allocations: 29.7 kB / 480.4 MB, free: 400 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004107/0.5061, allocations: 328.9 kB / 480.7 MB, free: 68 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004131/0.5065, allocations: 267.9 kB / 481 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.201e-05/0.5066, allocations: 4 kB / 481 MB, free: 15.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002825/0.5069, allocations: 386.7 kB / 481.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007871/0.5077, allocations: 213.6 kB / 481.5 MB, free: 15.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/0.5089, allocations: 466.5 kB / 482 MB, free: 14.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000886/0.5098, allocations: 259.3 kB / 482.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.883e-06/0.5098, allocations: 0 / 482.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003996/0.5138, allocations: 0.9163 MB / 483.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.199e-05/0.514, allocations: 85.11 kB / 483.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.514, allocations: 0 / 483.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/0.5151, allocations: 203.3 kB / 483.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/0.5164, allocations: 159.7 kB / 483.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01084/0.5273, allocations: 6.016 MB / 489.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.5287, allocations: 99.61 kB / 489.7 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/0.5288, allocations: 24 kB / 489.7 MB, free: 6.395 MB / 350.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.flowPort_b.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real 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 (73): * Single equations (assignments): 66 * 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.0003879/0.5292, allocations: 133.9 kB / 489.9 MB, free: 6.258 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002954/0.5295, allocations: 87.05 kB / 490 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002835/0.5298, allocations: 79.88 kB / 490 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/0.5299, allocations: 8 kB / 490 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.699e-06/0.5299, allocations: 0 / 490 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00357/0.5335, allocations: 1.15 MB / 491.2 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006245/0.5398, allocations: 1.778 MB / 493 MB, free: 2.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.946e-06/0.5398, allocations: 3.938 kB / 493 MB, free: 2.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001418/0.5412, allocations: 163.8 kB / 493.1 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008151/0.5421, allocations: 154.6 kB / 493.3 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.311e-05/0.5422, allocations: 7.984 kB / 493.3 MB, free: 2.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009/0.5512, allocations: 4.651 MB / 497.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.5513, allocations: 0 / 497.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03708/0.5884, allocations: 11.58 MB / 0.4976 GB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003574/0.5888, allocations: 172 kB / 0.4978 GB, free: 1.379 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002245/0.589, allocations: 4 kB / 0.4978 GB, free: 1.375 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009968/0.59, allocations: 44.02 kB / 0.4978 GB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002767/0.5903, allocations: 64.69 kB / 0.4979 GB, free: 1.266 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.625e-05/0.5904, allocations: 20 kB / 0.4979 GB, free: 1.246 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008958/0.5913, allocations: 378.9 kB / 0.4982 GB, free: 0.8789 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.11e-07/0.5914, allocations: 0 / 0.4982 GB, free: 0.8789 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002458/0.5938, allocations: 383.5 kB / 0.4986 GB, free: 0.5039 MB / 366.1 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 (66): * Single equations (assignments): 63 * 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.0002979/0.5941, allocations: 115.1 kB / 0.4987 GB, free: 392 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002379/0.5965, allocations: 1.194 MB / 0.4999 GB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/0.5966, allocations: 4 kB / 0.4999 GB, free: 15.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002235/0.5988, allocations: 0.711 MB / 0.5006 GB, free: 14.37 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/0.6003, allocations: 179.1 kB / 0.5007 GB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004731/0.605, allocations: 2.032 MB / 0.5027 GB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007383/0.6058, allocations: 0.9837 MB / 0.5037 GB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007236/0.6065, allocations: 102 kB / 0.5038 GB, free: 10.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00028/0.6068, allocations: 63.42 kB / 0.5039 GB, free: 10.91 MB / 382.1 MB Notification: Performance of SimCode: time 1.327e-06/0.6068, allocations: 0 / 0.5039 GB, free: 10.91 MB / 382.1 MB Notification: Performance of Templates: time 0.1931/0.8, allocations: 17.24 MB / 0.5207 GB, free: 113.5 MB / 382.1 MB