Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.403/2.403, allocations: 235 MB / 242.2 MB, free: 15.69 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.259e-05/3.257e-05, allocations: 3.938 kB / 299.5 MB, free: 6.332 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3688, allocations: 54.86 MB / 354.4 MB, free: 116 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1602/0.529, allocations: 87.06 MB / 441.4 MB, free: 8.93 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003416/0.5294, allocations: 91.92 kB / 441.5 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04773/0.5772, allocations: 10.45 MB / 452 MB, free: 14.22 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.5772, allocations: 0 / 452 MB, free: 14.22 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.041e-05/0.5773, allocations: 8 kB / 452 MB, free: 14.21 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001304/0.5786, allocations: 0.6229 MB / 452.6 MB, free: 13.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.5786, allocations: 11.97 kB / 452.6 MB, free: 13.53 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.5788, allocations: 43.44 kB / 452.7 MB, free: 13.49 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005127/0.5793, allocations: 278.5 kB / 452.9 MB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.5793, allocations: 12 kB / 452.9 MB, free: 13.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.208e-05/0.5794, allocations: 20 kB / 453 MB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008051/0.5802, allocations: 329.9 kB / 453.3 MB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/0.5813, allocations: 0.4908 MB / 453.8 MB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.5814, allocations: 0 / 453.8 MB, free: 12.31 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.176e-05/0.5814, allocations: 7.953 kB / 453.8 MB, free: 12.3 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-05/0.5815, allocations: 16.78 kB / 453.8 MB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002695/0.5842, allocations: 1.233 MB / 455 MB, free: 11 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005603/0.5848, allocations: 240.2 kB / 455.3 MB, free: 10.74 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002702/0.5851, allocations: 103.2 kB / 455.4 MB, free: 10.63 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.734e-05/0.5852, allocations: 12.08 kB / 455.4 MB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.5852, allocations: 46.45 kB / 455.4 MB, free: 10.57 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 2.885e-06/0.5852, allocations: 4 kB / 455.4 MB, free: 10.56 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008872/0.5861, allocations: 246.5 kB / 455.7 MB, free: 10.32 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.867e-05/0.5862, allocations: 106.8 kB / 455.8 MB, free: 10.19 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/0.5865, allocations: 180 kB / 455.9 MB, free: 10 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/0.5865, allocations: 29.7 kB / 456 MB, free: 9.969 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.5867, allocations: 220 kB / 456.2 MB, free: 9.75 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.983e-05/0.5868, allocations: 63.09 kB / 456.2 MB, free: 9.688 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/0.5869, allocations: 0 / 456.2 MB, free: 9.688 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.587, allocations: 330.9 kB / 456.6 MB, free: 9.355 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002771/0.5873, allocations: 100.1 kB / 456.7 MB, free: 9.254 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003209/0.5876, allocations: 130.8 kB / 456.8 MB, free: 9.109 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003336/0.588, allocations: 115.8 kB / 456.9 MB, free: 8.996 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.588, allocations: 4 kB / 456.9 MB, free: 8.992 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008533/0.5889, allocations: 278.1 kB / 457.2 MB, free: 8.715 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.5889, allocations: 4 kB / 457.2 MB, free: 8.711 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001179/0.589, allocations: 35.97 kB / 457.2 MB, free: 8.676 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-05/0.5891, allocations: 7.938 kB / 457.2 MB, free: 8.668 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004031/0.5895, allocations: 44.06 kB / 457.3 MB, free: 8.625 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.5895, allocations: 4 kB / 457.3 MB, free: 8.621 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003789/0.5899, allocations: 35.81 kB / 457.3 MB, free: 8.586 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.765e-05/0.5899, allocations: 8 kB / 457.3 MB, free: 8.578 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0001579/0.5901, allocations: 112.8 kB / 457.4 MB, free: 8.461 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008015/0.5909, allocations: 258.9 kB / 457.7 MB, free: 8.203 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.5911, allocations: 23.67 kB / 457.7 MB, free: 8.18 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.5921, allocations: 339.1 kB / 458 MB, free: 7.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.5921, allocations: 4 kB / 458 MB, free: 7.836 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.5921, allocations: 0 / 458 MB, free: 7.836 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.5922, allocations: 4 kB / 458 MB, free: 7.832 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007699/0.5929, allocations: 314 kB / 458.4 MB, free: 7.488 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001039/0.5931, allocations: 36.03 kB / 458.4 MB, free: 7.453 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003114/0.5934, allocations: 31.97 kB / 458.4 MB, free: 7.422 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.5934, allocations: 0 / 458.4 MB, free: 7.422 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.192e-05/0.5934, allocations: 12 kB / 458.4 MB, free: 7.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.593e-06/0.5935, allocations: 7.891 kB / 458.4 MB, free: 7.402 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.5935, allocations: 0 / 458.4 MB, free: 7.402 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009028/0.5944, allocations: 0.5165 MB / 459 MB, free: 6.859 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.5945, allocations: 100.8 kB / 459.1 MB, free: 6.742 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.477e-05/0.5946, allocations: 0 / 459.1 MB, free: 6.742 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004363/0.595, allocations: 31.97 kB / 459.1 MB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.5952, allocations: 19.97 kB / 459.1 MB, free: 6.691 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.084e-05/0.5952, allocations: 8 kB / 459.1 MB, free: 6.684 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001874/0.5954, allocations: 148.5 kB / 459.3 MB, free: 6.539 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5954, allocations: 0 / 459.3 MB, free: 6.539 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009019/0.5964, allocations: 143.4 kB / 459.4 MB, free: 6.398 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001564/0.5979, allocations: 1.281 MB / 460.7 MB, free: 5.082 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008816/0.5988, allocations: 467.1 kB / 461.1 MB, free: 4.57 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5989, allocations: 0 / 461.1 MB, free: 4.57 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004819/0.5994, allocations: 355.2 kB / 461.5 MB, free: 4.168 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005517/0.5999, allocations: 31.69 kB / 461.5 MB, free: 4.137 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002449/0.6024, allocations: 0.6713 MB / 462.2 MB, free: 3.418 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005521/0.603, allocations: 0.8527 MB / 463 MB, free: 2.539 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000185/0.6032, allocations: 29.19 kB / 463.1 MB, free: 2.512 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002052/0.6034, allocations: 107.3 kB / 463.2 MB, free: 2.406 MB / 394.7 MB Notification: Performance of SimCode: time 9.12e-07/0.6034, allocations: 0 / 463.2 MB, free: 2.406 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04511/0.6485, allocations: 6.177 MB / 469.3 MB, free: 12.22 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003239/0.6489, allocations: 185.2 kB / 469.5 MB, free: 12.03 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.639/3.288, allocations: 0 / 469.5 MB, free: 12.03 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat does not exist to compare? outputFormat=mat