Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.446/2.446, allocations: 235 MB / 247.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.495e-05/4.528e-05, allocations: 4 kB / 305 MB, free: 5.059 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4608/0.4609, allocations: 54.85 MB / 359.9 MB, free: 3.188 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1783/0.6392, allocations: 93.45 MB / 453.3 MB, free: 3.449 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003819/0.6397, allocations: 91.94 kB / 453.4 MB, free: 3.359 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1128/0.7525, allocations: 23.48 MB / 476.9 MB, free: 11.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.7525, allocations: 1.031 kB / 476.9 MB, free: 11.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.329e-05/0.7525, allocations: 8 kB / 476.9 MB, free: 11.73 MB / 410.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.001732/0.7543, allocations: 0.6855 MB / 477.6 MB, free: 11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.656e-05/0.7544, allocations: 15.97 kB / 477.6 MB, free: 10.98 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002192/0.7546, allocations: 118.4 kB / 477.7 MB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/0.7548, allocations: 51.34 kB / 477.8 MB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006495/0.7554, allocations: 312.2 kB / 478.1 MB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.543e-05/0.7555, allocations: 45.3 kB / 478.1 MB, free: 10.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/0.7557, allocations: 52 kB / 478.2 MB, free: 10.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001766/0.7574, allocations: 0.717 MB / 478.9 MB, free: 9.641 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.842e-05/0.7575, allocations: 3.953 kB / 478.9 MB, free: 9.637 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.736e-05/0.7576, allocations: 21.41 kB / 478.9 MB, free: 9.617 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001019/0.7577, allocations: 41.3 kB / 479 MB, free: 9.578 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001846/0.7596, allocations: 0.7624 MB / 479.7 MB, free: 8.816 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003966/0.7636, allocations: 1.524 MB / 481.2 MB, free: 7.234 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/0.7649, allocations: 436.4 kB / 481.7 MB, free: 6.801 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004118/0.7653, allocations: 145.2 kB / 481.8 MB, free: 6.656 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.37e-05/0.7654, allocations: 12.22 kB / 481.8 MB, free: 6.645 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.7654, allocations: 38.8 kB / 481.9 MB, free: 6.598 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 3.858e-06/0.7655, allocations: 0 / 481.9 MB, free: 6.598 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.001193/0.7667, allocations: 385.8 kB / 482.2 MB, free: 6.215 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.7667, allocations: 59.41 kB / 482.3 MB, free: 6.145 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.7677, allocations: 0.5074 MB / 482.8 MB, free: 5.629 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.678e-05/0.7678, allocations: 33.7 kB / 482.8 MB, free: 5.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002788/0.7681, allocations: 263.5 kB / 483.1 MB, free: 5.324 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.7683, allocations: 110.6 kB / 483.2 MB, free: 5.215 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.509e-05/0.7683, allocations: 15.94 kB / 483.2 MB, free: 5.199 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002112/0.7686, allocations: 362.7 kB / 483.6 MB, free: 4.836 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005057/0.7691, allocations: 173.1 kB / 483.7 MB, free: 4.668 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007539/0.7698, allocations: 416.9 kB / 484.2 MB, free: 4.145 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006624/0.7705, allocations: 251.7 kB / 484.4 MB, free: 3.898 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/0.7705, allocations: 4 kB / 484.4 MB, free: 3.895 MB / 410.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00175/0.7723, allocations: 0.645 MB / 485 MB, free: 3.242 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.751e-05/0.7724, allocations: 13.72 kB / 485.1 MB, free: 3.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/0.7724, allocations: 11.98 kB / 485.1 MB, free: 3.219 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.356e-05/0.7724, allocations: 12 kB / 485.1 MB, free: 3.207 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002057/0.7745, allocations: 240.4 kB / 485.3 MB, free: 2.973 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005714/0.7803, allocations: 7.313 MB / 492.6 MB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008084/0.7811, allocations: 75.27 kB / 492.7 MB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.242e-05/0.7812, allocations: 32.27 kB / 492.7 MB, free: 11.27 MB / 426.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.0002895/0.7815, allocations: 171.8 kB / 492.9 MB, free: 11.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.7817, allocations: 43.44 kB / 492.9 MB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001747/0.7834, allocations: 0.5212 MB / 493.5 MB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.7835, allocations: 4 kB / 493.5 MB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.7835, allocations: 0 / 493.5 MB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.7835, allocations: 0 / 493.5 MB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009445/0.7844, allocations: 437.2 kB / 493.9 MB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/0.7845, allocations: 3.953 kB / 493.9 MB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001859/0.7863, allocations: 199.8 kB / 494.1 MB, free: 9.844 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.51e-05/0.7864, allocations: 8 kB / 494.1 MB, free: 9.836 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.008e-05/0.7865, allocations: 15.92 kB / 494.1 MB, free: 9.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005793/0.7923, allocations: 7.286 MB / 0.4897 GB, free: 2.254 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.757e-06/0.7923, allocations: 8.047 kB / 0.4897 GB, free: 2.246 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.7936, allocations: 487.7 kB / 0.4901 GB, free: 1.754 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000233/0.7939, allocations: 132.4 kB / 0.4903 GB, free: 1.605 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.794, allocations: 4 kB / 0.4903 GB, free: 1.602 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004705/0.7945, allocations: 15.98 kB / 0.4903 GB, free: 1.586 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.7946, allocations: 23.95 kB / 0.4903 GB, free: 1.562 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.558e-05/0.7947, allocations: 19.98 kB / 0.4903 GB, free: 1.543 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007603/0.7955, allocations: 397.5 kB / 0.4907 GB, free: 1.156 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.7955, allocations: 0 / 0.4907 GB, free: 1.156 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001172/0.7967, allocations: 191.8 kB / 0.4909 GB, free: 0.9688 MB / 426.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.002228/0.7989, allocations: 1.178 MB / 0.492 GB, free: 15.76 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002629/0.8016, allocations: 0.5365 MB / 0.4926 GB, free: 15.23 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.8017, allocations: 3.938 kB / 0.4926 GB, free: 15.22 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001786/0.8035, allocations: 291.7 kB / 0.4928 GB, free: 14.94 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008341/0.8043, allocations: 109 kB / 0.4929 GB, free: 14.84 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002876/0.8072, allocations: 0.8884 MB / 0.4938 GB, free: 13.91 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007034/0.808, allocations: 0.9247 MB / 0.4947 GB, free: 12.96 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007206/0.8087, allocations: 160.5 kB / 0.4949 GB, free: 12.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003102/0.8091, allocations: 151.4 kB / 0.495 GB, free: 12.65 MB / 442.7 MB Notification: Performance of SimCode: time 1.002e-06/0.8091, allocations: 0 / 0.495 GB, free: 12.65 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05729/0.8664, allocations: 15.35 MB / 0.51 GB, free: 13.38 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003448/0.8668, allocations: 223.8 kB / 0.5102 GB, free: 13.15 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.478/4.345, allocations: 8.016 kB / 0.5102 GB, free: 13.14 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC_res.mat does not exist to compare? outputFormat=mat