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 2.124/2.124, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.067e-05/4.074e-05, allocations: 0 / 273.2 MB, free: 124 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1116, allocations: 48.71 MB / 321.9 MB, free: 15.32 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4478/0.5595, allocations: 87.03 MB / 408.9 MB, free: 2.441 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003949/0.5599, allocations: 95.92 kB / 409 MB, free: 2.348 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.113/0.673, allocations: 23.46 MB / 432.5 MB, free: 10.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.673, allocations: 3.938 kB / 432.5 MB, free: 10.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.121e-05/0.6731, allocations: 8 kB / 432.5 MB, free: 10.69 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.001654/0.6747, allocations: 0.6895 MB / 433.2 MB, free: 9.957 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.6748, allocations: 8.031 kB / 433.2 MB, free: 9.949 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001991/0.675, allocations: 110.5 kB / 433.3 MB, free: 9.832 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/0.6752, allocations: 55.34 kB / 433.4 MB, free: 9.777 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006034/0.6758, allocations: 314.2 kB / 433.7 MB, free: 9.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.209e-05/0.6759, allocations: 37.31 kB / 433.7 MB, free: 9.391 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.676, allocations: 55.98 kB / 433.8 MB, free: 9.336 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001739/0.6777, allocations: 0.7105 MB / 434.5 MB, free: 8.621 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.6778, allocations: 0 / 434.5 MB, free: 8.621 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.098e-05/0.6779, allocations: 27.98 kB / 434.5 MB, free: 8.594 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.46e-05/0.678, allocations: 41.3 kB / 434.5 MB, free: 8.555 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001809/0.6798, allocations: 0.7598 MB / 435.3 MB, free: 7.793 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004062/0.6839, allocations: 1.524 MB / 436.8 MB, free: 6.211 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/0.6852, allocations: 423.8 kB / 437.2 MB, free: 5.789 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004084/0.6856, allocations: 145.2 kB / 437.4 MB, free: 5.645 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.693e-05/0.6857, allocations: 12.22 kB / 437.4 MB, free: 5.633 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/0.6857, allocations: 38.72 kB / 437.4 MB, free: 5.586 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 2.895e-06/0.6857, allocations: 0 / 437.4 MB, free: 5.586 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.001211/0.687, allocations: 378.6 kB / 437.8 MB, free: 5.211 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.687, allocations: 59.34 kB / 437.9 MB, free: 5.141 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.6881, allocations: 0.5152 MB / 438.4 MB, free: 4.617 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.697e-05/0.6881, allocations: 29.7 kB / 438.4 MB, free: 4.582 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002801/0.6884, allocations: 275.6 kB / 438.7 MB, free: 4.309 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/0.6886, allocations: 106.5 kB / 438.8 MB, free: 4.203 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.455e-05/0.6886, allocations: 12 kB / 438.8 MB, free: 4.191 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002464/0.6889, allocations: 362.8 kB / 439.1 MB, free: 3.828 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005324/0.6894, allocations: 172.9 kB / 439.3 MB, free: 3.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007393/0.6902, allocations: 408.1 kB / 439.7 MB, free: 3.152 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006691/0.6909, allocations: 247.9 kB / 440 MB, free: 2.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/0.6909, allocations: 4 kB / 440 MB, free: 2.906 MB / 362.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001745/0.6927, allocations: 0.622 MB / 440.6 MB, free: 2.277 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.382e-05/0.6927, allocations: 11.98 kB / 440.6 MB, free: 2.266 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.659e-05/0.6928, allocations: 8 kB / 440.6 MB, free: 2.258 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.504e-05/0.6928, allocations: 12 kB / 440.6 MB, free: 2.246 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002034/0.6949, allocations: 243.6 kB / 440.8 MB, free: 2.008 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005493/0.7004, allocations: 7.306 MB / 448.2 MB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00081/0.7013, allocations: 75.27 kB / 448.2 MB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.188e-05/0.7014, allocations: 31.98 kB / 448.3 MB, free: 10.32 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.0002657/0.7017, allocations: 167.8 kB / 448.4 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.7018, allocations: 47.62 kB / 448.5 MB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001745/0.7036, allocations: 0.5254 MB / 449 MB, free: 9.562 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.7036, allocations: 15.95 kB / 449 MB, free: 9.547 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.7036, allocations: 0 / 449 MB, free: 9.547 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.311e-06/0.7036, allocations: 0 / 449 MB, free: 9.547 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009939/0.7046, allocations: 433.2 kB / 449.4 MB, free: 9.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.7047, allocations: 0 / 449.4 MB, free: 9.074 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001816/0.7065, allocations: 203.8 kB / 449.6 MB, free: 8.875 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.526e-05/0.7065, allocations: 4 kB / 449.6 MB, free: 8.871 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.066e-05/0.7066, allocations: 11.98 kB / 449.6 MB, free: 8.859 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00511/0.7117, allocations: 7.29 MB / 456.9 MB, free: 1.289 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.7118, allocations: 0 / 456.9 MB, free: 1.289 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.713, allocations: 487.8 kB / 457.4 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002172/0.7132, allocations: 128.4 kB / 457.5 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.7134, allocations: 11.98 kB / 457.6 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004666/0.7138, allocations: 11.95 kB / 457.6 MB, free: 0.6289 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.714, allocations: 27.95 kB / 457.6 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.938e-05/0.714, allocations: 11.98 kB / 457.6 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007846/0.7148, allocations: 401.5 kB / 458 MB, free: 208 kB / 378.7 MB Notification: Performance of sort global known variables: time 3.386e-06/0.7148, allocations: 0 / 458 MB, free: 208 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.001276/0.7161, allocations: 191.7 kB / 458.2 MB, free: 16 kB / 378.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.003285/0.7195, allocations: 1.187 MB / 459.4 MB, free: 14.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004026/0.7235, allocations: 0.5293 MB / 459.9 MB, free: 14.28 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/0.7236, allocations: 0 / 459.9 MB, free: 14.28 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002006/0.7256, allocations: 287.6 kB / 460.2 MB, free: 14 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000894/0.7266, allocations: 105.9 kB / 460.3 MB, free: 13.89 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002943/0.7295, allocations: 0.8821 MB / 461.2 MB, free: 12.97 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006398/0.7302, allocations: 0.9132 MB / 462.1 MB, free: 12.03 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007471/0.731, allocations: 168.5 kB / 462.2 MB, free: 11.86 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003044/0.7313, allocations: 151.3 kB / 462.4 MB, free: 11.71 MB / 394.7 MB Notification: Performance of SimCode: time 1.312e-06/0.7313, allocations: 0 / 462.4 MB, free: 11.71 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05468/0.786, allocations: 15.31 MB / 477.7 MB, free: 12.52 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003919/0.7865, allocations: 222.5 kB / 477.9 MB, free: 12.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.526/4.312, allocations: 0 / 477.9 MB, free: 12.29 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