Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.916/1.916, allocations: 209.3 MB / 221.9 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.558e-05/3.585e-05, allocations: 4 kB / 273.2 MB, free: 0.6094 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1016, allocations: 48.69 MB / 321.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9196/1.021, allocations: 230.5 MB / 0.5394 GB, free: 106.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/1.022, allocations: 88.78 kB / 0.5395 GB, free: 106.4 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.291/2.312, allocations: 280.9 MB / 0.8138 GB, free: 4.414 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.324e-06/2.312, allocations: 0 / 0.8138 GB, free: 4.414 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.247e-05/2.313, allocations: 24.2 kB / 0.8138 GB, free: 4.391 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.004927/2.317, allocations: 1.507 MB / 0.8153 GB, free: 2.836 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/2.318, allocations: 12.03 kB / 0.8153 GB, free: 2.824 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001962/2.318, allocations: 102.5 kB / 0.8154 GB, free: 2.715 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001347/2.319, allocations: 135 kB / 0.8155 GB, free: 2.582 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001581/2.321, allocations: 0.552 MB / 0.8161 GB, free: 1.988 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/2.321, allocations: 108.4 kB / 0.8162 GB, free: 1.871 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/2.321, allocations: 51.94 kB / 0.8162 GB, free: 1.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001896/2.323, allocations: 0.8028 MB / 0.817 GB, free: 0.9336 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.946e-05/2.323, allocations: 7.938 kB / 0.817 GB, free: 0.9258 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/2.323, allocations: 23.95 kB / 0.817 GB, free: 0.9023 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.401e-05/2.323, allocations: 40.97 kB / 0.8171 GB, free: 0.8633 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001549/2.325, allocations: 0.5523 MB / 0.8176 GB, free: 320 kB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3069/2.632, allocations: 4.406 MB / 0.8219 GB, free: 65.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/2.633, allocations: 308.1 kB / 0.8222 GB, free: 65.29 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003594/2.633, allocations: 127.7 kB / 0.8223 GB, free: 65.29 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003101/2.633, allocations: 341.4 kB / 0.8226 GB, free: 64.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/2.634, allocations: 38.64 kB / 0.8227 GB, free: 64.87 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 2.906e-06/2.634, allocations: 4.812 kB / 0.8227 GB, free: 64.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.004903/2.638, allocations: 1.213 MB / 0.8239 GB, free: 64.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/2.639, allocations: 141.4 kB / 0.824 GB, free: 64.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/2.64, allocations: 0.559 MB / 0.8246 GB, free: 64.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001123/2.64, allocations: 35.11 kB / 0.8246 GB, free: 64.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003078/2.64, allocations: 435.4 kB / 0.825 GB, free: 63.92 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/2.64, allocations: 124.7 kB / 0.8251 GB, free: 63.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.256e-05/2.64, allocations: 14 kB / 0.8251 GB, free: 63.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.992e-05/2.641, allocations: 341.9 kB / 0.8255 GB, free: 63.55 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005267/2.641, allocations: 196.1 kB / 0.8256 GB, free: 63.55 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007098/2.642, allocations: 0.5096 MB / 0.8261 GB, free: 63.14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007057/2.643, allocations: 296.6 kB / 0.8264 GB, free: 63.14 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.407e-06/2.643, allocations: 2.688 kB / 0.8264 GB, free: 63.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002133/2.645, allocations: 0.8078 MB / 0.8272 GB, free: 63.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/2.645, allocations: 10.45 kB / 0.8272 GB, free: 63.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.071e-05/2.645, allocations: 11 kB / 0.8272 GB, free: 63.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001979/2.647, allocations: 273.2 kB / 0.8275 GB, free: 63.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008434/2.648, allocations: 132.9 kB / 0.8276 GB, free: 63.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/2.649, allocations: 1.368 MB / 0.829 GB, free: 62.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001041/2.65, allocations: 39.95 kB / 0.829 GB, free: 62.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/2.65, allocations: 47.8 kB / 0.829 GB, free: 62.01 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 13} Notification: Performance of prepare postOptimizeDAE: time 0.000237/2.65, allocations: 157.1 kB / 0.8292 GB, free: 61.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/2.651, allocations: 71.25 kB / 0.8293 GB, free: 61.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002307/2.653, allocations: 0.6796 MB / 0.8299 GB, free: 61.78 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/2.653, allocations: 3.375 kB / 0.8299 GB, free: 61.78 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/2.653, allocations: 5.062 kB / 0.8299 GB, free: 61.78 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/2.653, allocations: 1.875 kB / 0.8299 GB, free: 61.78 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003113/2.656, allocations: 1.191 MB / 0.8311 GB, free: 61.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/2.656, allocations: 1.188 kB / 0.8311 GB, free: 61.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003328/2.657, allocations: 40.11 kB / 0.8311 GB, free: 61.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001403/2.658, allocations: 195.3 kB / 0.8313 GB, free: 61.42 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.205e-05/2.658, allocations: 13.3 kB / 0.8313 GB, free: 61.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001297/2.659, allocations: 1.294 MB / 0.8326 GB, free: 60.38 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/2.659, allocations: 3.875 kB / 0.8326 GB, free: 60.38 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002047/2.661, allocations: 0.7909 MB / 0.8334 GB, free: 60.13 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005114/2.662, allocations: 199.8 kB / 0.8336 GB, free: 60 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001506/2.662, allocations: 11.16 kB / 0.8336 GB, free: 60 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007227/2.663, allocations: 26.92 kB / 0.8336 GB, free: 60 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.798e-05/2.663, allocations: 29.14 kB / 0.8336 GB, free: 60 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.356e-05/2.663, allocations: 23.09 kB / 0.8337 GB, free: 60 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009022/2.664, allocations: 433.4 kB / 0.8341 GB, free: 59.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.41e-07/2.664, allocations: 0 / 0.8341 GB, free: 59.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002115/2.666, allocations: 369.8 kB / 0.8344 GB, free: 59.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003791/2.67, allocations: 1.825 MB / 0.8362 GB, free: 58.99 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001824/2.672, allocations: 0.4891 MB / 0.8367 GB, free: 58.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/2.672, allocations: 1.312 kB / 0.8367 GB, free: 58.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007954/2.673, allocations: 211.4 kB / 0.8369 GB, free: 58.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002511/2.675, allocations: 280.2 kB / 0.8372 GB, free: 58.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004578/2.68, allocations: 1.247 MB / 0.8384 GB, free: 58.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005986/2.68, allocations: 0.9462 MB / 0.8393 GB, free: 57.96 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006246/2.681, allocations: 244.6 kB / 0.8395 GB, free: 57.95 MB / 426.7 MB Notification: Performance of SimCode: time 1.233e-06/2.681, allocations: 0 / 0.8395 GB, free: 57.95 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.256/5.937, allocations: 21.02 MB / 0.8601 GB, free: 57.5 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat does not exist to compare? outputFormat=mat