Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.453/2.453, allocations: 235.1 MB / 242.2 MB, free: 15.85 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.646e-05/2.675e-05, allocations: 0 / 299.5 MB, free: 6.512 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3865, allocations: 54.85 MB / 354.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.5/11.88, allocations: 3.667 GB / 4.013 GB, free: 117.2 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003934/11.88, allocations: 89.12 kB / 4.013 GB, free: 117.2 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314/14.2, allocations: 427.6 MB / 4.43 GB, free: 59.07 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.703e-06/14.2, allocations: 0 / 4.43 GB, free: 59.07 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.629e-05/14.2, allocations: 24.58 kB / 4.431 GB, free: 59.07 MB / 474.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.009264/14.21, allocations: 2.339 MB / 4.433 GB, free: 57.58 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/14.21, allocations: 14.86 kB / 4.433 GB, free: 57.58 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006339/14.21, allocations: 110 kB / 4.433 GB, free: 57.53 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001649/14.21, allocations: 0.6398 MB / 4.434 GB, free: 57.12 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/14.21, allocations: 90.19 kB / 4.434 GB, free: 57.06 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00017/14.21, allocations: 41.31 kB / 4.434 GB, free: 57.06 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002384/14.21, allocations: 1.04 MB / 4.435 GB, free: 56.72 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002177/14.21, allocations: 1.027 MB / 4.436 GB, free: 56.25 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.355e-05/14.21, allocations: 3.938 kB / 4.436 GB, free: 56.25 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001346/14.21, allocations: 3.969 kB / 4.436 GB, free: 56.25 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.823e-05/14.21, allocations: 53.36 kB / 4.436 GB, free: 56.24 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009381/14.22, allocations: 5.005 MB / 4.441 GB, free: 52.29 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002096/14.23, allocations: 0.6424 MB / 4.441 GB, free: 51.71 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007592/14.23, allocations: 334.3 kB / 4.442 GB, free: 51.41 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001076/14.23, allocations: 1.067 MB / 4.443 GB, free: 50.17 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/14.23, allocations: 46.45 kB / 4.443 GB, free: 50.12 MB / 474.7 MB Notification: Performance of pre-optimization done (n=63): time 3.827e-06/14.23, allocations: 0 / 4.443 GB, free: 50.12 MB / 474.7 MB Notification: Performance of matching and sorting (n=75): time 0.02341/14.25, allocations: 3.717 MB / 4.446 GB, free: 46.68 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/14.25, allocations: 115.6 kB / 4.446 GB, free: 46.55 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008531/14.25, allocations: 486.1 kB / 4.447 GB, free: 46.07 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002564/14.25, allocations: 29.7 kB / 4.447 GB, free: 46.03 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002997/14.25, allocations: 430.6 kB / 4.447 GB, free: 45.6 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003046/14.25, allocations: 256.2 kB / 4.448 GB, free: 45.35 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.448e-05/14.25, allocations: 0 / 4.448 GB, free: 45.35 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/14.25, allocations: 389.7 kB / 4.448 GB, free: 44.96 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009458/14.25, allocations: 406.5 kB / 4.448 GB, free: 44.56 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001129/14.26, allocations: 0.7057 MB / 4.449 GB, free: 43.73 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003046/14.26, allocations: 0.7179 MB / 4.45 GB, free: 43.02 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.355e-05/14.26, allocations: 4 kB / 4.45 GB, free: 43.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.005765/14.26, allocations: 1.608 MB / 4.451 GB, free: 41.39 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.505e-05/14.27, allocations: 20.2 kB / 4.451 GB, free: 41.38 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.32e-05/14.27, allocations: 12 kB / 4.451 GB, free: 41.36 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009187/14.27, allocations: 1.036 MB / 4.452 GB, free: 40.33 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/14.28, allocations: 167.4 kB / 4.452 GB, free: 40.17 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003377/14.28, allocations: 1.481 MB / 4.454 GB, free: 38.66 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002371/14.28, allocations: 75.78 kB / 4.454 GB, free: 38.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002461/14.28, allocations: 67.91 kB / 4.454 GB, free: 38.52 MB / 474.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.0003471/14.28, allocations: 136.7 kB / 4.454 GB, free: 38.38 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004003/14.29, allocations: 1.105 MB / 4.455 GB, free: 37.27 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001987/14.29, allocations: 75.16 kB / 4.455 GB, free: 37.19 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005098/14.29, allocations: 1.43 MB / 4.457 GB, free: 35.75 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.247e-05/14.29, allocations: 8 kB / 4.457 GB, free: 35.74 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/14.29, allocations: 0 / 4.457 GB, free: 35.74 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/14.29, allocations: 11.92 kB / 4.457 GB, free: 35.73 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007259/14.3, allocations: 2.663 MB / 4.459 GB, free: 32.95 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/14.3, allocations: 4 kB / 4.459 GB, free: 32.95 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002449/14.3, allocations: 256 kB / 4.46 GB, free: 32.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002207/14.3, allocations: 307.1 kB / 4.46 GB, free: 32.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000214/14.3, allocations: 27.91 kB / 4.46 GB, free: 32.37 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002267/14.31, allocations: 2.139 MB / 4.462 GB, free: 30.09 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/14.31, allocations: 4.031 kB / 4.462 GB, free: 30.09 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0106/14.32, allocations: 2.295 MB / 4.464 GB, free: 27.68 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/14.32, allocations: 280 kB / 4.465 GB, free: 27.39 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003207/14.32, allocations: 11.88 kB / 4.465 GB, free: 27.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001917/14.32, allocations: 63.84 kB / 4.465 GB, free: 27.32 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002694/14.32, allocations: 60.66 kB / 4.465 GB, free: 27.26 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002077/14.32, allocations: 47.97 kB / 4.465 GB, free: 27.21 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008901/14.32, allocations: 370.9 kB / 4.465 GB, free: 26.85 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.22e-07/14.32, allocations: 0 / 4.465 GB, free: 26.85 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00498/14.33, allocations: 0.7764 MB / 4.466 GB, free: 26.07 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * 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.0193/14.35, allocations: 5.202 MB / 4.471 GB, free: 20.97 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004101/14.35, allocations: 1.045 MB / 4.472 GB, free: 19.93 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.368e-05/14.35, allocations: 4 kB / 4.472 GB, free: 19.92 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00319/14.35, allocations: 0.5903 MB / 4.472 GB, free: 19.34 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004554/14.36, allocations: 348.8 kB / 4.473 GB, free: 19.01 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/14.37, allocations: 2.077 MB / 4.475 GB, free: 16.87 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000939/14.37, allocations: 1.054 MB / 4.476 GB, free: 15.79 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002559/14.37, allocations: 281.4 kB / 4.476 GB, free: 15.52 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001208/14.37, allocations: 327.2 kB / 4.476 GB, free: 15.2 MB / 474.7 MB Notification: Performance of SimCode: time 1.353e-06/14.37, allocations: 7.938 kB / 4.476 GB, free: 15.19 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5451/14.92, allocations: 41.65 MB / 4.517 GB, free: 72.94 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000218/14.92, allocations: 195.3 kB / 4.517 GB, free: 72.75 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.826/19.75, allocations: 0 / 4.517 GB, free: 72.75 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat does not exist to compare? outputFormat=mat