Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.501/2.501, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.842e-05/2.856e-05, allocations: 4 kB / 299.5 MB, free: 6.496 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.3974, allocations: 54.85 MB / 354.4 MB, free: 14.08 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2001/0.5975, allocations: 86.9 MB / 441.3 MB, free: 11.32 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003654/0.598, allocations: 95.88 kB / 441.3 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06276/0.6607, allocations: 13.19 MB / 454.5 MB, free: 13.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.6608, allocations: 0 / 454.5 MB, free: 13.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.131e-05/0.6608, allocations: 4 kB / 454.5 MB, free: 13.93 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001185/0.662, allocations: 0.5644 MB / 455.1 MB, free: 13.32 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.6621, allocations: 12.03 kB / 455.1 MB, free: 13.31 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.412e-05/0.6622, allocations: 35.62 kB / 455.2 MB, free: 13.27 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004179/0.6626, allocations: 246.5 kB / 455.4 MB, free: 12.99 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.6627, allocations: 12 kB / 455.4 MB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.464e-05/0.6627, allocations: 15.94 kB / 455.4 MB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006024/0.6633, allocations: 233.2 kB / 455.7 MB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008096/0.6642, allocations: 365.7 kB / 456 MB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.6642, allocations: 0 / 456 MB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.737e-05/0.6643, allocations: 4 kB / 456 MB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.901e-05/0.6643, allocations: 20.48 kB / 456 MB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002253/0.6666, allocations: 1.01 MB / 457 MB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005045/0.6671, allocations: 207.8 kB / 457.2 MB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/0.6673, allocations: 74.53 kB / 457.3 MB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.368e-05/0.6674, allocations: 11.98 kB / 457.3 MB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.6675, allocations: 34.59 kB / 457.4 MB, free: 10.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 3.727e-06/0.6675, allocations: 7.938 kB / 457.4 MB, free: 10.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007151/0.6682, allocations: 189.3 kB / 457.6 MB, free: 10.71 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.15e-05/0.6683, allocations: 106.8 kB / 457.7 MB, free: 10.58 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003644/0.6687, allocations: 215.8 kB / 457.9 MB, free: 10.36 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.6687, allocations: 25.7 kB / 457.9 MB, free: 10.33 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/0.6689, allocations: 199.6 kB / 458.1 MB, free: 10.13 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.44e-05/0.669, allocations: 47.36 kB / 458.1 MB, free: 10.09 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-05/0.669, allocations: 64 / 458.1 MB, free: 10.09 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.6692, allocations: 338.9 kB / 458.5 MB, free: 9.746 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002466/0.6695, allocations: 84.11 kB / 458.6 MB, free: 9.66 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003501/0.6698, allocations: 201.1 kB / 458.7 MB, free: 9.41 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003312/0.6702, allocations: 119.8 kB / 458.9 MB, free: 9.293 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.6702, allocations: 0 / 458.9 MB, free: 9.293 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008718/0.6711, allocations: 308.9 kB / 459.2 MB, free: 8.984 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.6711, allocations: 4 kB / 459.2 MB, free: 8.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.36e-05/0.6712, allocations: 23.98 kB / 459.2 MB, free: 8.957 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-05/0.6712, allocations: 4 kB / 459.2 MB, free: 8.953 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004782/0.6717, allocations: 64.39 kB / 459.3 MB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.6718, allocations: 4 kB / 459.3 MB, free: 8.887 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004756/0.6722, allocations: 47.7 kB / 459.3 MB, free: 8.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.694e-05/0.6723, allocations: 12 kB / 459.3 MB, free: 8.828 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001519/0.6725, allocations: 120.9 kB / 459.4 MB, free: 8.703 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006177/0.6731, allocations: 201.1 kB / 459.6 MB, free: 8.5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.6732, allocations: 23.78 kB / 459.7 MB, free: 8.477 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000765/0.674, allocations: 247.2 kB / 459.9 MB, free: 8.23 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.674, allocations: 3.953 kB / 459.9 MB, free: 8.227 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/0.674, allocations: 4 kB / 459.9 MB, free: 8.223 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.6741, allocations: 4.062 kB / 459.9 MB, free: 8.219 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006767/0.6747, allocations: 266.1 kB / 460.2 MB, free: 7.922 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.051e-05/0.6748, allocations: 19.98 kB / 460.2 MB, free: 7.902 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003069/0.6751, allocations: 27.97 kB / 460.2 MB, free: 7.875 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.6752, allocations: 0 / 460.2 MB, free: 7.875 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.275e-05/0.6752, allocations: 8 kB / 460.2 MB, free: 7.867 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.6752, allocations: 3.938 kB / 460.2 MB, free: 7.863 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/0.6752, allocations: 7.984 kB / 460.2 MB, free: 7.855 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007272/0.676, allocations: 473.2 kB / 460.7 MB, free: 7.363 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.6761, allocations: 96.86 kB / 460.8 MB, free: 7.25 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.465e-05/0.6762, allocations: 3.953 kB / 460.8 MB, free: 7.246 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000436/0.6766, allocations: 31.97 kB / 460.8 MB, free: 7.215 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.948e-05/0.6767, allocations: 11.98 kB / 460.8 MB, free: 7.203 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-05/0.6768, allocations: 7.984 kB / 460.9 MB, free: 7.195 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002384/0.677, allocations: 164.5 kB / 461 MB, free: 7.039 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.677, allocations: 0 / 461 MB, free: 7.039 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008674/0.6779, allocations: 107.7 kB / 461.1 MB, free: 6.934 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001365/0.6793, allocations: 1.215 MB / 462.3 MB, free: 5.68 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000751/0.6801, allocations: 354.8 kB / 462.7 MB, free: 5.297 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6801, allocations: 0 / 462.7 MB, free: 5.297 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003463/0.6804, allocations: 250.2 kB / 462.9 MB, free: 5.016 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005247/0.681, allocations: 20.66 kB / 462.9 MB, free: 4.996 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.6829, allocations: 0.4934 MB / 463.4 MB, free: 4.461 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005349/0.6835, allocations: 0.8101 MB / 464.2 MB, free: 3.621 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002627/0.6838, allocations: 49.8 kB / 464.3 MB, free: 3.574 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002049/0.684, allocations: 79.41 kB / 464.4 MB, free: 3.496 MB / 394.7 MB Notification: Performance of SimCode: time 1.212e-06/0.684, allocations: 0 / 464.4 MB, free: 3.496 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04818/0.7322, allocations: 5.615 MB / 470 MB, free: 13.91 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003162/0.7326, allocations: 178.7 kB / 470.2 MB, free: 13.72 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.598/3.331, allocations: 0 / 470.2 MB, free: 13.72 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat does not exist to compare? outputFormat=mat