Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.61/2.61, allocations: 235.2 MB / 242.3 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.56e-05/2.572e-05, allocations: 0 / 299.6 MB, free: 184 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3689, allocations: 54.85 MB / 354.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1751/0.544, allocations: 92.78 MB / 447.2 MB, free: 2.281 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003997/0.5445, allocations: 95.94 kB / 447.3 MB, free: 2.188 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.461/1.006, allocations: 23.23 MB / 470.6 MB, free: 98.4 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.913e-06/1.006, allocations: 0 / 470.6 MB, free: 98.4 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.736e-05/1.006, allocations: 7.844 kB / 470.6 MB, free: 98.4 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001453/1.007, allocations: 0.6973 MB / 471.3 MB, free: 97.92 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/1.007, allocations: 9.438 kB / 471.3 MB, free: 97.92 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/1.007, allocations: 58.61 kB / 471.3 MB, free: 97.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005501/1.008, allocations: 302.9 kB / 471.6 MB, free: 97.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.611e-05/1.008, allocations: 19.03 kB / 471.6 MB, free: 97.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.65e-05/1.008, allocations: 37.5 kB / 471.7 MB, free: 97.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001306/1.009, allocations: 0.677 MB / 472.4 MB, free: 97.67 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/1.011, allocations: 0.6295 MB / 473 MB, free: 97.62 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/1.011, allocations: 3.953 kB / 473 MB, free: 97.62 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.966e-05/1.011, allocations: 0 / 473 MB, free: 97.62 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.001e-05/1.011, allocations: 50.23 kB / 473 MB, free: 97.62 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003282/1.014, allocations: 1.384 MB / 474.4 MB, free: 97.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/1.015, allocations: 0.5047 MB / 474.9 MB, free: 97.24 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000382/1.016, allocations: 168.9 kB / 475.1 MB, free: 97.23 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.378e-05/1.016, allocations: 11.8 kB / 475.1 MB, free: 97.23 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/1.016, allocations: 30.56 kB / 475.1 MB, free: 97.2 MB / 394.7 MB Notification: Performance of pre-optimization done (n=37): time 3.366e-06/1.016, allocations: 3.438 kB / 475.1 MB, free: 97.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=37): time 0.001116/1.017, allocations: 406.9 kB / 475.5 MB, free: 97.15 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/1.017, allocations: 55.38 kB / 475.6 MB, free: 97.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002994/1.017, allocations: 250.4 kB / 475.8 MB, free: 96.98 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/1.017, allocations: 29.55 kB / 475.9 MB, free: 96.95 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/1.018, allocations: 282.8 kB / 476.1 MB, free: 96.73 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/1.018, allocations: 134.2 kB / 476.3 MB, free: 96.63 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.628e-05/1.018, allocations: 0 / 476.3 MB, free: 96.63 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.77e-05/1.018, allocations: 338.2 kB / 476.6 MB, free: 96.31 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004405/1.018, allocations: 187.5 kB / 476.8 MB, free: 96.28 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005792/1.019, allocations: 435.8 kB / 477.2 MB, free: 95.93 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006132/1.019, allocations: 278.7 kB / 477.5 MB, free: 95.89 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/1.019, allocations: 2.125 kB / 477.5 MB, free: 95.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001557/1.021, allocations: 0.6276 MB / 478.1 MB, free: 95.78 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/1.021, allocations: 6.594 kB / 478.1 MB, free: 95.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/1.021, allocations: 7.188 kB / 478.1 MB, free: 95.78 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.27e-05/1.021, allocations: 18.62 kB / 478.1 MB, free: 95.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002236/1.023, allocations: 254.5 kB / 478.4 MB, free: 95.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003624/1.027, allocations: 7.34 MB / 485.7 MB, free: 88.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007106/1.028, allocations: 38.08 kB / 485.8 MB, free: 88.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.12e-05/1.028, allocations: 36.02 kB / 485.8 MB, free: 88.62 MB / 394.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 (73): * Single equations (assignments): 61 * 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.0002519/1.028, allocations: 154.7 kB / 486 MB, free: 88.48 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001038/1.029, allocations: 416.2 kB / 486.4 MB, free: 88.39 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.871e-05/1.029, allocations: 27.78 kB / 486.4 MB, free: 88.38 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001623/1.031, allocations: 0.5604 MB / 487 MB, free: 88.23 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/1.031, allocations: 7.938 kB / 487 MB, free: 88.23 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/1.031, allocations: 3.656 kB / 487 MB, free: 88.23 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/1.031, allocations: 3.656 kB / 487 MB, free: 88.23 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007743/1.032, allocations: 398.9 kB / 487.4 MB, free: 88.01 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/1.032, allocations: 0 / 487.4 MB, free: 88.01 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002075/1.034, allocations: 211.9 kB / 487.6 MB, free: 88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.778e-06/1.034, allocations: 3.938 kB / 487.6 MB, free: 88 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.532e-05/1.034, allocations: 10.59 kB / 487.6 MB, free: 88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003636/1.038, allocations: 7.326 MB / 494.9 MB, free: 80.86 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/1.038, allocations: 4.031 kB / 494.9 MB, free: 80.86 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/1.039, allocations: 0.5148 MB / 495.4 MB, free: 80.41 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.84e-05/1.039, allocations: 104.7 kB / 495.5 MB, free: 80.29 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/1.039, allocations: 3.938 kB / 495.5 MB, free: 80.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004601/1.04, allocations: 11.89 kB / 495.5 MB, free: 80.28 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/1.04, allocations: 29.56 kB / 495.6 MB, free: 80.26 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.439e-05/1.04, allocations: 11.89 kB / 495.6 MB, free: 80.25 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002017/1.04, allocations: 178.1 kB / 495.8 MB, free: 80.1 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.04, allocations: 0 / 495.8 MB, free: 80.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001165/1.041, allocations: 198.7 kB / 495.9 MB, free: 79.91 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 (37): * Single equations (assignments): 25 * 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.00186/1.043, allocations: 1.224 MB / 497.2 MB, free: 78.79 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002577/1.046, allocations: 0.5756 MB / 497.7 MB, free: 78.32 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/1.046, allocations: 0 / 497.7 MB, free: 78.32 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001869/1.048, allocations: 318.1 kB / 498.1 MB, free: 78.08 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/1.048, allocations: 24.27 kB / 498.1 MB, free: 78.06 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002609/1.051, allocations: 0.8508 MB / 498.9 MB, free: 77.32 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000466/1.051, allocations: 0.9303 MB / 499.9 MB, free: 76.45 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007098/1.052, allocations: 145.8 kB / 0.4883 GB, free: 76.37 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003098/1.052, allocations: 145.2 kB / 0.4884 GB, free: 76.25 MB / 394.7 MB Notification: Performance of SimCode: time 1.132e-06/1.052, allocations: 4 kB / 0.4884 GB, free: 76.24 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06213/1.114, allocations: 10.15 MB / 0.4983 GB, free: 66.47 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003056/1.115, allocations: 192.3 kB / 0.4985 GB, free: 66.27 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.233/4.347, allocations: 0 / 0.4985 GB, free: 66.27 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_KC_res.mat does not exist to compare? outputFormat=mat