Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.791/2.791, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.718e-05/2.726e-05, allocations: 1.094 kB / 249.7 MB, free: 5.293 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1046, allocations: 44.5 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.486/0.5906, allocations: 75.98 MB / 370.2 MB, free: 6.984 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/0.5909, allocations: 64.67 kB / 370.3 MB, free: 6.984 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09237/0.6833, allocations: 18 MB / 388.3 MB, free: 17.94 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.6833, allocations: 0 / 388.3 MB, free: 17.94 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.453e-05/0.6834, allocations: 23.47 kB / 388.3 MB, free: 17.94 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.003711/0.6872, allocations: 1.114 MB / 389.4 MB, free: 17.13 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.822e-05/0.6872, allocations: 11.75 kB / 389.4 MB, free: 17.13 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003282/0.6876, allocations: 91.34 kB / 389.5 MB, free: 17.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004046/0.688, allocations: 130 kB / 389.7 MB, free: 17.01 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00168/0.6897, allocations: 0.5705 MB / 390.2 MB, free: 16.66 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003563/0.6901, allocations: 133.6 kB / 390.4 MB, free: 16.55 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001854/0.6903, allocations: 42.69 kB / 390.4 MB, free: 16.55 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001972/0.6923, allocations: 0.5171 MB / 390.9 MB, free: 16.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002104/0.6944, allocations: 0.8124 MB / 391.7 MB, free: 16.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.754e-05/0.6945, allocations: 0 / 391.7 MB, free: 16.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001382/0.6946, allocations: 0 / 391.7 MB, free: 16.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.212e-05/0.6947, allocations: 15.56 kB / 391.7 MB, free: 16.07 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008441/0.7031, allocations: 2.401 MB / 394.1 MB, free: 14.79 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006607/0.7098, allocations: 0.8484 MB / 395 MB, free: 14.56 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001212/0.711, allocations: 289.7 kB / 395.3 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001342/0.7112, allocations: 24.42 kB / 395.3 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.945e-05/0.7113, allocations: 47.78 kB / 395.3 MB, free: 14.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 5.059e-06/0.7113, allocations: 4 kB / 395.3 MB, free: 14.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.003084/0.7144, allocations: 0.6567 MB / 396 MB, free: 14.3 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000624/0.7151, allocations: 0.9567 MB / 397 MB, free: 13.14 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00148/0.7166, allocations: 0.5561 MB / 397.5 MB, free: 12.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002859/0.7169, allocations: 33.61 kB / 397.6 MB, free: 12.95 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005319/0.7175, allocations: 401.2 kB / 397.9 MB, free: 12.73 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005217/0.718, allocations: 237.4 kB / 398.2 MB, free: 12.56 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.343e-05/0.7181, allocations: 0 / 398.2 MB, free: 12.56 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000322/0.7184, allocations: 388.3 kB / 398.6 MB, free: 12.22 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008238/0.7193, allocations: 205.8 kB / 398.8 MB, free: 12.22 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/0.7206, allocations: 0.5166 MB / 399.3 MB, free: 11.87 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009393/0.7215, allocations: 271.2 kB / 399.5 MB, free: 11.81 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.7216, allocations: 0 / 399.5 MB, free: 11.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003324/0.7249, allocations: 0.7785 MB / 400.3 MB, free: 11.61 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.931e-05/0.7251, allocations: 84.92 kB / 400.4 MB, free: 11.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/0.7251, allocations: 7.938 kB / 400.4 MB, free: 11.51 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001376/0.7265, allocations: 180.2 kB / 400.6 MB, free: 11.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001994/0.7285, allocations: 152.6 kB / 400.7 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01118/0.7397, allocations: 6.676 MB / 407.4 MB, free: 5.066 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001779/0.7415, allocations: 86.02 kB / 407.5 MB, free: 5.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/0.7417, allocations: 22.69 kB / 407.5 MB, free: 5.02 MB / 314.7 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: outerPump.flowPort_b.H_flow:VARIABLE(flow=true unit = "W" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: absolutePressure.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: innerPipe.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: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 71 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 4 {1 3,1 1,1 3,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004837/0.7422, allocations: 141.5 kB / 407.7 MB, free: 4.898 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003471/0.7426, allocations: 96.11 kB / 407.7 MB, free: 4.848 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003549/0.743, allocations: 79.16 kB / 407.8 MB, free: 4.82 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.743, allocations: 7.5 kB / 407.8 MB, free: 4.82 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.962e-05/0.743, allocations: 3.984 kB / 407.8 MB, free: 4.816 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002061/0.7451, allocations: 0.879 MB / 408.7 MB, free: 4.215 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004933/0.7501, allocations: 1.539 MB / 410.3 MB, free: 3.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.878e-06/0.7501, allocations: 0 / 410.3 MB, free: 3.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002136/0.7523, allocations: 167 kB / 410.4 MB, free: 3.484 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002141/0.7525, allocations: 36.33 kB / 410.4 MB, free: 3.465 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/0.7527, allocations: 7.984 kB / 410.5 MB, free: 3.457 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001896/0.7546, allocations: 1.387 MB / 411.8 MB, free: 2.137 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.7546, allocations: 3.844 kB / 411.8 MB, free: 2.137 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003065/0.7577, allocations: 0.939 MB / 412.8 MB, free: 1.875 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004667/0.7582, allocations: 172.9 kB / 413 MB, free: 1.719 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002881/0.7585, allocations: 3.969 kB / 413 MB, free: 1.719 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/0.7598, allocations: 34.59 kB / 413 MB, free: 1.707 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001866/0.76, allocations: 47.55 kB / 413 MB, free: 1.688 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.67e-05/0.7601, allocations: 15.28 kB / 413.1 MB, free: 1.688 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001021/0.7611, allocations: 438 kB / 413.5 MB, free: 1.57 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.7611, allocations: 0 / 413.5 MB, free: 1.57 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001723/0.7629, allocations: 277.5 kB / 413.8 MB, free: 1.543 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 68 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003495/0.7664, allocations: 1.514 MB / 415.3 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004417/0.7709, allocations: 1.284 MB / 416.6 MB, free: 15.96 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.7709, allocations: 0 / 416.6 MB, free: 15.96 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001106/0.772, allocations: 383.8 kB / 416.9 MB, free: 15.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002196/0.7743, allocations: 213 kB / 417.1 MB, free: 15.76 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005957/0.7802, allocations: 1.323 MB / 418.5 MB, free: 15.06 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009513/0.7812, allocations: 0.9841 MB / 419.4 MB, free: 14.09 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.00121/0.7825, allocations: 110.6 kB / 419.5 MB, free: 13.98 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009964/0.7835, allocations: 334.9 kB / 419.9 MB, free: 13.89 MB / 330.7 MB Notification: Performance of SimCode: time 1.753e-06/0.7835, allocations: 4 kB / 419.9 MB, free: 13.88 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1281/0.9116, allocations: 21.77 MB / 441.7 MB, free: 8.172 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004445/0.9121, allocations: 152.3 kB / 441.8 MB, free: 7.977 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.687/5.599, allocations: 0 / 441.8 MB, free: 7.977 MB / 346.7 MB