Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.962/1.962, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.372e-05/4.417e-05, allocations: 4 kB / 273.2 MB, free: 136 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09851/0.09859, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4077/0.5063, allocations: 79.22 MB / 401.1 MB, free: 10.29 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003598/0.5067, allocations: 95.94 kB / 401.2 MB, free: 10.2 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05812/0.5649, allocations: 11.81 MB / 413 MB, free: 14.3 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5649, allocations: 0 / 413 MB, free: 14.3 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.705e-05/0.565, allocations: 8 kB / 413 MB, free: 14.29 MB / 346.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.0009626/0.5659, allocations: 0.4908 MB / 413.5 MB, free: 13.76 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.566, allocations: 8.031 kB / 413.5 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001145/0.5661, allocations: 70.53 kB / 413.6 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.991e-05/0.5662, allocations: 27.62 kB / 413.6 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004016/0.5666, allocations: 238.6 kB / 413.8 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/0.5667, allocations: 16.56 kB / 413.9 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.648e-05/0.5667, allocations: 31.98 kB / 413.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008652/0.5676, allocations: 350.1 kB / 414.2 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.5677, allocations: 0 / 414.2 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.159e-05/0.5677, allocations: 8 kB / 414.2 MB, free: 12.97 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.157e-05/0.5678, allocations: 20.72 kB / 414.3 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008313/0.5686, allocations: 350.8 kB / 414.6 MB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002161/0.5708, allocations: 0.8547 MB / 415.5 MB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007037/0.5715, allocations: 238.3 kB / 415.7 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002371/0.5718, allocations: 84.81 kB / 415.8 MB, free: 11.37 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.414e-05/0.5718, allocations: 7.984 kB / 415.8 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.5719, allocations: 30.56 kB / 415.8 MB, free: 11.32 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 5.56e-06/0.5719, allocations: 4 kB / 415.8 MB, free: 11.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007145/0.5726, allocations: 213.6 kB / 416 MB, free: 11.11 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.5727, allocations: 59.39 kB / 416.1 MB, free: 11.04 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005407/0.5732, allocations: 299.3 kB / 416.4 MB, free: 10.74 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.5733, allocations: 25.7 kB / 416.4 MB, free: 10.71 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.5735, allocations: 179.9 kB / 416.6 MB, free: 10.53 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.274e-05/0.5736, allocations: 55.2 kB / 416.6 MB, free: 10.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.986e-05/0.5736, allocations: 0 / 416.6 MB, free: 10.48 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.5738, allocations: 338.9 kB / 417 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002591/0.5741, allocations: 88.41 kB / 417 MB, free: 10.05 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003606/0.5744, allocations: 172 kB / 417.2 MB, free: 9.84 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003454/0.5748, allocations: 116.5 kB / 417.3 MB, free: 9.727 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.5748, allocations: 4 kB / 417.3 MB, free: 9.723 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008588/0.5757, allocations: 308.9 kB / 417.6 MB, free: 9.414 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.5757, allocations: 15.94 kB / 417.6 MB, free: 9.398 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.5758, allocations: 4 kB / 417.6 MB, free: 9.395 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.5758, allocations: 7.938 kB / 417.7 MB, free: 9.387 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/0.5769, allocations: 124.2 kB / 417.8 MB, free: 9.266 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002891/0.5798, allocations: 3.649 MB / 421.4 MB, free: 5.477 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004345/0.5803, allocations: 43.67 kB / 421.5 MB, free: 5.434 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.672e-05/0.5804, allocations: 15.98 kB / 421.5 MB, free: 5.418 MB / 346.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.0001739/0.5806, allocations: 128.8 kB / 421.6 MB, free: 5.285 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.393e-05/0.5807, allocations: 27.67 kB / 421.6 MB, free: 5.258 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000936/0.5816, allocations: 303.3 kB / 421.9 MB, free: 4.949 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.5817, allocations: 4 kB / 421.9 MB, free: 4.945 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.5817, allocations: 0 / 421.9 MB, free: 4.945 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.5817, allocations: 0 / 421.9 MB, free: 4.945 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005369/0.5822, allocations: 289.5 kB / 422.2 MB, free: 4.613 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.5823, allocations: 3.938 kB / 422.2 MB, free: 4.609 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009824/0.5832, allocations: 107.9 kB / 422.3 MB, free: 4.504 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.5833, allocations: 3.938 kB / 422.3 MB, free: 4.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.408e-05/0.5833, allocations: 7.953 kB / 422.3 MB, free: 4.492 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002711/0.586, allocations: 3.649 MB / 426 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-05/0.5861, allocations: 4.281 kB / 426 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007279/0.5868, allocations: 323.5 kB / 426.3 MB, free: 376 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.587, allocations: 108.7 kB / 426.4 MB, free: 248 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.552e-05/0.5871, allocations: 7.938 kB / 426.4 MB, free: 240 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003071/0.5874, allocations: 12 kB / 426.4 MB, free: 228 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.376e-05/0.5875, allocations: 11.97 kB / 426.4 MB, free: 216 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.153e-05/0.5875, allocations: 12 kB / 426.5 MB, free: 204 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004123/0.588, allocations: 239.1 kB / 426.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.588, allocations: 0 / 426.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005675/0.5885, allocations: 76 kB / 426.8 MB, free: 15.89 MB / 362.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.001221/0.5898, allocations: 0.9033 MB / 427.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001362/0.5912, allocations: 272.8 kB / 427.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.5912, allocations: 0 / 427.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008891/0.5921, allocations: 155.8 kB / 428.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005687/0.5927, allocations: 73.5 kB / 428.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.5943, allocations: 498.3 kB / 428.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005016/0.5948, allocations: 0.7912 MB / 429.4 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003713/0.5952, allocations: 86.88 kB / 429.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/0.5954, allocations: 71.41 kB / 429.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of SimCode: time 1.343e-06/0.5954, allocations: 0 / 429.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04809/0.6435, allocations: 7.951 MB / 437.5 MB, free: 5.145 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003641/0.6439, allocations: 221.9 kB / 437.8 MB, free: 4.922 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.928/3.572, allocations: 7.938 kB / 437.8 MB, free: 4.914 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat