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.419/2.419, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.963e-05/3.974e-05, allocations: 4 kB / 305 MB, free: 5.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4064, allocations: 54.85 MB / 359.9 MB, free: 2.805 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.72/11.12, allocations: 3.667 GB / 4.019 GB, free: 64 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003216/11.12, allocations: 94.97 kB / 4.019 GB, free: 63.95 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.391/13.51, allocations: 431.8 MB / 4.441 GB, free: 21.25 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.983e-06/13.51, allocations: 0 / 4.441 GB, free: 21.25 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.045e-05/13.51, allocations: 23.98 kB / 4.441 GB, free: 21.23 MB / 490.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.01022/13.52, allocations: 2.342 MB / 4.443 GB, free: 18.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.829e-05/13.52, allocations: 8.031 kB / 4.443 GB, free: 18.83 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000368/13.52, allocations: 122.5 kB / 4.443 GB, free: 18.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006476/13.52, allocations: 110.8 kB / 4.443 GB, free: 18.59 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001818/13.53, allocations: 0.6388 MB / 4.444 GB, free: 17.91 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/13.53, allocations: 125.3 kB / 4.444 GB, free: 17.77 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002286/13.53, allocations: 71.91 kB / 4.444 GB, free: 17.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003322/13.53, allocations: 1.122 MB / 4.445 GB, free: 16.53 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.015e-05/13.53, allocations: 3.938 kB / 4.445 GB, free: 16.52 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000224/13.53, allocations: 28 kB / 4.445 GB, free: 16.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001233/13.53, allocations: 57.97 kB / 4.445 GB, free: 16.44 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003361/13.53, allocations: 1.105 MB / 4.446 GB, free: 15.33 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009958/13.54, allocations: 4.66 MB / 4.451 GB, free: 10.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002254/13.55, allocations: 0.735 MB / 4.452 GB, free: 9.656 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008516/13.55, allocations: 384.8 kB / 4.452 GB, free: 9.281 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001522/13.55, allocations: 1.579 MB / 4.453 GB, free: 7.371 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.293e-05/13.55, allocations: 51.11 kB / 4.453 GB, free: 7.312 MB / 490.7 MB Notification: Performance of pre-optimization done (n=69): time 4.899e-06/13.55, allocations: 3.984 kB / 4.453 GB, free: 7.309 MB / 490.7 MB Notification: Performance of matching and sorting (n=81): time 0.0199/13.57, allocations: 3.538 MB / 4.457 GB, free: 3.707 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/13.57, allocations: 115.6 kB / 4.457 GB, free: 3.57 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009048/13.57, allocations: 0.55 MB / 4.458 GB, free: 3.012 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001189/13.57, allocations: 41.7 kB / 4.458 GB, free: 2.965 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002819/13.57, allocations: 403.2 kB / 4.458 GB, free: 2.562 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002637/13.57, allocations: 295.8 kB / 4.458 GB, free: 2.27 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.483e-05/13.57, allocations: 20 kB / 4.458 GB, free: 2.25 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/13.57, allocations: 386.8 kB / 4.459 GB, free: 1.863 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/13.57, allocations: 426.5 kB / 4.459 GB, free: 1.445 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/13.57, allocations: 0.7293 MB / 4.46 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/13.57, allocations: 0.5291 MB / 4.46 GB, free: 48 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.776e-06/13.57, allocations: 7.953 kB / 4.46 GB, free: 40 kB / 490.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.3784/13.95, allocations: 1.494 MB / 4.462 GB, free: 51.62 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.608e-05/13.95, allocations: 13.19 kB / 4.462 GB, free: 51.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/13.95, allocations: 9.625 kB / 4.462 GB, free: 51.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01287/13.97, allocations: 1.325 MB / 4.463 GB, free: 51.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/13.97, allocations: 170.8 kB / 4.463 GB, free: 51.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002885/13.97, allocations: 1.372 MB / 4.465 GB, free: 51.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001921/13.97, allocations: 94.02 kB / 4.465 GB, free: 51.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002242/13.97, allocations: 64.67 kB / 4.465 GB, free: 51.09 MB / 490.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.0003805/13.97, allocations: 171.8 kB / 4.465 GB, free: 50.98 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002545/13.97, allocations: 82.75 kB / 4.465 GB, free: 50.98 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004386/13.98, allocations: 1.456 MB / 4.466 GB, free: 50.88 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.418e-05/13.98, allocations: 12.81 kB / 4.466 GB, free: 50.88 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/13.98, allocations: 3.609 kB / 4.466 GB, free: 50.88 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.629e-05/13.98, allocations: 9.922 kB / 4.466 GB, free: 50.88 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005925/13.98, allocations: 2.316 MB / 4.469 GB, free: 50.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/13.98, allocations: 1.469 kB / 4.469 GB, free: 50.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002638/13.99, allocations: 266.1 kB / 4.469 GB, free: 50.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002349/13.99, allocations: 307.9 kB / 4.469 GB, free: 50.51 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001696/13.99, allocations: 34.39 kB / 4.469 GB, free: 50.51 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002325/13.99, allocations: 2.153 MB / 4.471 GB, free: 48.68 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/13.99, allocations: 13.38 kB / 4.471 GB, free: 48.68 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00446/14, allocations: 1.816 MB / 4.473 GB, free: 48.35 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008991/14, allocations: 286.5 kB / 4.473 GB, free: 48.21 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002385/14, allocations: 23.33 kB / 4.473 GB, free: 48.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/14, allocations: 66.14 kB / 4.474 GB, free: 48.21 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002149/14, allocations: 61.27 kB / 4.474 GB, free: 48.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000175/14, allocations: 49 kB / 4.474 GB, free: 48.21 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009229/14, allocations: 454.6 kB / 4.474 GB, free: 48.12 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.31e-07/14, allocations: 0 / 4.474 GB, free: 48.12 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004359/14, allocations: 0.8266 MB / 4.475 GB, free: 48.12 MB / 490.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.0101/14.01, allocations: 4.277 MB / 4.479 GB, free: 46.81 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003552/14.02, allocations: 1.092 MB / 4.48 GB, free: 46.79 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/14.02, allocations: 3.281 kB / 4.48 GB, free: 46.79 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002591/14.02, allocations: 0.6224 MB / 4.481 GB, free: 46.79 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003851/14.02, allocations: 423.7 kB / 4.481 GB, free: 46.77 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008935/14.03, allocations: 2.136 MB / 4.483 GB, free: 46.46 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007475/14.03, allocations: 1.067 MB / 4.484 GB, free: 45.75 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002101/14.04, allocations: 299.6 kB / 4.485 GB, free: 45.73 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007887/14.04, allocations: 340.8 kB / 4.485 GB, free: 45.73 MB / 490.7 MB Notification: Performance of SimCode: time 1.262e-06/14.04, allocations: 0 / 4.485 GB, free: 45.73 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1306/14.17, allocations: 54.91 MB / 4.538 GB, free: 43.52 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000259/14.17, allocations: 254 kB / 4.539 GB, free: 43.2 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.186/19.35, allocations: 0 / 4.539 GB, free: 43.2 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