Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.606/2.606, allocations: 270 MB / 283.6 MB, free: 1.852 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.616e-05/3.622e-05, allocations: 4 kB / 348.5 MB, free: 2.652 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.4046, allocations: 61.87 MB / 410.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.25/11.66, allocations: 3.555 GB / 3.956 GB, free: 138.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/11.66, allocations: 92.19 kB / 3.956 GB, free: 138.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.682/14.34, allocations: 413.3 MB / 4.359 GB, free: 66.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.814e-06/14.34, allocations: 0 / 4.359 GB, free: 66.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.468e-05/14.34, allocations: 27.89 kB / 4.359 GB, free: 66.1 MB / 0.5261 GB 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.009393/14.35, allocations: 2.213 MB / 4.362 GB, free: 65.25 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.921e-05/14.35, allocations: 15.25 kB / 4.362 GB, free: 65.25 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004072/14.35, allocations: 118.8 kB / 4.362 GB, free: 65.21 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007263/14.35, allocations: 111.8 kB / 4.362 GB, free: 65.16 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002425/14.35, allocations: 0.6371 MB / 4.362 GB, free: 64.93 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001807/14.35, allocations: 115.9 kB / 4.363 GB, free: 64.86 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002788/14.35, allocations: 73.95 kB / 4.363 GB, free: 64.86 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003689/14.36, allocations: 1.126 MB / 4.364 GB, free: 64.67 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.72e-05/14.36, allocations: 0 / 4.364 GB, free: 64.67 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002207/14.36, allocations: 30.2 kB / 4.364 GB, free: 64.67 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001384/14.36, allocations: 59 kB / 4.364 GB, free: 64.67 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003741/14.36, allocations: 1.098 MB / 4.365 GB, free: 64.67 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01425/14.38, allocations: 4.673 MB / 4.369 GB, free: 62.43 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003424/14.38, allocations: 0.7801 MB / 4.37 GB, free: 62.4 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001371/14.38, allocations: 412 kB / 4.371 GB, free: 62.39 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00206/14.38, allocations: 1.634 MB / 4.372 GB, free: 60.61 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.421e-05/14.38, allocations: 47.28 kB / 4.372 GB, free: 60.57 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 5.47e-06/14.38, allocations: 0 / 4.372 GB, free: 60.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=82): time 0.02814/14.41, allocations: 3.63 MB / 4.376 GB, free: 60.14 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.86e-05/14.41, allocations: 114.5 kB / 4.376 GB, free: 60.01 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001486/14.41, allocations: 0.5754 MB / 4.376 GB, free: 59.89 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000317/14.41, allocations: 42.8 kB / 4.376 GB, free: 59.86 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004131/14.41, allocations: 387.9 kB / 4.377 GB, free: 59.69 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004634/14.42, allocations: 291 kB / 4.377 GB, free: 59.54 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/14.42, allocations: 20.62 kB / 4.377 GB, free: 59.54 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000196/14.42, allocations: 396 kB / 4.378 GB, free: 59.23 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00168/14.42, allocations: 440.6 kB / 4.378 GB, free: 59.22 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001805/14.42, allocations: 0.6971 MB / 4.379 GB, free: 58.93 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001861/14.42, allocations: 0.5362 MB / 4.379 GB, free: 58.92 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/14.42, allocations: 6.25 kB / 4.379 GB, free: 58.92 MB / 0.5261 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.005926/14.43, allocations: 1.506 MB / 4.381 GB, free: 58.82 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.556e-05/14.43, allocations: 11.47 kB / 4.381 GB, free: 58.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.54e-05/14.43, allocations: 6.75 kB / 4.381 GB, free: 58.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01397/14.44, allocations: 1.334 MB / 4.382 GB, free: 58.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/14.44, allocations: 153.2 kB / 4.382 GB, free: 58.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002834/14.45, allocations: 1.424 MB / 4.383 GB, free: 58.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001915/14.45, allocations: 92.52 kB / 4.384 GB, free: 58.26 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001828/14.45, allocations: 50.94 kB / 4.384 GB, free: 58.26 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 88 * 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 33} Notification: Performance of prepare postOptimizeDAE: time 0.0003975/14.45, allocations: 169.3 kB / 4.384 GB, free: 58.15 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002463/14.45, allocations: 85.81 kB / 4.384 GB, free: 58.11 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004044/14.45, allocations: 1.547 MB / 4.385 GB, free: 57.99 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-05/14.45, allocations: 11.83 kB / 4.385 GB, free: 57.98 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/14.45, allocations: 0 / 4.385 GB, free: 57.98 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.525e-05/14.45, allocations: 7.453 kB / 4.385 GB, free: 57.98 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006029/14.46, allocations: 2.498 MB / 4.388 GB, free: 57.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/14.46, allocations: 2.844 kB / 4.388 GB, free: 57.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002619/14.46, allocations: 260.8 kB / 4.388 GB, free: 57.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002305/14.46, allocations: 313.3 kB / 4.388 GB, free: 57.48 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002088/14.46, allocations: 29.16 kB / 4.388 GB, free: 57.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002263/14.47, allocations: 2.167 MB / 4.391 GB, free: 55.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/14.47, allocations: 10.56 kB / 4.391 GB, free: 55.64 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004678/14.47, allocations: 1.93 MB / 4.392 GB, free: 55.29 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008652/14.47, allocations: 297 kB / 4.393 GB, free: 55.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002627/14.47, allocations: 23.05 kB / 4.393 GB, free: 55.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001578/14.47, allocations: 70.06 kB / 4.393 GB, free: 55.15 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/14.47, allocations: 64.22 kB / 4.393 GB, free: 55.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001562/14.47, allocations: 48.33 kB / 4.393 GB, free: 55.14 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008633/14.47, allocations: 482.4 kB / 4.393 GB, free: 55.05 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.51e-07/14.47, allocations: 0 / 4.393 GB, free: 55.05 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003586/14.48, allocations: 0.7832 MB / 4.394 GB, free: 54.96 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 78 * 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.009182/14.49, allocations: 4.318 MB / 4.398 GB, free: 53.47 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003431/14.49, allocations: 1.123 MB / 4.399 GB, free: 53.45 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/14.49, allocations: 0 / 4.399 GB, free: 53.45 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002427/14.49, allocations: 0.649 MB / 4.4 GB, free: 53.45 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003975/14.5, allocations: 460.7 kB / 4.401 GB, free: 53.44 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008134/14.51, allocations: 2.125 MB / 4.403 GB, free: 53.02 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006155/14.51, allocations: 1.057 MB / 4.404 GB, free: 52.32 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001831/14.51, allocations: 339.2 kB / 4.404 GB, free: 52.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007083/14.51, allocations: 330.9 kB / 4.404 GB, free: 52.29 MB / 0.5261 GB Notification: Performance of SimCode: time 1.163e-06/14.51, allocations: 0 / 4.404 GB, free: 52.29 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1256/14.63, allocations: 54.88 MB / 4.458 GB, free: 50.11 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002223/14.63, allocations: 234.1 kB / 4.458 GB, free: 49.79 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.7/20.33, allocations: 4 kB / 4.458 GB, free: 49.79 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat does not exist to compare? outputFormat=mat