Notification: Performance of FrontEnd - loaded program: time 2.282e-05/2.296e-05, allocations: 4 kB / 333 MB, free: 11.22 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2127, allocations: 44.5 MB / 377.5 MB, free: 74.59 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1444/0.3572, allocations: 76.02 MB / 453.6 MB, free: 11.07 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/0.3576, allocations: 71.95 kB / 453.6 MB, free: 11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.06973/0.4273, allocations: 15.37 MB / 469 MB, free: 11.55 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.4274, allocations: 0 / 469 MB, free: 11.55 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.356e-05/0.4275, allocations: 12 kB / 469 MB, free: 11.54 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: 141 * Number of variables: 141 Notification: Performance of Generate backend data structure: time 0.003066/0.4305, allocations: 1.018 MB / 470 MB, free: 10.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.4306, allocations: 12.03 kB / 470 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003578/0.431, allocations: 103.2 kB / 470.1 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001708/0.4327, allocations: 0.5077 MB / 470.7 MB, free: 9.793 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003937/0.4331, allocations: 122.4 kB / 470.8 MB, free: 9.652 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001972/0.4334, allocations: 36 kB / 470.8 MB, free: 9.617 MB / 334.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002099/0.4355, allocations: 466.5 kB / 471.3 MB, free: 9.164 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002313/0.4378, allocations: 0.6962 MB / 472 MB, free: 8.367 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.737e-05/0.4379, allocations: 0 / 472 MB, free: 8.367 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/0.438, allocations: 4 kB / 472 MB, free: 8.363 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.976e-05/0.4381, allocations: 12 kB / 472 MB, free: 8.352 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007273/0.4454, allocations: 1.95 MB / 473.9 MB, free: 6.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003299/0.4487, allocations: 0.8707 MB / 474.8 MB, free: 5.383 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001201/0.4499, allocations: 307.2 kB / 475.1 MB, free: 5.082 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001087/0.4501, allocations: 24.78 kB / 475.1 MB, free: 5.059 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.232e-05/0.4502, allocations: 43.34 kB / 475.2 MB, free: 5.008 MB / 334.1 MB Notification: Performance of pre-optimization done (n=74): time 5.623e-06/0.4502, allocations: 0 / 475.2 MB, free: 5.008 MB / 334.1 MB Notification: Performance of matching and sorting (n=74): time 0.004668/0.4549, allocations: 0.8226 MB / 476 MB, free: 4.164 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005518/0.4555, allocations: 0.8196 MB / 476.8 MB, free: 3.148 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/0.4568, allocations: 458.3 kB / 477.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001208/0.4569, allocations: 29.7 kB / 477.3 MB, free: 2.656 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005169/0.4575, allocations: 312.9 kB / 477.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004216/0.4579, allocations: 248.2 kB / 477.8 MB, free: 2.102 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.633e-05/0.458, allocations: 1.641 kB / 477.8 MB, free: 2.102 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003057/0.4584, allocations: 391.5 kB / 478.2 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009085/0.4593, allocations: 193.6 kB / 478.4 MB, free: 1.523 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/0.4607, allocations: 462.4 kB / 478.9 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.4617, allocations: 251.2 kB / 479.1 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.4618, allocations: 0 / 479.1 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004854/0.4666, allocations: 0.8774 MB / 480 MB, free: 15.83 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/0.4668, allocations: 85.09 kB / 480.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.4668, allocations: 0 / 480.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001498/0.4683, allocations: 215.2 kB / 480.3 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/0.4698, allocations: 127.9 kB / 480.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01383/0.4836, allocations: 6.044 MB / 486.4 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.4851, allocations: 79.58 kB / 486.5 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/0.4853, allocations: 27.92 kB / 486.5 MB, free: 8.773 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 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 (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 {1 5,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004435/0.4858, allocations: 125.9 kB / 486.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003283/0.4861, allocations: 83.09 kB / 486.7 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003213/0.4865, allocations: 79.33 kB / 486.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.4865, allocations: 4 kB / 486.8 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.337e-06/0.4865, allocations: 0 / 486.8 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004412/0.491, allocations: 1.119 MB / 487.9 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007622/0.4986, allocations: 1.712 MB / 489.7 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.892e-06/0.4987, allocations: 0 / 489.7 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001663/0.5004, allocations: 127.9 kB / 489.8 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001105/0.5015, allocations: 178.5 kB / 490 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.471e-05/0.5016, allocations: 0 / 490 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01119/0.5128, allocations: 4.647 MB / 494.6 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.729e-06/0.5129, allocations: 4.125 kB / 494.6 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02997/0.5429, allocations: 11.01 MB / 0.4938 GB, free: 4.629 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002333/0.5432, allocations: 168 kB / 0.4939 GB, free: 4.445 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/0.5433, allocations: 4 kB / 0.4939 GB, free: 4.441 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005845/0.5439, allocations: 28.11 kB / 0.494 GB, free: 4.414 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001965/0.5441, allocations: 64.64 kB / 0.494 GB, free: 4.352 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.169e-05/0.5442, allocations: 19.98 kB / 0.494 GB, free: 4.332 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005935/0.5448, allocations: 351 kB / 0.4944 GB, free: 3.992 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.12e-07/0.5448, allocations: 0 / 0.4944 GB, free: 3.992 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001554/0.5464, allocations: 367.6 kB / 0.4947 GB, free: 3.633 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.0002437/0.5466, allocations: 123.2 kB / 0.4948 GB, free: 3.504 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002278/0.5489, allocations: 1.17 MB / 0.496 GB, free: 2.258 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.549, allocations: 0 / 0.496 GB, free: 2.258 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001379/0.5503, allocations: 0.676 MB / 0.4966 GB, free: 1.551 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.5516, allocations: 177.9 kB / 0.4968 GB, free: 1.375 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004597/0.5562, allocations: 1.947 MB / 0.4987 GB, free: 15.35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/0.5573, allocations: 0.964 MB / 0.4997 GB, free: 14.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00107/0.5584, allocations: 93.64 kB / 0.4997 GB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004434/0.5589, allocations: 59.42 kB / 0.4998 GB, free: 14.21 MB / 382.1 MB Notification: Performance of SimCode: time 1.796e-06/0.5589, allocations: 4 kB / 0.4998 GB, free: 14.21 MB / 382.1 MB Notification: Performance of Templates: time 0.2075/0.7664, allocations: 16.49 MB / 0.5159 GB, free: 115 MB / 382.1 MB