Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_overall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.533/2.533, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.034e-05/4.045e-05, allocations: 4 kB / 305 MB, free: 5.551 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4237/0.4238, allocations: 54.86 MB / 359.9 MB, free: 2.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1674/0.5912, allocations: 87.32 MB / 447.2 MB, free: 9.551 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004277/0.5917, allocations: 87.94 kB / 447.3 MB, free: 9.465 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04567/0.6374, allocations: 8.96 MB / 456.2 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.6375, allocations: 0 / 456.2 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.416e-05/0.6375, allocations: 0 / 456.2 MB, free: 0.5117 MB / 378.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.001302/0.6388, allocations: 0.502 MB / 456.7 MB, free: 15.96 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/0.6389, allocations: 11.97 kB / 456.8 MB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.749e-05/0.639, allocations: 54.48 kB / 456.8 MB, free: 15.89 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.091e-05/0.6391, allocations: 23.72 kB / 456.8 MB, free: 15.86 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003633/0.6395, allocations: 214.8 kB / 457 MB, free: 15.61 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.6395, allocations: 8.234 kB / 457.1 MB, free: 15.61 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.774e-05/0.6395, allocations: 12 kB / 457.1 MB, free: 15.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006272/0.6402, allocations: 230.4 kB / 457.3 MB, free: 15.35 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.6402, allocations: 0 / 457.3 MB, free: 15.35 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.698e-05/0.6403, allocations: 11.95 kB / 457.3 MB, free: 15.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.643e-05/0.6403, allocations: 12.23 kB / 457.3 MB, free: 15.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005066/0.6408, allocations: 168.3 kB / 457.5 MB, free: 15.16 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/0.6426, allocations: 0.8102 MB / 458.3 MB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003962/0.6431, allocations: 161.8 kB / 458.4 MB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/0.6433, allocations: 78.72 kB / 458.5 MB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.248e-05/0.6434, allocations: 11.89 kB / 458.5 MB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.6434, allocations: 42.48 kB / 458.6 MB, free: 13.96 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 4.048e-06/0.6434, allocations: 0 / 458.6 MB, free: 13.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.000709/0.6442, allocations: 173.2 kB / 458.7 MB, free: 13.78 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.926e-05/0.6442, allocations: 102.8 kB / 458.8 MB, free: 13.66 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004217/0.6447, allocations: 236.8 kB / 459.1 MB, free: 13.42 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.6447, allocations: 33.77 kB / 459.1 MB, free: 13.38 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.6449, allocations: 186.8 kB / 459.3 MB, free: 13.2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.913e-05/0.645, allocations: 35.45 kB / 459.3 MB, free: 13.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.241e-05/0.645, allocations: 4 kB / 459.3 MB, free: 13.16 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.6452, allocations: 318.8 kB / 459.6 MB, free: 12.84 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/0.6454, allocations: 59.95 kB / 459.7 MB, free: 12.78 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002598/0.6457, allocations: 105.9 kB / 459.8 MB, free: 12.66 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/0.6459, allocations: 75.95 kB / 459.9 MB, free: 12.58 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.646, allocations: 0 / 459.9 MB, free: 12.58 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006682/0.6466, allocations: 213.4 kB / 460.1 MB, free: 12.37 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.6467, allocations: 13.75 kB / 460.1 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-05/0.6467, allocations: 4 kB / 460.1 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/0.6468, allocations: 4 kB / 460.1 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005001/0.6473, allocations: 47.89 kB / 460.2 MB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.6473, allocations: 0 / 460.2 MB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004809/0.6478, allocations: 43.81 kB / 460.2 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.761e-05/0.6479, allocations: 8 kB / 460.2 MB, free: 12.25 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 (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.0001375/0.648, allocations: 112.9 kB / 460.3 MB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.6481, allocations: 19.77 kB / 460.3 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006538/0.6488, allocations: 191.4 kB / 460.5 MB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.6488, allocations: 4 kB / 460.5 MB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.6488, allocations: 0 / 460.5 MB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.6489, allocations: 7.984 kB / 460.5 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006234/0.6495, allocations: 261.4 kB / 460.8 MB, free: 11.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.13e-05/0.6495, allocations: 11.98 kB / 460.8 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003968/0.6499, allocations: 31.97 kB / 460.8 MB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.281e-05/0.65, allocations: 4 kB / 460.8 MB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.222e-05/0.65, allocations: 11.94 kB / 460.8 MB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.65, allocations: 0 / 460.8 MB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/0.65, allocations: 0 / 460.8 MB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007204/0.6508, allocations: 458.1 kB / 461.3 MB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.6509, allocations: 96.83 kB / 461.4 MB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.778e-05/0.651, allocations: 4 kB / 461.4 MB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004824/0.6515, allocations: 27.97 kB / 461.4 MB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.704e-05/0.6516, allocations: 15.98 kB / 461.4 MB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.918e-05/0.6516, allocations: 7.984 kB / 461.4 MB, free: 10.9 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003131/0.652, allocations: 185.5 kB / 461.6 MB, free: 10.72 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.652, allocations: 3.938 kB / 461.6 MB, free: 10.72 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007924/0.6528, allocations: 95.86 kB / 461.7 MB, free: 10.62 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): 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.001587/0.6544, allocations: 1.243 MB / 463 MB, free: 9.344 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006348/0.6551, allocations: 220.9 kB / 463.2 MB, free: 9.109 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.6551, allocations: 4 kB / 463.2 MB, free: 9.105 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003002/0.6554, allocations: 149 kB / 463.3 MB, free: 8.941 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006354/0.6561, allocations: 43.33 kB / 463.4 MB, free: 8.902 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.6579, allocations: 429 kB / 463.8 MB, free: 8.438 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004556/0.6584, allocations: 0.7478 MB / 464.5 MB, free: 7.664 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002018/0.6586, allocations: 59.34 kB / 464.6 MB, free: 7.605 MB / 394.7 MB Notification: Performance of SimCode: time 1.924e-06/0.6586, allocations: 0 / 464.6 MB, free: 7.605 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.832/3.491, allocations: 4.877 MB / 469.5 MB, free: 2.746 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_res.mat does not exist to compare? outputFormat=mat