Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.063/3.063, allocations: 235.2 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.712e-05/3.728e-05, allocations: 4 kB / 299.6 MB, free: 180 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4853/0.4854, allocations: 54.85 MB / 354.4 MB, free: 15.26 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1889/0.6743, allocations: 84.94 MB / 439.4 MB, free: 10.2 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004351/0.6748, allocations: 91.94 kB / 439.5 MB, free: 10.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07231/0.7472, allocations: 11.72 MB / 451.2 MB, free: 14.29 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.7472, allocations: 3.938 kB / 451.2 MB, free: 14.29 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.26e-05/0.7473, allocations: 12 kB / 451.2 MB, free: 14.28 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.00114/0.7484, allocations: 0.4907 MB / 451.7 MB, free: 13.74 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.071e-05/0.7485, allocations: 8.031 kB / 451.7 MB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001226/0.7486, allocations: 54.55 kB / 451.7 MB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.7487, allocations: 35.56 kB / 451.8 MB, free: 13.64 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000473/0.7492, allocations: 236.7 kB / 452 MB, free: 13.37 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/0.7493, allocations: 12.56 kB / 452 MB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.574e-05/0.7494, allocations: 16 kB / 452 MB, free: 13.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009045/0.7503, allocations: 313.1 kB / 452.3 MB, free: 13.03 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009052/0.7512, allocations: 316.9 kB / 452.7 MB, free: 12.72 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.7512, allocations: 3.953 kB / 452.7 MB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.078e-05/0.7513, allocations: 0 / 452.7 MB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.157e-05/0.7514, allocations: 16.78 kB / 452.7 MB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002421/0.7538, allocations: 0.7565 MB / 453.4 MB, free: 11.9 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000751/0.7546, allocations: 244.3 kB / 453.7 MB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002541/0.7549, allocations: 76.8 kB / 453.7 MB, free: 11.58 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.329e-05/0.755, allocations: 7.984 kB / 453.8 MB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.584e-05/0.755, allocations: 42.5 kB / 453.8 MB, free: 11.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=16): time 4.579e-06/0.755, allocations: 0 / 453.8 MB, free: 11.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007922/0.7559, allocations: 197.8 kB / 454 MB, free: 11.32 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.7559, allocations: 51.41 kB / 454 MB, free: 11.26 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000258/0.7562, allocations: 173.3 kB / 454.2 MB, free: 11.08 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.7562, allocations: 25.7 kB / 454.2 MB, free: 11.05 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.7564, allocations: 179.7 kB / 454.4 MB, free: 10.87 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.675e-05/0.7565, allocations: 51.27 kB / 454.5 MB, free: 10.82 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.458e-05/0.7566, allocations: 4 kB / 454.5 MB, free: 10.82 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.7567, allocations: 326.9 kB / 454.8 MB, free: 10.49 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002838/0.757, allocations: 76.41 kB / 454.9 MB, free: 10.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003787/0.7574, allocations: 171.8 kB / 455 MB, free: 10.2 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003708/0.7578, allocations: 108.5 kB / 455.1 MB, free: 10.1 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/0.7578, allocations: 7.953 kB / 455.1 MB, free: 10.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009453/0.7588, allocations: 277.7 kB / 455.4 MB, free: 9.812 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/0.7589, allocations: 8 kB / 455.4 MB, free: 9.805 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.7589, allocations: 4 kB / 455.4 MB, free: 9.801 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/0.7589, allocations: 4.375 kB / 455.4 MB, free: 9.797 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001426/0.7604, allocations: 119.8 kB / 455.5 MB, free: 9.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003157/0.7635, allocations: 3.668 MB / 459.2 MB, free: 5.871 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004174/0.764, allocations: 19.78 kB / 459.2 MB, free: 5.852 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.027e-05/0.7641, allocations: 19.98 kB / 459.3 MB, free: 5.832 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000189/0.7643, allocations: 122.3 kB / 459.4 MB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.084e-05/0.7644, allocations: 15.81 kB / 459.4 MB, free: 5.691 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/0.7655, allocations: 282 kB / 459.7 MB, free: 5.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/0.7655, allocations: 4 kB / 459.7 MB, free: 5.406 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.7656, allocations: 0 / 459.7 MB, free: 5.406 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.7656, allocations: 0 / 459.7 MB, free: 5.406 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006072/0.7662, allocations: 262 kB / 459.9 MB, free: 5.113 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.7662, allocations: 0 / 459.9 MB, free: 5.113 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001271/0.7675, allocations: 107.8 kB / 460 MB, free: 5.008 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.195e-05/0.7675, allocations: 0 / 460 MB, free: 5.008 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.763e-05/0.7676, allocations: 15.92 kB / 460 MB, free: 4.992 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003075/0.7707, allocations: 3.653 MB / 463.7 MB, free: 1.199 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.026e-05/0.7707, allocations: 4.281 kB / 463.7 MB, free: 1.195 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000756/0.7715, allocations: 303.6 kB / 464 MB, free: 0.8828 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.981e-05/0.7716, allocations: 92.88 kB / 464.1 MB, free: 0.7734 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.659e-05/0.7717, allocations: 0 / 464.1 MB, free: 0.7734 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003475/0.772, allocations: 11.98 kB / 464.1 MB, free: 0.7617 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.84e-05/0.7722, allocations: 23.91 kB / 464.1 MB, free: 0.7383 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-05/0.7722, allocations: 4 kB / 464.1 MB, free: 0.7344 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001709/0.7724, allocations: 128.3 kB / 464.3 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.7724, allocations: 0 / 464.3 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007508/0.7732, allocations: 75.84 kB / 464.3 MB, free: 0.5352 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3578/1.131, allocations: 0.8923 MB / 465.2 MB, free: 103.1 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001807/1.133, allocations: 256.8 kB / 465.5 MB, free: 103.1 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/1.133, allocations: 1.25 kB / 465.5 MB, free: 103.1 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001218/1.134, allocations: 147.2 kB / 465.6 MB, free: 103.1 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/1.135, allocations: 15.56 kB / 465.6 MB, free: 103.1 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/1.137, allocations: 448.1 kB / 466.1 MB, free: 103 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004664/1.137, allocations: 0.7958 MB / 466.9 MB, free: 102.3 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004412/1.137, allocations: 61.16 kB / 466.9 MB, free: 102.3 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002185/1.138, allocations: 66.81 kB / 467 MB, free: 102.2 MB / 394.7 MB Notification: Performance of SimCode: time 1.392e-06/1.138, allocations: 0.5 kB / 467 MB, free: 102.2 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05989/1.198, allocations: 5.18 MB / 472.2 MB, free: 102 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002795/1.198, allocations: 191.7 kB / 472.4 MB, free: 101.8 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.42/4.618, allocations: 1.031 kB / 472.4 MB, free: 101.8 MB / 394.7 MB