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.565/2.565, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.073e-05/4.084e-05, allocations: 4 kB / 305.1 MB, free: 5.051 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4591/0.4592, allocations: 54.86 MB / 359.9 MB, free: 2.832 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1761/0.6353, allocations: 93.45 MB / 453.4 MB, free: 3.348 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003982/0.6357, allocations: 101 kB / 453.5 MB, free: 3.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1149/0.7507, allocations: 23.46 MB / 476.9 MB, free: 11.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.7507, allocations: 4 kB / 476.9 MB, free: 11.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.918e-05/0.7508, allocations: 4 kB / 476.9 MB, free: 11.63 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.00174/0.7525, allocations: 0.6934 MB / 477.6 MB, free: 10.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/0.7526, allocations: 11.97 kB / 477.6 MB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002013/0.7528, allocations: 114.4 kB / 477.8 MB, free: 10.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/0.753, allocations: 59.34 kB / 477.8 MB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006293/0.7536, allocations: 308.2 kB / 478.1 MB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.324e-05/0.7537, allocations: 37.31 kB / 478.1 MB, free: 10.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.7538, allocations: 57.39 kB / 478.2 MB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/0.7555, allocations: 0.7105 MB / 478.9 MB, free: 9.551 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.7556, allocations: 3.953 kB / 478.9 MB, free: 9.547 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.847e-05/0.7557, allocations: 20 kB / 478.9 MB, free: 9.527 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-05/0.7558, allocations: 45.28 kB / 479 MB, free: 9.484 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00179/0.7576, allocations: 0.7521 MB / 479.7 MB, free: 8.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003933/0.7615, allocations: 1.532 MB / 481.3 MB, free: 7.141 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.7628, allocations: 427.8 kB / 481.7 MB, free: 6.715 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004187/0.7632, allocations: 145.2 kB / 481.8 MB, free: 6.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.55e-05/0.7633, allocations: 8.219 kB / 481.8 MB, free: 6.562 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.7633, allocations: 38.73 kB / 481.9 MB, free: 6.516 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 3.046e-06/0.7633, allocations: 0 / 481.9 MB, free: 6.516 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.00119/0.7645, allocations: 386.6 kB / 482.2 MB, free: 6.133 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.7646, allocations: 55.41 kB / 482.3 MB, free: 6.066 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.7656, allocations: 0.5113 MB / 482.8 MB, free: 5.551 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.563e-05/0.7657, allocations: 33.64 kB / 482.8 MB, free: 5.512 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002827/0.766, allocations: 279.5 kB / 483.1 MB, free: 5.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001442/0.7662, allocations: 106.6 kB / 483.2 MB, free: 5.125 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.119e-05/0.7662, allocations: 8 kB / 483.2 MB, free: 5.117 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.7664, allocations: 358.8 kB / 483.6 MB, free: 4.758 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004989/0.7669, allocations: 169.1 kB / 483.7 MB, free: 4.594 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006978/0.7676, allocations: 419.8 kB / 484.2 MB, free: 4.066 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006712/0.7683, allocations: 251.6 kB / 484.4 MB, free: 3.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/0.7684, allocations: 8 kB / 484.4 MB, free: 3.812 MB / 410.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001742/0.7701, allocations: 0.6139 MB / 485 MB, free: 3.191 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/0.7702, allocations: 8 kB / 485 MB, free: 3.184 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/0.7702, allocations: 11.98 kB / 485 MB, free: 3.172 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.737e-05/0.7702, allocations: 12.78 kB / 485.1 MB, free: 3.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002003/0.7723, allocations: 251.6 kB / 485.3 MB, free: 2.914 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005595/0.7779, allocations: 7.302 MB / 492.6 MB, free: 11.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008279/0.7788, allocations: 75.55 kB / 492.7 MB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.714e-05/0.7789, allocations: 39.92 kB / 492.7 MB, free: 11.22 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.0002455/0.7791, allocations: 168 kB / 492.9 MB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.7793, allocations: 43.44 kB / 492.9 MB, free: 11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001747/0.781, allocations: 0.5213 MB / 493.4 MB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.7811, allocations: 4 kB / 493.4 MB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/0.7811, allocations: 0 / 493.4 MB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.7811, allocations: 0 / 493.4 MB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.7822, allocations: 433.2 kB / 493.9 MB, free: 9.996 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/0.7822, allocations: 7.891 kB / 493.9 MB, free: 9.988 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001807/0.784, allocations: 203.8 kB / 494.1 MB, free: 9.789 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.368e-06/0.7841, allocations: 4 kB / 494.1 MB, free: 9.785 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.891e-05/0.7841, allocations: 11.98 kB / 494.1 MB, free: 9.773 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005282/0.7894, allocations: 7.29 MB / 0.4896 GB, free: 2.203 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.7895, allocations: 0 / 0.4896 GB, free: 2.203 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.7906, allocations: 479.3 kB / 0.4901 GB, free: 1.719 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000231/0.7909, allocations: 128.4 kB / 0.4902 GB, free: 1.574 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.791, allocations: 12 kB / 0.4902 GB, free: 1.562 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004693/0.7915, allocations: 15.98 kB / 0.4902 GB, free: 1.547 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.7916, allocations: 23.91 kB / 0.4903 GB, free: 1.523 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.151e-05/0.7917, allocations: 20.08 kB / 0.4903 GB, free: 1.504 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007488/0.7925, allocations: 401.5 kB / 0.4907 GB, free: 1.113 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.8e-07/0.7925, allocations: 0 / 0.4907 GB, free: 1.113 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001188/0.7937, allocations: 195.8 kB / 0.4909 GB, free: 0.9219 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.00229/0.796, allocations: 1.182 MB / 0.492 GB, free: 15.72 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002671/0.7987, allocations: 0.5288 MB / 0.4925 GB, free: 15.19 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.7988, allocations: 3.938 kB / 0.4925 GB, free: 15.19 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001751/0.8005, allocations: 291.6 kB / 0.4928 GB, free: 14.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000947/0.8015, allocations: 110 kB / 0.4929 GB, free: 14.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00282/0.8044, allocations: 0.8756 MB / 0.4938 GB, free: 13.88 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006596/0.8051, allocations: 0.9208 MB / 0.4947 GB, free: 12.93 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007693/0.8059, allocations: 160.5 kB / 0.4948 GB, free: 12.78 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000348/0.8062, allocations: 147.4 kB / 0.495 GB, free: 12.63 MB / 442.7 MB Notification: Performance of SimCode: time 1.603e-06/0.8063, allocations: 0 / 0.495 GB, free: 12.63 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05379/0.8601, allocations: 15.3 MB / 0.5099 GB, free: 13.4 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000351/0.8605, allocations: 222.5 kB / 0.5101 GB, free: 13.17 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.252/4.113, allocations: 3.938 kB / 0.5101 GB, free: 13.17 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