Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.537/2.537, allocations: 235.1 MB / 242.3 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.958e-05/2.953e-05, allocations: 0 / 299.6 MB, free: 196 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3983/0.3984, allocations: 54.86 MB / 354.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1706/0.5691, allocations: 86.89 MB / 441.4 MB, free: 8.191 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004036/0.5696, allocations: 91.94 kB / 441.4 MB, free: 8.102 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06902/0.6386, allocations: 13.2 MB / 454.6 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.6387, allocations: 0 / 454.6 MB, free: 10.8 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.827e-05/0.6387, allocations: 4 kB / 454.6 MB, free: 10.8 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001311/0.64, allocations: 0.5644 MB / 455.2 MB, free: 10.19 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.6401, allocations: 8.031 kB / 455.2 MB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.6402, allocations: 31.62 kB / 455.2 MB, free: 10.15 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004549/0.6407, allocations: 258.5 kB / 455.5 MB, free: 9.855 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.6407, allocations: 8 kB / 455.5 MB, free: 9.848 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.417e-05/0.6408, allocations: 16 kB / 455.5 MB, free: 9.832 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000686/0.6415, allocations: 229.2 kB / 455.7 MB, free: 9.609 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009047/0.6424, allocations: 373.6 kB / 456.1 MB, free: 9.223 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.6424, allocations: 0 / 456.1 MB, free: 9.223 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.015e-05/0.6425, allocations: 0 / 456.1 MB, free: 9.223 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-05/0.6426, allocations: 16.56 kB / 456.1 MB, free: 9.207 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002333/0.6449, allocations: 1.01 MB / 457.1 MB, free: 8.145 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005505/0.6455, allocations: 207.8 kB / 457.3 MB, free: 7.914 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002411/0.6457, allocations: 74.53 kB / 457.4 MB, free: 7.832 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.082e-05/0.6458, allocations: 11.98 kB / 457.4 MB, free: 7.82 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.6459, allocations: 38.5 kB / 457.5 MB, free: 7.773 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 2.986e-06/0.6459, allocations: 0 / 457.5 MB, free: 7.773 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007372/0.6466, allocations: 193.4 kB / 457.6 MB, free: 7.578 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.777e-05/0.6467, allocations: 106.8 kB / 457.8 MB, free: 7.449 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003549/0.6471, allocations: 223.7 kB / 458 MB, free: 7.227 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/0.6471, allocations: 25.77 kB / 458 MB, free: 7.195 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.6473, allocations: 203.6 kB / 458.2 MB, free: 6.992 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.485e-05/0.6474, allocations: 47.34 kB / 458.2 MB, free: 6.945 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.824e-05/0.6475, allocations: 0 / 458.2 MB, free: 6.945 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.6476, allocations: 330.8 kB / 458.6 MB, free: 6.613 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000271/0.6479, allocations: 80.17 kB / 458.6 MB, free: 6.531 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003846/0.6483, allocations: 203.5 kB / 458.8 MB, free: 6.277 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003565/0.6487, allocations: 115.9 kB / 459 MB, free: 6.164 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.6487, allocations: 0 / 459 MB, free: 6.164 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009562/0.6497, allocations: 312.8 kB / 459.3 MB, free: 5.852 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.6497, allocations: 8 kB / 459.3 MB, free: 5.844 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.573e-05/0.6498, allocations: 20.52 kB / 459.3 MB, free: 5.824 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.681e-05/0.6498, allocations: 11.98 kB / 459.3 MB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005098/0.6504, allocations: 51.91 kB / 459.3 MB, free: 5.762 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.965e-05/0.6504, allocations: 15.92 kB / 459.4 MB, free: 5.746 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004927/0.6509, allocations: 43.72 kB / 459.4 MB, free: 5.703 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.555e-05/0.651, allocations: 15.98 kB / 459.4 MB, free: 5.688 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001484/0.6511, allocations: 122.8 kB / 459.5 MB, free: 5.562 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006621/0.6518, allocations: 193.2 kB / 459.7 MB, free: 5.367 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.6519, allocations: 19.81 kB / 459.8 MB, free: 5.348 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008431/0.6528, allocations: 255.2 kB / 460 MB, free: 5.094 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/0.6528, allocations: 11.94 kB / 460 MB, free: 5.082 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.6529, allocations: 0 / 460 MB, free: 5.082 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.6529, allocations: 3.984 kB / 460 MB, free: 5.078 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007195/0.6536, allocations: 262.1 kB / 460.3 MB, free: 4.785 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.84e-05/0.6537, allocations: 19.98 kB / 460.3 MB, free: 4.766 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000325/0.654, allocations: 27.97 kB / 460.3 MB, free: 4.738 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-05/0.6541, allocations: 8 kB / 460.3 MB, free: 4.73 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.326e-05/0.6541, allocations: 7.984 kB / 460.3 MB, free: 4.723 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.155e-06/0.6541, allocations: 0 / 460.3 MB, free: 4.723 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.6541, allocations: 0 / 460.3 MB, free: 4.723 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007294/0.6549, allocations: 469.2 kB / 460.8 MB, free: 4.234 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.332e-05/0.655, allocations: 96.86 kB / 460.9 MB, free: 4.121 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.995e-05/0.6551, allocations: 7.938 kB / 460.9 MB, free: 4.113 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004824/0.6556, allocations: 19.98 kB / 460.9 MB, free: 4.094 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.6557, allocations: 19.97 kB / 460.9 MB, free: 4.074 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.538e-05/0.6557, allocations: 8 kB / 460.9 MB, free: 4.066 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000238/0.656, allocations: 164.5 kB / 461.1 MB, free: 3.91 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.656, allocations: 8 kB / 461.1 MB, free: 3.902 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009468/0.657, allocations: 103.7 kB / 461.2 MB, free: 3.801 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001535/0.6585, allocations: 1.215 MB / 462.4 MB, free: 2.547 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008292/0.6594, allocations: 362.1 kB / 462.8 MB, free: 2.156 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.6594, allocations: 0 / 462.8 MB, free: 2.156 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003991/0.6598, allocations: 242.2 kB / 463 MB, free: 1.883 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005826/0.6604, allocations: 24.64 kB / 463 MB, free: 1.859 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/0.6625, allocations: 0.4983 MB / 463.5 MB, free: 1.32 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005285/0.663, allocations: 0.8021 MB / 464.3 MB, free: 0.4922 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000291/0.6633, allocations: 49.8 kB / 464.4 MB, free: 456 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000192/0.6635, allocations: 79.41 kB / 464.5 MB, free: 376 kB / 394.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6635, allocations: 0 / 464.5 MB, free: 376 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3752/1.039, allocations: 5.623 MB / 470.1 MB, free: 99.96 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003657/1.039, allocations: 190.7 kB / 470.3 MB, free: 99.77 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.861/3.9, allocations: 3.625 kB / 470.3 MB, free: 99.77 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_res.mat does not exist to compare? outputFormat=mat