Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.831/2.831, allocations: 235.2 MB / 242.3 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.599e-05/2.62e-05, allocations: 0 / 299.6 MB, free: 192 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3943/0.3944, allocations: 54.86 MB / 354.4 MB, free: 15.17 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.86/13.26, allocations: 3.667 GB / 4.013 GB, free: 103.9 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004594/13.26, allocations: 95.77 kB / 4.013 GB, free: 103.9 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.792/16.05, allocations: 428.8 MB / 4.432 GB, free: 36.4 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.034e-06/16.05, allocations: 0 / 4.432 GB, free: 36.4 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.074e-05/16.05, allocations: 26.89 kB / 4.432 GB, free: 36.38 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.01005/16.06, allocations: 2.344 MB / 4.434 GB, free: 33.99 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/16.06, allocations: 12.03 kB / 4.434 GB, free: 33.98 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002555/16.06, allocations: 90.55 kB / 4.434 GB, free: 33.88 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000706/16.06, allocations: 114.9 kB / 4.434 GB, free: 33.77 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001931/16.06, allocations: 0.6374 MB / 4.435 GB, free: 33.1 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/16.06, allocations: 93.41 kB / 4.435 GB, free: 32.99 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002025/16.06, allocations: 40 kB / 4.435 GB, free: 32.95 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002747/16.07, allocations: 1.031 MB / 4.436 GB, free: 31.92 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002581/16.07, allocations: 1.027 MB / 4.437 GB, free: 30.84 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.979e-05/16.07, allocations: 7.938 kB / 4.437 GB, free: 30.83 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001698/16.07, allocations: 4 kB / 4.437 GB, free: 30.83 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001157/16.07, allocations: 53.98 kB / 4.437 GB, free: 30.78 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01098/16.08, allocations: 4.993 MB / 4.442 GB, free: 25.45 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002291/16.08, allocations: 0.6481 MB / 4.443 GB, free: 24.8 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007929/16.08, allocations: 335.9 kB / 4.443 GB, free: 24.47 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001202/16.08, allocations: 1.068 MB / 4.444 GB, free: 23.18 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/16.08, allocations: 39.12 kB / 4.444 GB, free: 23.13 MB / 474.7 MB Notification: Performance of pre-optimization done (n=63): time 5.71e-06/16.08, allocations: 0 / 4.444 GB, free: 23.13 MB / 474.7 MB Notification: Performance of matching and sorting (n=75): time 0.02687/16.11, allocations: 3.723 MB / 4.448 GB, free: 19.36 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/16.11, allocations: 111.6 kB / 4.448 GB, free: 19.23 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009569/16.11, allocations: 490.1 kB / 4.448 GB, free: 18.75 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001907/16.11, allocations: 25.7 kB / 4.448 GB, free: 18.71 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003318/16.11, allocations: 426.7 kB / 4.449 GB, free: 18.29 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003175/16.11, allocations: 260.2 kB / 4.449 GB, free: 18.03 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/16.11, allocations: 0 / 4.449 GB, free: 18.03 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/16.11, allocations: 378.8 kB / 4.449 GB, free: 17.65 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/16.11, allocations: 410.5 kB / 4.45 GB, free: 17.25 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/16.12, allocations: 0.7059 MB / 4.45 GB, free: 16.41 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003496/16.12, allocations: 0.7225 MB / 4.451 GB, free: 15.68 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.291e-05/16.12, allocations: 0 / 4.451 GB, free: 15.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.006111/16.13, allocations: 1.619 MB / 4.453 GB, free: 14.05 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.447e-05/16.13, allocations: 12 kB / 4.453 GB, free: 14.04 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.262e-05/16.13, allocations: 15.95 kB / 4.453 GB, free: 14.03 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01111/16.14, allocations: 1.034 MB / 4.454 GB, free: 12.99 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/16.14, allocations: 171.7 kB / 4.454 GB, free: 12.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003664/16.14, allocations: 1.477 MB / 4.455 GB, free: 11.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002109/16.14, allocations: 79.81 kB / 4.455 GB, free: 11.24 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002355/16.14, allocations: 67.98 kB / 4.455 GB, free: 11.18 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.0003869/16.15, allocations: 136.7 kB / 4.456 GB, free: 11.04 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002552/16.15, allocations: 71.16 kB / 4.456 GB, free: 10.96 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005845/16.15, allocations: 1.42 MB / 4.457 GB, free: 9.523 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.039e-05/16.15, allocations: 12 kB / 4.457 GB, free: 9.512 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/16.15, allocations: 0 / 4.457 GB, free: 9.512 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.772e-05/16.15, allocations: 3.984 kB / 4.457 GB, free: 9.508 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008235/16.16, allocations: 2.67 MB / 4.46 GB, free: 6.727 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.504e-05/16.16, allocations: 7.953 kB / 4.46 GB, free: 6.719 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002894/16.16, allocations: 260 kB / 4.46 GB, free: 6.465 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00269/16.17, allocations: 308.3 kB / 4.46 GB, free: 6.16 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002338/16.17, allocations: 19.98 kB / 4.46 GB, free: 6.141 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002572/16.17, allocations: 2.146 MB / 4.462 GB, free: 3.863 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/16.17, allocations: 0 / 4.462 GB, free: 3.863 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01056/16.18, allocations: 2.296 MB / 4.465 GB, free: 1.457 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008981/16.18, allocations: 272 kB / 4.465 GB, free: 1.172 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002472/16.18, allocations: 15.98 kB / 4.465 GB, free: 1.156 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001686/16.18, allocations: 51.91 kB / 4.465 GB, free: 1.105 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002445/16.18, allocations: 64.62 kB / 4.465 GB, free: 1.039 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001951/16.18, allocations: 47.97 kB / 4.465 GB, free: 0.9922 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007323/16.18, allocations: 366.9 kB / 4.465 GB, free: 0.6328 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.41e-07/16.18, allocations: 4 kB / 4.465 GB, free: 0.6289 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004234/16.19, allocations: 0.7726 MB / 4.466 GB, free: 15.85 MB / 490.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.01875/16.21, allocations: 5.217 MB / 4.471 GB, free: 10.71 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003807/16.21, allocations: 1.045 MB / 4.472 GB, free: 9.668 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/16.21, allocations: 0 / 4.472 GB, free: 9.668 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002788/16.21, allocations: 0.5904 MB / 4.473 GB, free: 9.078 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003897/16.22, allocations: 357.5 kB / 4.473 GB, free: 8.73 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00999/16.23, allocations: 2.075 MB / 4.475 GB, free: 6.578 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/16.23, allocations: 1.058 MB / 4.476 GB, free: 5.496 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002183/16.23, allocations: 274.8 kB / 4.476 GB, free: 5.223 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001081/16.23, allocations: 331.3 kB / 4.477 GB, free: 4.898 MB / 490.7 MB Notification: Performance of SimCode: time 3.366e-06/16.23, allocations: 4 kB / 4.477 GB, free: 4.895 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5895/16.82, allocations: 42.2 MB / 4.518 GB, free: 62.15 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002608/16.82, allocations: 191.4 kB / 4.518 GB, free: 61.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.541/22.36, allocations: 0 / 4.518 GB, free: 61.9 MB / 490.7 MB