Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.056/2.056, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.005e-05/5.042e-05, allocations: 8 kB / 273.2 MB, free: 120 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1202, allocations: 48.7 MB / 321.9 MB, free: 15.32 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4311/0.5514, allocations: 81.43 MB / 403.3 MB, free: 8.07 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003794/0.5518, allocations: 99.92 kB / 403.4 MB, free: 7.973 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05007/0.6019, allocations: 10.6 MB / 414 MB, free: 13.22 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.6019, allocations: 0 / 414 MB, free: 13.22 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.02e-05/0.602, allocations: 4 kB / 414 MB, free: 13.22 MB / 346.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.001424/0.6034, allocations: 0.6114 MB / 414.6 MB, free: 12.56 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.819e-05/0.6035, allocations: 12.03 kB / 414.7 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001623/0.6036, allocations: 86.5 kB / 414.7 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001221/0.6038, allocations: 43.44 kB / 414.8 MB, free: 12.41 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005539/0.6043, allocations: 290.3 kB / 415.1 MB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.876e-05/0.6044, allocations: 28.78 kB / 415.1 MB, free: 12.06 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.208e-05/0.6045, allocations: 40 kB / 415.1 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/0.6058, allocations: 0.5316 MB / 415.7 MB, free: 11.47 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.6059, allocations: 4 kB / 415.7 MB, free: 11.47 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.568e-05/0.606, allocations: 12 kB / 415.7 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-05/0.606, allocations: 20.78 kB / 415.7 MB, free: 11.44 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001578/0.6076, allocations: 365.2 kB / 416.1 MB, free: 11.08 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005261/0.6129, allocations: 1.409 MB / 417.5 MB, free: 9.605 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/0.6142, allocations: 235.7 kB / 417.7 MB, free: 9.348 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006255/0.6148, allocations: 110.4 kB / 417.8 MB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.615, allocations: 12.09 kB / 417.8 MB, free: 9.219 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.339e-05/0.6151, allocations: 38.5 kB / 417.9 MB, free: 9.172 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 5.53e-06/0.6151, allocations: 0 / 417.9 MB, free: 9.172 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.001566/0.6167, allocations: 280.9 kB / 418.1 MB, free: 8.891 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.32e-05/0.6168, allocations: 102.8 kB / 418.2 MB, free: 8.766 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001579/0.6184, allocations: 459 kB / 418.7 MB, free: 8.316 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.6185, allocations: 25.7 kB / 418.7 MB, free: 8.285 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003202/0.6189, allocations: 204.4 kB / 418.9 MB, free: 8.082 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.619, allocations: 59.19 kB / 419 MB, free: 8.023 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.211e-05/0.6191, allocations: 4 kB / 419 MB, free: 8.02 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002595/0.6194, allocations: 350.8 kB / 419.3 MB, free: 7.668 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005118/0.6199, allocations: 92.11 kB / 419.4 MB, free: 7.574 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004766/0.6204, allocations: 145.4 kB / 419.5 MB, free: 7.414 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003764/0.6208, allocations: 115.8 kB / 419.7 MB, free: 7.301 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.6208, allocations: 0 / 419.7 MB, free: 7.301 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001049/0.6219, allocations: 313.6 kB / 420 MB, free: 6.988 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.6219, allocations: 4 kB / 420 MB, free: 6.984 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001512/0.6221, allocations: 36.12 kB / 420 MB, free: 6.949 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/0.6221, allocations: 0 / 420 MB, free: 6.949 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005938/0.6228, allocations: 43.91 kB / 420 MB, free: 6.906 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.225e-05/0.6228, allocations: 7.953 kB / 420.1 MB, free: 6.898 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008322/0.6237, allocations: 63.41 kB / 420.1 MB, free: 6.836 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.587e-05/0.6238, allocations: 12 kB / 420.1 MB, free: 6.824 MB / 346.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.0002016/0.624, allocations: 116.9 kB / 420.2 MB, free: 6.703 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002319/0.6242, allocations: 43.52 kB / 420.3 MB, free: 6.66 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001812/0.6261, allocations: 360.7 kB / 420.6 MB, free: 6.301 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.567e-05/0.6261, allocations: 7.984 kB / 420.6 MB, free: 6.293 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/0.6262, allocations: 0 / 420.6 MB, free: 6.293 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.6262, allocations: 11.95 kB / 420.7 MB, free: 6.281 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001427/0.6276, allocations: 361.3 kB / 421 MB, free: 5.879 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001522/0.6278, allocations: 31.97 kB / 421 MB, free: 5.848 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005025/0.6284, allocations: 27.97 kB / 421.1 MB, free: 5.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/0.6284, allocations: 0 / 421.1 MB, free: 5.82 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-05/0.6285, allocations: 12 kB / 421.1 MB, free: 5.809 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.104e-05/0.6285, allocations: 7.922 kB / 421.1 MB, free: 5.801 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.665e-06/0.6285, allocations: 4 kB / 421.1 MB, free: 5.797 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/0.6301, allocations: 0.5441 MB / 421.6 MB, free: 5.223 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005333/0.6307, allocations: 164.5 kB / 421.8 MB, free: 5.043 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/0.6309, allocations: 0 / 421.8 MB, free: 5.043 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008669/0.6318, allocations: 35.92 kB / 421.8 MB, free: 5.008 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/0.632, allocations: 19.97 kB / 421.8 MB, free: 4.988 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.153e-05/0.6321, allocations: 16 kB / 421.9 MB, free: 4.973 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001154/0.6333, allocations: 369.1 kB / 422.2 MB, free: 4.613 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.453e-06/0.6333, allocations: 0 / 422.2 MB, free: 4.613 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00144/0.6348, allocations: 115.9 kB / 422.3 MB, free: 4.5 MB / 346.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.002702/0.6375, allocations: 1.323 MB / 423.7 MB, free: 3.145 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001614/0.6392, allocations: 467.3 kB / 424.1 MB, free: 2.633 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.6393, allocations: 3.938 kB / 424.1 MB, free: 2.629 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009391/0.6402, allocations: 351.5 kB / 424.5 MB, free: 2.23 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/0.6417, allocations: 97.41 kB / 424.6 MB, free: 2.141 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004389/0.6462, allocations: 0.7344 MB / 425.3 MB, free: 1.363 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008277/0.6471, allocations: 0.8539 MB / 426.1 MB, free: 496 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005275/0.6476, allocations: 67.23 kB / 426.2 MB, free: 424 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003341/0.648, allocations: 107.4 kB / 426.3 MB, free: 316 kB / 346.7 MB Notification: Performance of SimCode: time 1.793e-06/0.648, allocations: 0 / 426.3 MB, free: 316 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05074/0.6988, allocations: 10.77 MB / 437.1 MB, free: 5.648 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004566/0.6993, allocations: 197.6 kB / 437.3 MB, free: 5.418 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.943/3.643, allocations: 4 kB / 437.3 MB, free: 5.414 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat does not exist to compare? outputFormat=mat