Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.61/2.61, allocations: 235.1 MB / 242.3 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.673e-05/2.672e-05, allocations: 4 kB / 299.6 MB, free: 184 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3756, allocations: 54.86 MB / 354.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1718/0.5475, allocations: 87.61 MB / 442.1 MB, free: 7.559 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004321/0.548, allocations: 99.91 kB / 442.2 MB, free: 7.461 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05915/0.6072, allocations: 11.54 MB / 453.7 MB, free: 11.74 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.6072, allocations: 0 / 453.7 MB, free: 11.74 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.036e-05/0.6073, allocations: 8 kB / 453.7 MB, free: 11.73 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.001453/0.6087, allocations: 0.6155 MB / 454.3 MB, free: 11.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.6088, allocations: 11.97 kB / 454.3 MB, free: 11.06 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.609, allocations: 51.39 kB / 454.4 MB, free: 11.01 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005779/0.6095, allocations: 288.3 kB / 454.7 MB, free: 10.69 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.327e-05/0.6096, allocations: 16 kB / 454.7 MB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.439e-05/0.6097, allocations: 24 kB / 454.7 MB, free: 10.65 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001462/0.6112, allocations: 0.5764 MB / 455.3 MB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.6127, allocations: 0.5543 MB / 455.9 MB, free: 9.512 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/0.6127, allocations: 3.953 kB / 455.9 MB, free: 9.508 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.817e-05/0.6128, allocations: 0 / 455.9 MB, free: 9.508 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001052/0.6129, allocations: 49.28 kB / 455.9 MB, free: 9.461 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003664/0.6166, allocations: 1.226 MB / 457.1 MB, free: 8.191 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.618, allocations: 0.5085 MB / 457.6 MB, free: 7.676 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004682/0.6185, allocations: 164.7 kB / 457.8 MB, free: 7.512 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.544e-05/0.6186, allocations: 11.97 kB / 457.8 MB, free: 7.5 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.6187, allocations: 34.56 kB / 457.8 MB, free: 7.457 MB / 394.7 MB Notification: Performance of pre-optimization done (n=37): time 3.437e-06/0.6187, allocations: 0 / 457.8 MB, free: 7.457 MB / 394.7 MB Notification: Performance of matching and sorting (n=37): time 0.001323/0.62, allocations: 401.4 kB / 458.2 MB, free: 7.059 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.6201, allocations: 55.41 kB / 458.3 MB, free: 6.992 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002522/0.6203, allocations: 173.2 kB / 458.5 MB, free: 6.816 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.564e-05/0.6204, allocations: 25.7 kB / 458.5 MB, free: 6.785 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/0.6206, allocations: 228.3 kB / 458.7 MB, free: 6.559 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/0.6208, allocations: 126.1 kB / 458.8 MB, free: 6.434 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.171e-05/0.6208, allocations: 3.938 kB / 458.8 MB, free: 6.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.621, allocations: 334.8 kB / 459.2 MB, free: 6.094 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004655/0.6215, allocations: 160.7 kB / 459.3 MB, free: 5.938 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000566/0.6221, allocations: 246.5 kB / 459.6 MB, free: 5.656 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005844/0.6227, allocations: 199.8 kB / 459.8 MB, free: 5.461 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.6227, allocations: 0 / 459.8 MB, free: 5.461 MB / 394.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001469/0.6242, allocations: 488.3 kB / 460.2 MB, free: 4.977 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.6242, allocations: 8 kB / 460.2 MB, free: 4.969 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.6242, allocations: 4 kB / 460.2 MB, free: 4.965 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-05/0.6243, allocations: 4 kB / 460.2 MB, free: 4.961 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00224/0.6265, allocations: 207.7 kB / 460.4 MB, free: 4.758 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3238/0.9503, allocations: 7.32 MB / 467.8 MB, free: 97.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000563/0.951, allocations: 28.84 kB / 467.8 MB, free: 97.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.938e-05/0.9511, allocations: 21.69 kB / 467.8 MB, free: 97.75 MB / 394.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 (49): * 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): 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.0002075/0.9513, allocations: 125.3 kB / 467.9 MB, free: 97.65 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001453/0.9527, allocations: 398.6 kB / 468.3 MB, free: 97.62 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.751e-05/0.9529, allocations: 27.25 kB / 468.4 MB, free: 97.62 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001986/0.9549, allocations: 0.5413 MB / 468.9 MB, free: 97.55 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.9549, allocations: 4.031 kB / 468.9 MB, free: 97.55 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.475e-06/0.9549, allocations: 1.438 kB / 468.9 MB, free: 97.55 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.9549, allocations: 1.969 kB / 468.9 MB, free: 97.55 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.956, allocations: 379.8 kB / 469.3 MB, free: 97.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.956, allocations: 4.281 kB / 469.3 MB, free: 97.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002171/0.9582, allocations: 196 kB / 469.5 MB, free: 97.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-05/0.9582, allocations: 2.219 kB / 469.5 MB, free: 97.39 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-05/0.9583, allocations: 11.33 kB / 469.5 MB, free: 97.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004519/0.9628, allocations: 7.324 MB / 476.8 MB, free: 90.37 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/0.9629, allocations: 1.562 kB / 476.8 MB, free: 90.37 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.9642, allocations: 0.4963 MB / 477.3 MB, free: 90.22 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.149e-05/0.9643, allocations: 98.36 kB / 477.4 MB, free: 90.12 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.772e-05/0.9644, allocations: 1.875 kB / 477.4 MB, free: 90.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004358/0.9649, allocations: 13.56 kB / 477.4 MB, free: 90.12 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.965, allocations: 32.41 kB / 477.4 MB, free: 90.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-05/0.9651, allocations: 17.64 kB / 477.5 MB, free: 90.12 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000143/0.9652, allocations: 128.6 kB / 477.6 MB, free: 90.04 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.9653, allocations: 2.078 kB / 477.6 MB, free: 90.04 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009182/0.9662, allocations: 150.7 kB / 477.7 MB, free: 90.03 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.001824/0.968, allocations: 1.133 MB / 478.9 MB, free: 89.35 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002489/0.9705, allocations: 498.6 kB / 479.4 MB, free: 89.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.237e-06/0.9706, allocations: 3.625 kB / 479.4 MB, free: 89.34 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001781/0.9724, allocations: 307.4 kB / 479.7 MB, free: 89.34 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004018/0.9728, allocations: 24.94 kB / 479.7 MB, free: 89.34 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/0.975, allocations: 0.7541 MB / 480.4 MB, free: 89.11 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004157/0.9755, allocations: 0.8908 MB / 481.3 MB, free: 88.41 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005171/0.976, allocations: 112.5 kB / 481.4 MB, free: 88.41 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/0.9763, allocations: 124.8 kB / 481.6 MB, free: 88.4 MB / 394.7 MB Notification: Performance of SimCode: time 1.142e-06/0.9763, allocations: 0 / 481.6 MB, free: 88.4 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05061/1.027, allocations: 8.015 MB / 489.6 MB, free: 85.35 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002559/1.027, allocations: 200 kB / 489.8 MB, free: 85.16 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.041/4.068, allocations: 0 / 489.8 MB, free: 85.16 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_laminar_KC_res.mat does not exist to compare? outputFormat=mat