Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.631/2.631, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.016e-05/4.033e-05, allocations: 0 / 323.5 MB, free: 4.203 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4222/0.4223, allocations: 58.84 MB / 382.3 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.92/11.35, allocations: 3.614 GB / 3.988 GB, free: 133.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003397/11.35, allocations: 93.97 kB / 3.988 GB, free: 133.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.509/13.85, allocations: 433.2 MB / 4.411 GB, free: 76.71 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.374e-06/13.85, allocations: 0 / 4.411 GB, free: 76.71 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.042e-05/13.85, allocations: 23.41 kB / 4.411 GB, free: 76.71 MB / 0.5105 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.01046/13.87, allocations: 2.348 MB / 4.413 GB, free: 75.62 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/13.87, allocations: 6.406 kB / 4.413 GB, free: 75.62 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000433/13.87, allocations: 129.6 kB / 4.413 GB, free: 75.58 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007121/13.87, allocations: 106.1 kB / 4.413 GB, free: 75.54 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002072/13.87, allocations: 0.6232 MB / 4.414 GB, free: 75.28 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001594/13.87, allocations: 120.3 kB / 4.414 GB, free: 75.21 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002619/13.87, allocations: 66.52 kB / 4.414 GB, free: 75.21 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002961/13.87, allocations: 1.132 MB / 4.415 GB, free: 75.02 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.658e-05/13.87, allocations: 1.562 kB / 4.415 GB, free: 75.02 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001845/13.87, allocations: 33.44 kB / 4.415 GB, free: 75.02 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001105/13.87, allocations: 52.02 kB / 4.415 GB, free: 75.02 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002898/13.88, allocations: 1.11 MB / 4.416 GB, free: 75.02 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01101/13.89, allocations: 4.693 MB / 4.421 GB, free: 72.73 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003465/13.89, allocations: 0.7918 MB / 4.422 GB, free: 72.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001387/13.89, allocations: 412.9 kB / 4.422 GB, free: 72.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001897/13.89, allocations: 1.571 MB / 4.424 GB, free: 71.01 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.405e-05/13.89, allocations: 39 kB / 4.424 GB, free: 70.97 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=70): time 5.34e-06/13.89, allocations: 3.219 kB / 4.424 GB, free: 70.97 MB / 0.5105 GB Notification: Performance of matching and sorting (n=82): time 0.02936/13.92, allocations: 3.649 MB / 4.427 GB, free: 70.51 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.99e-05/13.92, allocations: 118.1 kB / 4.427 GB, free: 70.38 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/13.92, allocations: 0.5744 MB / 4.428 GB, free: 70.25 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003663/13.93, allocations: 42.61 kB / 4.428 GB, free: 70.22 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004165/13.93, allocations: 387 kB / 4.428 GB, free: 70.03 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004694/13.93, allocations: 289.7 kB / 4.428 GB, free: 69.84 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/13.93, allocations: 18.06 kB / 4.428 GB, free: 69.84 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002044/13.93, allocations: 396 kB / 4.429 GB, free: 69.53 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001618/13.93, allocations: 452.3 kB / 4.429 GB, free: 69.52 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001826/13.93, allocations: 0.6973 MB / 4.43 GB, free: 69.22 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001926/13.93, allocations: 0.5388 MB / 4.431 GB, free: 69.21 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.939e-06/13.93, allocations: 0 / 4.431 GB, free: 69.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.005847/13.94, allocations: 1.52 MB / 4.432 GB, free: 69.11 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.31e-05/13.94, allocations: 7.719 kB / 4.432 GB, free: 69.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.871e-05/13.94, allocations: 6.875 kB / 4.432 GB, free: 69.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01635/13.95, allocations: 1.353 MB / 4.433 GB, free: 69.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/13.96, allocations: 154.2 kB / 4.433 GB, free: 69.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003004/13.96, allocations: 1.423 MB / 4.435 GB, free: 68.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002068/13.96, allocations: 98.55 kB / 4.435 GB, free: 68.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002292/13.96, allocations: 62.27 kB / 4.435 GB, free: 68.54 MB / 0.5105 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.0003957/13.96, allocations: 165.5 kB / 4.435 GB, free: 68.43 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000277/13.96, allocations: 84.28 kB / 4.435 GB, free: 68.39 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004327/13.97, allocations: 1.51 MB / 4.437 GB, free: 68.26 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-05/13.97, allocations: 17.38 kB / 4.437 GB, free: 68.25 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.457e-06/13.97, allocations: 0 / 4.437 GB, free: 68.25 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.664e-05/13.97, allocations: 5.781 kB / 4.437 GB, free: 68.25 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005985/13.97, allocations: 2.395 MB / 4.439 GB, free: 67.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/13.97, allocations: 0 / 4.439 GB, free: 67.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002632/13.98, allocations: 265.6 kB / 4.439 GB, free: 67.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002326/13.98, allocations: 307.5 kB / 4.44 GB, free: 67.85 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002412/13.98, allocations: 34.06 kB / 4.44 GB, free: 67.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00233/13.98, allocations: 2.164 MB / 4.442 GB, free: 65.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/13.98, allocations: 7.125 kB / 4.442 GB, free: 65.99 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004412/13.98, allocations: 1.884 MB / 4.444 GB, free: 65.65 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009026/13.99, allocations: 297.6 kB / 4.444 GB, free: 65.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002505/13.99, allocations: 28.16 kB / 4.444 GB, free: 65.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00164/13.99, allocations: 75.88 kB / 4.444 GB, free: 65.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002017/13.99, allocations: 66.41 kB / 4.444 GB, free: 65.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001717/13.99, allocations: 51.42 kB / 4.444 GB, free: 65.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008535/13.99, allocations: 484.7 kB / 4.445 GB, free: 65.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.343e-06/13.99, allocations: 0 / 4.445 GB, free: 65.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004013/13.99, allocations: 0.8325 MB / 4.445 GB, free: 65.25 MB / 0.5105 GB 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 (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.009905/14, allocations: 4.362 MB / 4.45 GB, free: 63.75 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00348/14.01, allocations: 1.129 MB / 4.451 GB, free: 63.71 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/14.01, allocations: 3.719 kB / 4.451 GB, free: 63.71 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002476/14.01, allocations: 0.6433 MB / 4.451 GB, free: 63.69 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004174/14.01, allocations: 461.4 kB / 4.452 GB, free: 63.67 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009002/14.02, allocations: 2.141 MB / 4.454 GB, free: 62.94 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006589/14.02, allocations: 1.066 MB / 4.455 GB, free: 62.21 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002042/14.02, allocations: 307.6 kB / 4.455 GB, free: 62.18 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009416/14.03, allocations: 344.8 kB / 4.456 GB, free: 61.95 MB / 0.5105 GB Notification: Performance of SimCode: time 1.523e-06/14.03, allocations: 2.5 kB / 4.456 GB, free: 61.95 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1333/14.16, allocations: 56.5 MB / 4.511 GB, free: 21.43 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002405/14.16, allocations: 246.1 kB / 4.511 GB, free: 21.11 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.645/19.8, allocations: 0 / 4.511 GB, free: 21.11 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat does not exist to compare? outputFormat=mat