Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.486/2.486, allocations: 235.1 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.5e-05/2.536e-05, allocations: 3.984 kB / 299.6 MB, free: 172 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.3927, allocations: 54.85 MB / 354.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1665/0.5592, allocations: 84.93 MB / 439.4 MB, free: 10.14 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003769/0.5596, allocations: 95.94 kB / 439.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06148/0.6211, allocations: 11.69 MB / 451.2 MB, free: 14.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.6212, allocations: 4 kB / 451.2 MB, free: 14.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.741e-05/0.6212, allocations: 8 kB / 451.2 MB, free: 14.24 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001015/0.6222, allocations: 0.4984 MB / 451.7 MB, free: 13.7 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.6223, allocations: 12.03 kB / 451.7 MB, free: 13.69 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.662e-05/0.6224, allocations: 31.58 kB / 451.7 MB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004102/0.6228, allocations: 244.5 kB / 452 MB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.6229, allocations: 8 kB / 452 MB, free: 13.37 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.961e-05/0.6229, allocations: 16 kB / 452 MB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007976/0.6237, allocations: 317.1 kB / 452.3 MB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007801/0.6245, allocations: 305 kB / 452.6 MB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.6246, allocations: 0 / 452.6 MB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.737e-05/0.6246, allocations: 3.953 kB / 452.6 MB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.273e-05/0.6247, allocations: 24.77 kB / 452.6 MB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00207/0.6268, allocations: 0.7487 MB / 453.4 MB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006557/0.6275, allocations: 232.3 kB / 453.6 MB, free: 11.69 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000222/0.6277, allocations: 72.86 kB / 453.7 MB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.017e-05/0.6278, allocations: 11.98 kB / 453.7 MB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.6278, allocations: 34.56 kB / 453.7 MB, free: 11.56 MB / 394.7 MB Notification: Performance of pre-optimization done (n=16): time 3.166e-06/0.6278, allocations: 4 kB / 453.7 MB, free: 11.56 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006761/0.6285, allocations: 197.7 kB / 453.9 MB, free: 11.36 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.6286, allocations: 55.41 kB / 454 MB, free: 11.29 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.6288, allocations: 169.3 kB / 454.1 MB, free: 11.12 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.6289, allocations: 25.7 kB / 454.2 MB, free: 11.09 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.629, allocations: 175.8 kB / 454.3 MB, free: 10.91 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.965e-05/0.6291, allocations: 55.25 kB / 454.4 MB, free: 10.86 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.358e-05/0.6292, allocations: 0 / 454.4 MB, free: 10.86 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.6293, allocations: 330.8 kB / 454.7 MB, free: 10.53 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002385/0.6296, allocations: 80.41 kB / 454.8 MB, free: 10.45 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000321/0.6299, allocations: 167.7 kB / 455 MB, free: 10.24 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003498/0.6303, allocations: 116.5 kB / 455.1 MB, free: 10.13 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.6303, allocations: 0 / 455.1 MB, free: 10.13 MB / 394.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008093/0.6311, allocations: 284.2 kB / 455.3 MB, free: 9.848 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.6312, allocations: 7.938 kB / 455.4 MB, free: 9.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.6312, allocations: 4 kB / 455.4 MB, free: 9.836 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.6312, allocations: 4 kB / 455.4 MB, free: 9.832 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/0.6324, allocations: 124.2 kB / 455.5 MB, free: 9.711 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002793/0.6352, allocations: 3.661 MB / 459.1 MB, free: 5.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003547/0.6356, allocations: 27.89 kB / 459.2 MB, free: 5.883 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.722e-05/0.6357, allocations: 16 kB / 459.2 MB, free: 5.867 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: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000177/0.6359, allocations: 121.3 kB / 459.3 MB, free: 5.742 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005903/0.6365, allocations: 201.3 kB / 459.5 MB, free: 5.539 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.21e-05/0.6366, allocations: 15.81 kB / 459.5 MB, free: 5.523 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009094/0.6375, allocations: 283.4 kB / 459.8 MB, free: 5.242 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.6375, allocations: 0 / 459.8 MB, free: 5.242 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.6375, allocations: 0 / 459.8 MB, free: 5.242 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.6375, allocations: 0 / 459.8 MB, free: 5.242 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005329/0.6381, allocations: 265.9 kB / 460.1 MB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.6381, allocations: 0 / 460.1 MB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.6392, allocations: 103.8 kB / 460.2 MB, free: 4.844 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.719e-06/0.6392, allocations: 4 kB / 460.2 MB, free: 4.84 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.959e-05/0.6392, allocations: 11.98 kB / 460.2 MB, free: 4.828 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002876/0.6421, allocations: 3.664 MB / 463.8 MB, free: 1.023 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.6421, allocations: 352 / 463.8 MB, free: 1.023 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000642/0.6428, allocations: 311.5 kB / 464.1 MB, free: 0.7031 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.069e-05/0.6429, allocations: 92.91 kB / 464.2 MB, free: 0.5938 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.797e-05/0.643, allocations: 0 / 464.2 MB, free: 0.5938 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002795/0.6433, allocations: 8 kB / 464.2 MB, free: 0.5859 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.321e-05/0.6434, allocations: 11.97 kB / 464.3 MB, free: 0.5742 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.702e-05/0.6434, allocations: 8 kB / 464.3 MB, free: 0.5664 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001499/0.6436, allocations: 132.3 kB / 464.4 MB, free: 448 kB / 394.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6436, allocations: 0 / 464.4 MB, free: 448 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006419/0.6442, allocations: 79.77 kB / 464.5 MB, free: 368 kB / 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3136/0.9578, allocations: 0.8779 MB / 465.3 MB, free: 103 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001509/0.9594, allocations: 257.1 kB / 465.6 MB, free: 103 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.9594, allocations: 0.5625 kB / 465.6 MB, free: 103 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.9605, allocations: 146.8 kB / 465.7 MB, free: 103 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.9609, allocations: 20.38 kB / 465.8 MB, free: 102.9 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.9626, allocations: 449.3 kB / 466.2 MB, free: 102.8 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004239/0.9631, allocations: 0.7973 MB / 467 MB, free: 102.1 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003735/0.9634, allocations: 68.44 kB / 467.1 MB, free: 102.1 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002085/0.9637, allocations: 67.47 kB / 467.1 MB, free: 102.1 MB / 394.7 MB Notification: Performance of SimCode: time 1.072e-06/0.9637, allocations: 4.281 kB / 467.1 MB, free: 102.1 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06037/1.024, allocations: 5.012 MB / 472.1 MB, free: 101.8 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000265/1.024, allocations: 190.5 kB / 472.3 MB, free: 101.6 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.925/3.949, allocations: 0.5156 kB / 472.3 MB, free: 101.6 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_turbulent_KC_res.mat does not exist to compare? outputFormat=mat