Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.949/1.949, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.32e-05/5.338e-05, allocations: 8 kB / 273.2 MB, free: 132 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1176, allocations: 48.7 MB / 321.9 MB, free: 15.33 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4405/0.5581, allocations: 87.02 MB / 408.9 MB, free: 2.473 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003653/0.5585, allocations: 95.94 kB / 409 MB, free: 2.379 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1042/0.6628, allocations: 23.48 MB / 432.5 MB, free: 10.72 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6628, allocations: 0 / 432.5 MB, free: 10.72 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.049e-05/0.6628, allocations: 8 kB / 432.5 MB, free: 10.71 MB / 362.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.001468/0.6643, allocations: 0.6856 MB / 433.2 MB, free: 9.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.6644, allocations: 12.03 kB / 433.2 MB, free: 9.969 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001746/0.6646, allocations: 114.4 kB / 433.3 MB, free: 9.848 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.6647, allocations: 51.34 kB / 433.3 MB, free: 9.797 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005504/0.6653, allocations: 306.3 kB / 433.6 MB, free: 9.457 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.171e-05/0.6654, allocations: 49.25 kB / 433.7 MB, free: 9.406 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.6655, allocations: 55.98 kB / 433.7 MB, free: 9.352 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/0.6671, allocations: 0.7092 MB / 434.5 MB, free: 8.641 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.6672, allocations: 4 kB / 434.5 MB, free: 8.637 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.408e-05/0.6672, allocations: 20 kB / 434.5 MB, free: 8.617 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.983e-05/0.6673, allocations: 49.28 kB / 434.5 MB, free: 8.566 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001715/0.6691, allocations: 0.7585 MB / 435.3 MB, free: 7.805 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003617/0.6727, allocations: 1.528 MB / 436.8 MB, free: 6.219 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.6739, allocations: 432.5 kB / 437.2 MB, free: 5.789 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003831/0.6743, allocations: 137.2 kB / 437.4 MB, free: 5.652 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.231e-05/0.6744, allocations: 12.22 kB / 437.4 MB, free: 5.641 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.6744, allocations: 38.8 kB / 437.4 MB, free: 5.594 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 3.106e-06/0.6744, allocations: 0 / 437.4 MB, free: 5.594 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.001109/0.6755, allocations: 386 kB / 437.8 MB, free: 5.211 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.6756, allocations: 59.34 kB / 437.9 MB, free: 5.141 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009014/0.6765, allocations: 0.5152 MB / 438.4 MB, free: 4.621 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.34e-05/0.6766, allocations: 29.7 kB / 438.4 MB, free: 4.586 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002525/0.6768, allocations: 275.5 kB / 438.7 MB, free: 4.312 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.677, allocations: 110.6 kB / 438.8 MB, free: 4.203 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.264e-05/0.677, allocations: 12 kB / 438.8 MB, free: 4.191 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.6772, allocations: 358.8 kB / 439.1 MB, free: 3.832 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004896/0.6777, allocations: 169 kB / 439.3 MB, free: 3.668 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006621/0.6784, allocations: 409.2 kB / 439.7 MB, free: 3.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006322/0.679, allocations: 255.6 kB / 440 MB, free: 2.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.679, allocations: 4 kB / 440 MB, free: 2.906 MB / 362.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001619/0.6807, allocations: 0.6376 MB / 440.6 MB, free: 2.262 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.6807, allocations: 8 kB / 440.6 MB, free: 2.254 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/0.6807, allocations: 8 kB / 440.6 MB, free: 2.246 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.058e-05/0.6808, allocations: 15.94 kB / 440.6 MB, free: 2.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001938/0.6827, allocations: 243.7 kB / 440.9 MB, free: 1.992 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004789/0.6875, allocations: 7.314 MB / 448.2 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007432/0.6883, allocations: 75.27 kB / 448.2 MB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-05/0.6884, allocations: 35.98 kB / 448.3 MB, free: 10.29 MB / 378.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.0002263/0.6886, allocations: 163.8 kB / 448.4 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.6888, allocations: 47.38 kB / 448.5 MB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001655/0.6904, allocations: 0.5335 MB / 449 MB, free: 9.527 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.6905, allocations: 3.953 kB / 449 MB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.6905, allocations: 4 kB / 449 MB, free: 9.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.6905, allocations: 4 kB / 449 MB, free: 9.516 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007994/0.6913, allocations: 429.2 kB / 449.5 MB, free: 9.047 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.6913, allocations: 3.938 kB / 449.5 MB, free: 9.043 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001717/0.693, allocations: 203.8 kB / 449.7 MB, free: 8.844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.6931, allocations: 0 / 449.7 MB, free: 8.844 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.941e-05/0.6931, allocations: 15.98 kB / 449.7 MB, free: 8.828 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004753/0.6979, allocations: 7.298 MB / 457 MB, free: 1.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.6979, allocations: 0 / 457 MB, free: 1.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.699, allocations: 475.3 kB / 457.4 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002207/0.6993, allocations: 132.6 kB / 457.6 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.6994, allocations: 4 kB / 457.6 MB, free: 0.6172 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004389/0.6999, allocations: 19.94 kB / 457.6 MB, free: 0.5977 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.7, allocations: 35.83 kB / 457.6 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.101e-05/0.7, allocations: 12 kB / 457.6 MB, free: 0.5508 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007008/0.7007, allocations: 401.5 kB / 458 MB, free: 164 kB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7008, allocations: 0 / 458 MB, free: 164 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009931/0.7018, allocations: 191.8 kB / 458.2 MB, free: 15.97 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 (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.00187/0.7037, allocations: 1.189 MB / 459.4 MB, free: 14.76 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002379/0.706, allocations: 0.5366 MB / 459.9 MB, free: 14.22 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.7061, allocations: 0 / 459.9 MB, free: 14.22 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001652/0.7077, allocations: 291.6 kB / 460.2 MB, free: 13.94 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007307/0.7085, allocations: 109.9 kB / 460.3 MB, free: 13.83 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/0.711, allocations: 0.8821 MB / 461.2 MB, free: 12.91 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006097/0.7116, allocations: 0.9209 MB / 462.1 MB, free: 11.96 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000637/0.7122, allocations: 164.4 kB / 462.3 MB, free: 11.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000293/0.7125, allocations: 147.4 kB / 462.4 MB, free: 11.66 MB / 394.7 MB Notification: Performance of SimCode: time 8.91e-07/0.7126, allocations: 0 / 462.4 MB, free: 11.66 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1476/0.8602, allocations: 15.35 MB / 477.8 MB, free: 12.43 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002931/0.8606, allocations: 219.8 kB / 478 MB, free: 12.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.187/4.047, allocations: 0 / 478 MB, free: 12.2 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC_res.mat does not exist to compare? outputFormat=mat