Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.635/2.635, allocations: 235.1 MB / 242.3 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.526e-05/2.535e-05, allocations: 4 kB / 299.6 MB, free: 192 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3726/0.3727, allocations: 54.86 MB / 354.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.186/0.5587, allocations: 93.43 MB / 447.9 MB, free: 1.629 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004184/0.5592, allocations: 87.94 kB / 448 MB, free: 1.543 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4711/1.03, allocations: 23.78 MB / 471.8 MB, free: 97.66 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.054e-06/1.03, allocations: 0 / 471.8 MB, free: 97.66 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.991e-05/1.03, allocations: 5.594 kB / 471.8 MB, free: 97.66 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001631/1.032, allocations: 0.7409 MB / 472.5 MB, free: 97.19 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.561e-05/1.032, allocations: 7.594 kB / 472.5 MB, free: 97.19 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001608/1.032, allocations: 56.47 kB / 472.6 MB, free: 97.16 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005812/1.033, allocations: 314 kB / 472.9 MB, free: 96.93 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/1.033, allocations: 15.47 kB / 472.9 MB, free: 96.93 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-05/1.033, allocations: 31.38 kB / 472.9 MB, free: 96.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001088/1.034, allocations: 449.6 kB / 473.4 MB, free: 96.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/1.036, allocations: 0.6608 MB / 474 MB, free: 96.85 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/1.036, allocations: 3.844 kB / 474 MB, free: 96.85 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.72e-05/1.036, allocations: 0 / 474 MB, free: 96.85 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.297e-05/1.036, allocations: 24.25 kB / 474.1 MB, free: 96.84 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003537/1.039, allocations: 1.526 MB / 475.6 MB, free: 96.26 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006373/1.04, allocations: 272.8 kB / 475.8 MB, free: 96.19 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003495/1.04, allocations: 113.7 kB / 476 MB, free: 96.16 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.964e-05/1.041, allocations: 12.42 kB / 476 MB, free: 96.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/1.041, allocations: 42.06 kB / 476 MB, free: 96.12 MB / 394.7 MB Notification: Performance of pre-optimization done (n=20): time 4.048e-06/1.041, allocations: 1.875 kB / 476 MB, free: 96.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.001015/1.042, allocations: 295 kB / 476.3 MB, free: 96.07 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/1.042, allocations: 104.2 kB / 476.4 MB, free: 95.95 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004568/1.042, allocations: 308.9 kB / 476.7 MB, free: 95.83 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.236e-05/1.042, allocations: 25.7 kB / 476.7 MB, free: 95.8 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/1.042, allocations: 295.6 kB / 477 MB, free: 95.6 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.991e-05/1.042, allocations: 82.92 kB / 477.1 MB, free: 95.55 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/1.043, allocations: 0 / 477.1 MB, free: 95.55 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.086e-05/1.043, allocations: 342.1 kB / 477.4 MB, free: 95.24 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004115/1.043, allocations: 155.4 kB / 477.6 MB, free: 95.23 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005546/1.044, allocations: 408.6 kB / 478 MB, free: 94.86 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005926/1.044, allocations: 233.9 kB / 478.2 MB, free: 94.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.976e-06/1.044, allocations: 0 / 478.2 MB, free: 94.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001525/1.046, allocations: 0.5489 MB / 478.8 MB, free: 94.71 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.926e-05/1.046, allocations: 10.66 kB / 478.8 MB, free: 94.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001656/1.046, allocations: 49.06 kB / 478.8 MB, free: 94.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.569e-05/1.046, allocations: 14.56 kB / 478.8 MB, free: 94.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005992/1.047, allocations: 87.36 kB / 478.9 MB, free: 94.69 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.891e-05/1.047, allocations: 15.44 kB / 478.9 MB, free: 94.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007099/1.047, allocations: 51.64 kB / 479 MB, free: 94.67 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.344e-05/1.048, allocations: 41.78 kB / 479 MB, free: 94.66 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000192/1.048, allocations: 142.1 kB / 479.2 MB, free: 94.54 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009505/1.049, allocations: 293.6 kB / 479.4 MB, free: 94.46 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/1.049, allocations: 34.08 kB / 479.5 MB, free: 94.44 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001349/1.05, allocations: 432.4 kB / 479.9 MB, free: 94.31 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/1.05, allocations: 7.359 kB / 479.9 MB, free: 94.31 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/1.05, allocations: 0 / 479.9 MB, free: 94.31 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/1.05, allocations: 3.406 kB / 479.9 MB, free: 94.31 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000892/1.051, allocations: 366.4 kB / 480.3 MB, free: 94.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001466/1.051, allocations: 40.23 kB / 480.3 MB, free: 94.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003402/1.052, allocations: 36.38 kB / 480.3 MB, free: 94.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/1.052, allocations: 0 / 480.3 MB, free: 94.1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.595e-05/1.052, allocations: 15.66 kB / 480.4 MB, free: 94.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/1.052, allocations: 3.969 kB / 480.4 MB, free: 94.09 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.052, allocations: 0 / 480.4 MB, free: 94.09 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009602/1.053, allocations: 0.5623 MB / 480.9 MB, free: 93.73 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/1.053, allocations: 96.45 kB / 481 MB, free: 93.62 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/1.053, allocations: 3.516 kB / 481 MB, free: 93.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000546/1.054, allocations: 22.11 kB / 481 MB, free: 93.62 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/1.054, allocations: 30.78 kB / 481.1 MB, free: 93.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.198e-05/1.054, allocations: 18.89 kB / 481.1 MB, free: 93.61 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003031/1.054, allocations: 214.8 kB / 481.3 MB, free: 93.48 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.054, allocations: 0 / 481.3 MB, free: 93.48 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001424/1.056, allocations: 209 kB / 481.5 MB, free: 93.43 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001955/1.058, allocations: 1.417 MB / 482.9 MB, free: 92.36 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00129/1.059, allocations: 0.6679 MB / 483.6 MB, free: 91.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/1.059, allocations: 0.5 kB / 483.6 MB, free: 91.91 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005193/1.059, allocations: 452.4 kB / 484 MB, free: 91.51 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006838/1.06, allocations: 38.3 kB / 484.1 MB, free: 91.49 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003451/1.064, allocations: 0.8479 MB / 484.9 MB, free: 91.06 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004905/1.064, allocations: 0.9095 MB / 485.8 MB, free: 90.21 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004818/1.065, allocations: 91.16 kB / 485.9 MB, free: 90.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002363/1.065, allocations: 137.9 kB / 486.1 MB, free: 90.04 MB / 394.7 MB Notification: Performance of SimCode: time 1.142e-06/1.065, allocations: 7.938 kB / 486.1 MB, free: 90.03 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05961/1.125, allocations: 9.64 MB / 495.7 MB, free: 81.2 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002475/1.125, allocations: 189.8 kB / 495.9 MB, free: 81 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.954/4.079, allocations: 11.16 kB / 495.9 MB, free: 81 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat does not exist to compare? outputFormat=mat