Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.912/1.912, allocations: 209.3 MB / 221.9 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.126e-05/3.127e-05, allocations: 4 kB / 273.2 MB, free: 0.6289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1081, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.93/11.03, allocations: 3.661 GB / 3.975 GB, free: 23.27 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000324/11.03, allocations: 95.92 kB / 3.975 GB, free: 23.18 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.621/13.66, allocations: 428.7 MB / 4.394 GB, free: 53.57 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.693e-06/13.66, allocations: 2.656 kB / 4.394 GB, free: 53.57 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.601e-05/13.66, allocations: 23.53 kB / 4.394 GB, free: 53.56 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.01009/13.67, allocations: 2.338 MB / 4.396 GB, free: 52.38 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.927e-05/13.67, allocations: 10.28 kB / 4.396 GB, free: 52.38 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003228/13.67, allocations: 125.2 kB / 4.396 GB, free: 52.34 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006436/13.67, allocations: 105.5 kB / 4.396 GB, free: 52.3 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001829/13.67, allocations: 0.6302 MB / 4.397 GB, free: 52.03 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001394/13.67, allocations: 120.2 kB / 4.397 GB, free: 51.96 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002023/13.67, allocations: 81.83 kB / 4.397 GB, free: 51.96 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00265/13.67, allocations: 1.117 MB / 4.398 GB, free: 51.78 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.841e-05/13.67, allocations: 6.094 kB / 4.398 GB, free: 51.78 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001592/13.67, allocations: 32.8 kB / 4.398 GB, free: 51.78 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001056/13.67, allocations: 59.19 kB / 4.398 GB, free: 51.78 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002601/13.67, allocations: 1.105 MB / 4.399 GB, free: 51.77 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009362/13.68, allocations: 4.398 MB / 4.404 GB, free: 49.77 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002318/13.69, allocations: 0.7329 MB / 4.404 GB, free: 49.74 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008625/13.69, allocations: 387.4 kB / 4.405 GB, free: 49.73 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001523/13.69, allocations: 1.581 MB / 4.406 GB, free: 48.04 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.474e-05/13.69, allocations: 41.31 kB / 4.406 GB, free: 48 MB / 442.7 MB Notification: Performance of pre-optimization done (n=69): time 3.667e-06/13.69, allocations: 0 / 4.406 GB, free: 48 MB / 442.7 MB Notification: Performance of matching and sorting (n=81): time 0.0204/13.71, allocations: 3.565 MB / 4.41 GB, free: 47.52 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/13.71, allocations: 110.9 kB / 4.41 GB, free: 47.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/13.71, allocations: 0.5447 MB / 4.41 GB, free: 47.27 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001619/13.71, allocations: 40.2 kB / 4.41 GB, free: 47.23 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002639/13.71, allocations: 429.6 kB / 4.411 GB, free: 46.95 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002988/13.71, allocations: 293.1 kB / 4.411 GB, free: 46.77 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.695e-05/13.71, allocations: 22.34 kB / 4.411 GB, free: 46.77 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/13.71, allocations: 359.1 kB / 4.412 GB, free: 46.45 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/13.71, allocations: 429.9 kB / 4.412 GB, free: 46.45 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001219/13.71, allocations: 0.7242 MB / 4.413 GB, free: 46.08 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/13.71, allocations: 0.5298 MB / 4.413 GB, free: 46.06 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/13.71, allocations: 3.719 kB / 4.413 GB, free: 46.06 MB / 442.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.003798/13.72, allocations: 1.465 MB / 4.415 GB, free: 45.94 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.352e-05/13.72, allocations: 9.5 kB / 4.415 GB, free: 45.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.072e-05/13.72, allocations: 9.438 kB / 4.415 GB, free: 45.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01209/13.73, allocations: 1.322 MB / 4.416 GB, free: 45.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/13.73, allocations: 171.8 kB / 4.416 GB, free: 45.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002736/13.74, allocations: 1.385 MB / 4.417 GB, free: 45.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001988/13.74, allocations: 94.97 kB / 4.417 GB, free: 45.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002597/13.74, allocations: 65.31 kB / 4.418 GB, free: 45.36 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (95): * Single equations (assignments): 94 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 32} Notification: Performance of prepare postOptimizeDAE: time 0.0004091/13.74, allocations: 170.1 kB / 4.418 GB, free: 45.23 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003238/13.74, allocations: 80.5 kB / 4.418 GB, free: 45.19 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004202/13.74, allocations: 1.464 MB / 4.419 GB, free: 45.05 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.15e-05/13.74, allocations: 10.5 kB / 4.419 GB, free: 45.05 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/13.74, allocations: 0 / 4.419 GB, free: 45.05 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/13.74, allocations: 8.688 kB / 4.419 GB, free: 45.04 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00567/13.75, allocations: 2.312 MB / 4.422 GB, free: 44.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/13.75, allocations: 0 / 4.422 GB, free: 44.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002557/13.75, allocations: 260.7 kB / 4.422 GB, free: 44.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002314/13.75, allocations: 312.6 kB / 4.422 GB, free: 44.64 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002517/13.75, allocations: 36.81 kB / 4.422 GB, free: 44.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002375/13.76, allocations: 2.166 MB / 4.424 GB, free: 42.78 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/13.76, allocations: 2.375 kB / 4.424 GB, free: 42.78 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00427/13.76, allocations: 1.814 MB / 4.426 GB, free: 42.45 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008593/13.76, allocations: 281.1 kB / 4.426 GB, free: 42.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002517/13.76, allocations: 23.2 kB / 4.426 GB, free: 42.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001535/13.76, allocations: 78.59 kB / 4.426 GB, free: 42.29 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001993/13.76, allocations: 65.14 kB / 4.426 GB, free: 42.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001629/13.76, allocations: 49.66 kB / 4.426 GB, free: 42.29 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008148/13.76, allocations: 451.8 kB / 4.427 GB, free: 42.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.81e-07/13.76, allocations: 0 / 4.427 GB, free: 42.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004308/13.77, allocations: 0.8319 MB / 4.428 GB, free: 42.04 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01458/13.78, allocations: 4.248 MB / 4.432 GB, free: 40.19 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005206/13.79, allocations: 1.097 MB / 4.433 GB, free: 39.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.377e-05/13.79, allocations: 2.094 kB / 4.433 GB, free: 39.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003502/13.79, allocations: 0.6164 MB / 4.434 GB, free: 39.61 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00557/13.8, allocations: 435 kB / 4.434 GB, free: 39.51 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01245/13.81, allocations: 2.199 MB / 4.436 GB, free: 38.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009687/13.81, allocations: 1.055 MB / 4.437 GB, free: 37.87 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001505/13.81, allocations: 347.8 kB / 4.437 GB, free: 37.64 MB / 442.7 MB Notification: Performance of SimCode: time 2.084e-06/13.81, allocations: 0 / 4.437 GB, free: 37.64 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.651/17.46, allocations: 35.01 MB / 4.472 GB, free: 17.96 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat does not exist to compare? outputFormat=mat