Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.144/2.144, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.722e-05/3.733e-05, allocations: 0 / 273.2 MB, free: 0.6172 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1042, allocations: 48.7 MB / 321.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.428/0.5323, allocations: 79.35 MB / 401.2 MB, free: 10.55 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000374/0.5327, allocations: 95.92 kB / 401.3 MB, free: 10.46 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0363/0.569, allocations: 7.473 MB / 408.8 MB, free: 2.949 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.5691, allocations: 0 / 408.8 MB, free: 2.949 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.5691, allocations: 0 / 408.8 MB, free: 2.949 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001086/0.5702, allocations: 490.1 kB / 409.2 MB, free: 2.422 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.5703, allocations: 12.03 kB / 409.3 MB, free: 2.41 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.445e-05/0.5703, allocations: 46.53 kB / 409.3 MB, free: 2.355 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.592e-05/0.5704, allocations: 23.72 kB / 409.3 MB, free: 2.332 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003393/0.5708, allocations: 218.7 kB / 409.5 MB, free: 2.078 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.5708, allocations: 12.23 kB / 409.6 MB, free: 2.066 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.168e-05/0.5709, allocations: 4 kB / 409.6 MB, free: 2.062 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005747/0.5714, allocations: 246.7 kB / 409.8 MB, free: 1.801 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.5715, allocations: 0 / 409.8 MB, free: 1.801 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.84e-05/0.5715, allocations: 0 / 409.8 MB, free: 1.801 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.66e-05/0.5716, allocations: 16.22 kB / 409.8 MB, free: 1.785 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005066/0.5721, allocations: 168.5 kB / 410 MB, free: 1.621 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.5737, allocations: 0.8218 MB / 410.8 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003842/0.5741, allocations: 159.7 kB / 411 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.5743, allocations: 82.53 kB / 411 MB, free: 476 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.394e-05/0.5744, allocations: 3.984 kB / 411 MB, free: 472 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.5744, allocations: 38.69 kB / 411.1 MB, free: 424 kB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 2.415e-06/0.5745, allocations: 0 / 411.1 MB, free: 424 kB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006454/0.5751, allocations: 173.2 kB / 411.2 MB, free: 244 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.5752, allocations: 118.9 kB / 411.4 MB, free: 100 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004088/0.5756, allocations: 237 kB / 411.6 MB, free: 15.86 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.5757, allocations: 25.7 kB / 411.6 MB, free: 15.83 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.5758, allocations: 190.3 kB / 411.8 MB, free: 15.64 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.368e-05/0.5759, allocations: 39.45 kB / 411.8 MB, free: 15.61 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.393e-05/0.5759, allocations: 4 kB / 411.9 MB, free: 15.6 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.576, allocations: 318.8 kB / 412.2 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.5763, allocations: 67.88 kB / 412.2 MB, free: 15.21 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/0.5765, allocations: 109.1 kB / 412.3 MB, free: 15.09 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.5768, allocations: 75.92 kB / 412.4 MB, free: 15.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.5768, allocations: 0 / 412.4 MB, free: 15.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006089/0.5774, allocations: 209.3 kB / 412.6 MB, free: 14.8 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.5775, allocations: 8 kB / 412.6 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.786e-05/0.5775, allocations: 7.984 kB / 412.6 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.5775, allocations: 4 kB / 412.6 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004707/0.578, allocations: 43.95 kB / 412.7 MB, free: 14.74 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.578, allocations: 4.156 kB / 412.7 MB, free: 14.74 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004124/0.5785, allocations: 39.78 kB / 412.7 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.434e-05/0.5785, allocations: 11.98 kB / 412.7 MB, free: 14.69 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 (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001172/0.5786, allocations: 112.9 kB / 412.8 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.5787, allocations: 15.81 kB / 412.9 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006193/0.5794, allocations: 211.2 kB / 413.1 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.5794, allocations: 4 kB / 413.1 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/0.5794, allocations: 0 / 413.1 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.5794, allocations: 96 / 413.1 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005928/0.58, allocations: 265.4 kB / 413.3 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-05/0.5801, allocations: 11.97 kB / 413.3 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003623/0.5805, allocations: 35.97 kB / 413.4 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-06/0.5805, allocations: 0 / 413.4 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.075e-05/0.5805, allocations: 8 kB / 413.4 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.5805, allocations: 3.984 kB / 413.4 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.5805, allocations: 3.938 kB / 413.4 MB, free: 13.97 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006591/0.5812, allocations: 445.2 kB / 413.8 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001894/0.5814, allocations: 124.8 kB / 413.9 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.424e-05/0.5815, allocations: 4 kB / 413.9 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004428/0.5819, allocations: 23.97 kB / 414 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.18e-05/0.5821, allocations: 15.94 kB / 414 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.111e-05/0.5821, allocations: 8 kB / 414 MB, free: 13.31 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002923/0.5824, allocations: 189.3 kB / 414.2 MB, free: 13.12 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5824, allocations: 4 kB / 414.2 MB, free: 13.12 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006092/0.583, allocations: 75.92 kB / 414.3 MB, free: 13.05 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0013/0.5843, allocations: 1.176 MB / 415.4 MB, free: 11.84 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000603/0.585, allocations: 232.9 kB / 415.7 MB, free: 11.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.585, allocations: 0 / 415.7 MB, free: 11.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002819/0.5853, allocations: 153 kB / 415.8 MB, free: 11.42 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005405/0.5858, allocations: 41.16 kB / 415.9 MB, free: 11.38 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.5875, allocations: 427 kB / 416.3 MB, free: 10.92 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004312/0.5879, allocations: 0.7439 MB / 417 MB, free: 10.15 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002091/0.5882, allocations: 55.41 kB / 417.1 MB, free: 10.1 MB / 346.7 MB Notification: Performance of SimCode: time 8.42e-07/0.5882, allocations: 0 / 417.1 MB, free: 10.1 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.551/3.139, allocations: 4.429 MB / 421.5 MB, free: 5.672 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat does not exist to compare? outputFormat=mat