Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.501/2.501, allocations: 235 MB / 247.2 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.656e-05/3.66e-05, allocations: 4 kB / 305.1 MB, free: 5.051 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4323/0.4323, allocations: 54.86 MB / 359.9 MB, free: 2.812 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1956/0.628, allocations: 88.28 MB / 448.2 MB, free: 8.52 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004842/0.6285, allocations: 97.05 kB / 448.3 MB, free: 8.426 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06841/0.697, allocations: 11.71 MB / 460 MB, free: 12.58 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.697, allocations: 0 / 460 MB, free: 12.58 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.418e-05/0.6971, allocations: 8 kB / 460 MB, free: 12.57 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001572/0.6987, allocations: 0.6075 MB / 460.6 MB, free: 11.92 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/0.6987, allocations: 11.97 kB / 460.6 MB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001983/0.6989, allocations: 102.5 kB / 460.7 MB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/0.6991, allocations: 48.47 kB / 460.8 MB, free: 11.75 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005844/0.6997, allocations: 292.2 kB / 461.1 MB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.795e-05/0.6998, allocations: 37 kB / 461.1 MB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.6999, allocations: 43.98 kB / 461.1 MB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.7014, allocations: 0.6114 MB / 461.8 MB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.7015, allocations: 7.953 kB / 461.8 MB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.275e-05/0.7016, allocations: 20 kB / 461.8 MB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.73e-05/0.7017, allocations: 41.28 kB / 461.8 MB, free: 10.66 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001656/0.7034, allocations: 0.6506 MB / 462.5 MB, free: 10.01 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003724/0.7071, allocations: 1.375 MB / 463.8 MB, free: 8.578 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.7084, allocations: 427.7 kB / 464.3 MB, free: 8.152 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004088/0.7088, allocations: 142.7 kB / 464.4 MB, free: 8.012 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.803e-05/0.7089, allocations: 20.2 kB / 464.4 MB, free: 7.992 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.7089, allocations: 34.78 kB / 464.5 MB, free: 7.949 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 3.006e-06/0.709, allocations: 0 / 464.5 MB, free: 7.949 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.001199/0.7102, allocations: 366.8 kB / 464.8 MB, free: 7.586 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.7102, allocations: 55.41 kB / 464.9 MB, free: 7.52 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008696/0.7111, allocations: 446.6 kB / 465.3 MB, free: 7.078 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.807e-05/0.7112, allocations: 29.7 kB / 465.3 MB, free: 7.043 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000219/0.7114, allocations: 220.2 kB / 465.5 MB, free: 6.824 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.7116, allocations: 94.64 kB / 465.6 MB, free: 6.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.7116, allocations: 8 kB / 465.6 MB, free: 6.723 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.7118, allocations: 350.8 kB / 466 MB, free: 6.371 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004216/0.7123, allocations: 140.5 kB / 466.1 MB, free: 6.23 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005167/0.7128, allocations: 232 kB / 466.4 MB, free: 5.965 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005222/0.7133, allocations: 167.8 kB / 466.5 MB, free: 5.801 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.7134, allocations: 0 / 466.5 MB, free: 5.801 MB / 394.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001316/0.7147, allocations: 458.1 kB / 467 MB, free: 5.348 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/0.7147, allocations: 12.03 kB / 467 MB, free: 5.336 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.7148, allocations: 4 kB / 467 MB, free: 5.332 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.7148, allocations: 4 kB / 467 MB, free: 5.328 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001842/0.7166, allocations: 195.8 kB / 467.2 MB, free: 5.137 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005637/0.7223, allocations: 7.29 MB / 474.5 MB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006451/0.723, allocations: 59.3 kB / 474.5 MB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.716e-05/0.7231, allocations: 23.98 kB / 474.5 MB, free: 13.48 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 28 * 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.0002129/0.7233, allocations: 125.8 kB / 474.7 MB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.7235, allocations: 51.39 kB / 474.7 MB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001631/0.7251, allocations: 0.5114 MB / 475.2 MB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.7251, allocations: 0 / 475.2 MB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.7252, allocations: 4 kB / 475.2 MB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.7252, allocations: 0 / 475.2 MB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009808/0.7262, allocations: 405.2 kB / 475.6 MB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.7262, allocations: 4 kB / 475.6 MB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001778/0.728, allocations: 199.7 kB / 475.8 MB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.089e-05/0.728, allocations: 0 / 475.8 MB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.536e-05/0.7281, allocations: 19.98 kB / 475.9 MB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005422/0.7336, allocations: 7.279 MB / 483.1 MB, free: 4.562 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.7336, allocations: 0 / 483.1 MB, free: 4.562 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.7348, allocations: 475.7 kB / 483.6 MB, free: 4.082 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002031/0.735, allocations: 124.6 kB / 483.7 MB, free: 3.941 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.734e-05/0.7351, allocations: 4 kB / 483.7 MB, free: 3.938 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004414/0.7356, allocations: 15.98 kB / 483.7 MB, free: 3.922 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.7357, allocations: 19.97 kB / 483.8 MB, free: 3.902 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.315e-05/0.7358, allocations: 15.98 kB / 483.8 MB, free: 3.887 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006512/0.7364, allocations: 349.1 kB / 484.1 MB, free: 3.547 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.7365, allocations: 4 kB / 484.1 MB, free: 3.543 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008221/0.7373, allocations: 131.8 kB / 484.2 MB, free: 3.414 MB / 410.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.001925/0.7392, allocations: 1.098 MB / 485.3 MB, free: 2.293 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002332/0.7416, allocations: 451.4 kB / 485.8 MB, free: 1.852 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.7417, allocations: 0.75 kB / 485.8 MB, free: 1.852 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001718/0.7434, allocations: 287.6 kB / 486.1 MB, free: 1.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008451/0.7443, allocations: 106.5 kB / 486.2 MB, free: 1.469 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002529/0.7468, allocations: 0.7659 MB / 486.9 MB, free: 0.6641 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006567/0.7475, allocations: 0.8895 MB / 487.8 MB, free: 15.75 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006017/0.7482, allocations: 140 kB / 488 MB, free: 15.61 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000274/0.7484, allocations: 131.3 kB / 488.1 MB, free: 15.48 MB / 426.7 MB Notification: Performance of SimCode: time 9.92e-07/0.7485, allocations: 0 / 488.1 MB, free: 15.48 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05286/0.8013, allocations: 12.81 MB / 0.4892 GB, free: 2.746 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003477/0.8017, allocations: 218.4 kB / 0.4894 GB, free: 2.523 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.125/3.927, allocations: 0 / 0.4894 GB, free: 2.523 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat