Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.553/2.553, allocations: 270 MB / 283.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.759e-05/5.759e-05, allocations: 9.766 kB / 348.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1671, allocations: 61.87 MB / 410.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5169/0.6841, allocations: 99.55 MB / 0.498 GB, free: 4.371 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003763/0.6845, allocations: 103.9 kB / 0.4981 GB, free: 4.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1203/0.8048, allocations: 24.01 MB / 0.5215 GB, free: 12.08 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.8049, allocations: 0 / 0.5215 GB, free: 12.08 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.27e-05/0.805, allocations: 8 kB / 0.5215 GB, free: 12.07 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.002745/0.8077, allocations: 0.6894 MB / 0.5222 GB, free: 11.34 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.753e-05/0.8078, allocations: 12.03 kB / 0.5222 GB, free: 11.32 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003804/0.8082, allocations: 106.5 kB / 0.5223 GB, free: 11.21 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002646/0.8085, allocations: 55.34 kB / 0.5224 GB, free: 11.16 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.8096, allocations: 314.2 kB / 0.5227 GB, free: 10.81 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.8097, allocations: 53.23 kB / 0.5227 GB, free: 10.76 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002265/0.81, allocations: 52 kB / 0.5228 GB, free: 10.71 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003925/0.8139, allocations: 0.7027 MB / 0.5234 GB, free: 9.996 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.172e-05/0.814, allocations: 0 / 0.5234 GB, free: 9.996 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/0.8142, allocations: 23.98 kB / 0.5235 GB, free: 9.973 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001457/0.8143, allocations: 49.28 kB / 0.5235 GB, free: 9.922 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002062/0.8164, allocations: 0.7482 MB / 0.5242 GB, free: 9.176 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004377/0.8208, allocations: 1.536 MB / 0.5257 GB, free: 7.582 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.8221, allocations: 430.5 kB / 0.5262 GB, free: 7.156 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004023/0.8225, allocations: 145.2 kB / 0.5263 GB, free: 7.012 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.336e-05/0.8226, allocations: 8.219 kB / 0.5263 GB, free: 7.004 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.8226, allocations: 42.8 kB / 0.5263 GB, free: 6.953 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 3.687e-06/0.8227, allocations: 0 / 0.5263 GB, free: 6.953 MB / 442.7 MB Notification: Performance of matching and sorting (n=28): time 0.001171/0.8238, allocations: 374.7 kB / 0.5267 GB, free: 6.582 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/0.8239, allocations: 59.41 kB / 0.5268 GB, free: 6.512 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.8249, allocations: 0.515 MB / 0.5273 GB, free: 5.992 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.9e-05/0.825, allocations: 33.7 kB / 0.5273 GB, free: 5.953 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003034/0.8253, allocations: 275.5 kB / 0.5276 GB, free: 5.676 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.8255, allocations: 98.64 kB / 0.5276 GB, free: 5.578 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/0.8255, allocations: 12 kB / 0.5277 GB, free: 5.566 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002308/0.8258, allocations: 358.8 kB / 0.528 GB, free: 5.207 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004978/0.8263, allocations: 173 kB / 0.5282 GB, free: 5.035 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007393/0.827, allocations: 415.8 kB / 0.5286 GB, free: 4.52 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006669/0.8277, allocations: 254.9 kB / 0.5288 GB, free: 4.273 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.8277, allocations: 4 kB / 0.5288 GB, free: 4.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001739/0.8295, allocations: 0.6137 MB / 0.5294 GB, free: 3.648 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/0.8295, allocations: 12 kB / 0.5294 GB, free: 3.637 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.8296, allocations: 8 kB / 0.5294 GB, free: 3.629 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.261e-05/0.8296, allocations: 12.75 kB / 0.5294 GB, free: 3.617 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002014/0.8316, allocations: 251.6 kB / 0.5297 GB, free: 3.371 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005421/0.8371, allocations: 7.302 MB / 0.5368 GB, free: 11.79 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008029/0.8379, allocations: 79.55 kB / 0.5369 GB, free: 11.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.49e-05/0.838, allocations: 43.92 kB / 0.5369 GB, free: 11.67 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].target,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002501/0.8383, allocations: 158.6 kB / 0.5371 GB, free: 11.51 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.8384, allocations: 47.44 kB / 0.5371 GB, free: 11.46 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001712/0.8401, allocations: 0.5276 MB / 0.5376 GB, free: 10.93 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.8402, allocations: 4 kB / 0.5376 GB, free: 10.92 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/0.8402, allocations: 0 / 0.5376 GB, free: 10.92 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.8402, allocations: 0 / 0.5376 GB, free: 10.92 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009259/0.8411, allocations: 437.1 kB / 0.5381 GB, free: 10.45 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.8411, allocations: 4 kB / 0.5381 GB, free: 10.44 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001786/0.8429, allocations: 203.8 kB / 0.5383 GB, free: 10.24 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.707e-06/0.843, allocations: 0 / 0.5383 GB, free: 10.24 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.126e-05/0.843, allocations: 15.98 kB / 0.5383 GB, free: 10.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005333/0.8484, allocations: 7.283 MB / 0.5454 GB, free: 2.664 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/0.8484, allocations: 12.06 kB / 0.5454 GB, free: 2.652 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.8496, allocations: 475.3 kB / 0.5459 GB, free: 2.172 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002184/0.8498, allocations: 128.5 kB / 0.546 GB, free: 2.027 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.85, allocations: 4 kB / 0.546 GB, free: 2.023 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004719/0.8504, allocations: 19.98 kB / 0.546 GB, free: 2.004 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.8506, allocations: 23.97 kB / 0.546 GB, free: 1.98 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.933e-05/0.8506, allocations: 19.98 kB / 0.546 GB, free: 1.961 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000737/0.8514, allocations: 397.5 kB / 0.5464 GB, free: 1.574 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.8514, allocations: 3.938 kB / 0.5464 GB, free: 1.57 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001071/0.8525, allocations: 199.7 kB / 0.5466 GB, free: 1.375 MB / 458.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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002127/0.8546, allocations: 1.173 MB / 0.5478 GB, free: 184 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002552/0.8572, allocations: 0.5249 MB / 0.5483 GB, free: 15.66 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.8572, allocations: 0 / 0.5483 GB, free: 15.66 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001727/0.859, allocations: 295.6 kB / 0.5486 GB, free: 15.37 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008666/0.8599, allocations: 109.9 kB / 0.5487 GB, free: 15.26 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002805/0.8627, allocations: 0.8889 MB / 0.5495 GB, free: 14.33 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006581/0.8634, allocations: 0.9132 MB / 0.5504 GB, free: 13.39 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0007128/0.8641, allocations: 164.4 kB / 0.5506 GB, free: 13.23 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003085/0.8645, allocations: 147.4 kB / 0.5507 GB, free: 13.09 MB / 474.7 MB Notification: Performance of SimCode: time 1.723e-06/0.8645, allocations: 0 / 0.5507 GB, free: 13.09 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05221/0.9167, allocations: 15.31 MB / 0.5657 GB, free: 14 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003151/0.9171, allocations: 226.6 kB / 0.5659 GB, free: 13.77 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.149/4.066, allocations: 0 / 0.5659 GB, free: 13.77 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC_res.mat does not exist to compare? outputFormat=mat