Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.054/2.054, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 6.026e-05/6.052e-05, allocations: 4 kB / 273.2 MB, free: 132 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1043, allocations: 48.71 MB / 321.9 MB, free: 15.32 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.523/0.6273, allocations: 87.02 MB / 408.9 MB, free: 2.551 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003766/0.6278, allocations: 91.94 kB / 409 MB, free: 2.461 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05488/0.6826, allocations: 11.11 MB / 420.1 MB, free: 7.328 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.6827, allocations: 0 / 420.1 MB, free: 7.328 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.935e-05/0.6827, allocations: 4 kB / 420.1 MB, free: 7.324 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001036/0.6838, allocations: 0.5607 MB / 420.7 MB, free: 6.719 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.225e-05/0.6839, allocations: 8.031 kB / 420.7 MB, free: 6.711 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001311/0.684, allocations: 78.52 kB / 420.7 MB, free: 6.625 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.6841, allocations: 39.53 kB / 420.8 MB, free: 6.586 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004015/0.6845, allocations: 250.1 kB / 421 MB, free: 6.301 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.676e-05/0.6846, allocations: 24.78 kB / 421.1 MB, free: 6.273 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.627e-05/0.6847, allocations: 36 kB / 421.1 MB, free: 6.238 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000932/0.6856, allocations: 0.5504 MB / 421.6 MB, free: 5.559 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/0.6857, allocations: 3.938 kB / 421.6 MB, free: 5.555 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.149e-05/0.6857, allocations: 23.98 kB / 421.7 MB, free: 5.531 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.119e-05/0.6858, allocations: 12 kB / 421.7 MB, free: 5.52 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006439/0.6864, allocations: 301.1 kB / 422 MB, free: 5.223 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003915/0.6903, allocations: 4.051 MB / 426 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004824/0.6909, allocations: 86.61 kB / 426.1 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.691, allocations: 24.86 kB / 426.1 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.67e-05/0.6911, allocations: 8 kB / 426.1 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.6911, allocations: 30.56 kB / 426.2 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.505e-06/0.6911, allocations: 0 / 426.2 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.000432/0.6916, allocations: 113.1 kB / 426.3 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.6916, allocations: 55.41 kB / 426.3 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005988/0.6922, allocations: 351 kB / 426.7 MB, free: 276 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.6923, allocations: 29.7 kB / 426.7 MB, free: 240 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000252/0.6925, allocations: 251.2 kB / 426.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.6926, allocations: 31.59 kB / 427 MB, free: 15.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.199e-05/0.6926, allocations: 8 kB / 427 MB, free: 15.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.6928, allocations: 346.8 kB / 427.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.693, allocations: 44.64 kB / 427.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003284/0.6933, allocations: 246.4 kB / 427.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002549/0.6936, allocations: 95.89 kB / 427.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/0.6936, allocations: 4 kB / 427.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008378/0.6945, allocations: 316.8 kB / 428 MB, free: 14.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/0.6945, allocations: 8 kB / 428 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.6945, allocations: 8 kB / 428 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.203e-05/0.6946, allocations: 8 kB / 428 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007977/0.6954, allocations: 116.4 kB / 428.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001031/0.6964, allocations: 1.219 MB / 429.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005503/0.697, allocations: 63.33 kB / 429.4 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.586e-05/0.6971, allocations: 24.19 kB / 429.5 MB, free: 13.3 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001397/0.6972, allocations: 128.8 kB / 429.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.314e-05/0.6973, allocations: 35.53 kB / 429.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005661/0.6979, allocations: 153 kB / 429.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.6979, allocations: 4 kB / 429.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.6979, allocations: 3.953 kB / 429.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.698, allocations: 0 / 429.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004723/0.6984, allocations: 269.5 kB / 430 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.6985, allocations: 4 kB / 430 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005252/0.699, allocations: 51.97 kB / 430.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.828e-06/0.699, allocations: 7.984 kB / 430.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.6991, allocations: 4 kB / 430.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009459/0.7, allocations: 1.199 MB / 431.3 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.7, allocations: 3.938 kB / 431.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003975/0.7005, allocations: 223.2 kB / 431.5 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.7006, allocations: 112.6 kB / 431.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.777e-05/0.7007, allocations: 4 kB / 431.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003043/0.701, allocations: 4 kB / 431.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.515e-05/0.7011, allocations: 7.984 kB / 431.7 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.7011, allocations: 4 kB / 431.7 MB, free: 10.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004515/0.7016, allocations: 273.2 kB / 431.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.935e-06/0.7016, allocations: 0 / 431.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008947/0.7025, allocations: 131.9 kB / 432.1 MB, free: 10.57 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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00142/0.7039, allocations: 0.8974 MB / 432.9 MB, free: 9.648 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007948/0.7048, allocations: 161.1 kB / 433.1 MB, free: 9.492 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.7048, allocations: 0.5625 kB / 433.1 MB, free: 9.492 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000353/0.7052, allocations: 55.97 kB / 433.2 MB, free: 9.438 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004341/0.7056, allocations: 38.08 kB / 433.2 MB, free: 9.398 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.7071, allocations: 382 kB / 433.6 MB, free: 8.992 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004436/0.7075, allocations: 0.7758 MB / 434.3 MB, free: 8.191 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002571/0.7078, allocations: 46.89 kB / 434.4 MB, free: 8.145 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002217/0.7081, allocations: 103.4 kB / 434.5 MB, free: 8.047 MB / 362.7 MB Notification: Performance of SimCode: time 2.284e-06/0.7081, allocations: 0 / 434.5 MB, free: 8.047 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04711/0.7552, allocations: 10.41 MB / 444.9 MB, free: 13.73 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003657/0.7556, allocations: 226.8 kB / 445.1 MB, free: 13.5 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.17/3.925, allocations: 0 / 445.1 MB, free: 13.5 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat does not exist to compare? outputFormat=mat