Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.605/2.605, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.101e-05/3.105e-05, allocations: 3.406 kB / 249.7 MB, free: 5.25 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1115, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 25.85/25.97, allocations: 6.529 GB / 6.816 GB, free: 98.24 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/25.97, allocations: 74.92 kB / 6.816 GB, free: 98.24 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.024/30.99, allocations: 0.66 GB / 7.476 GB, free: 29.17 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.385e-06/30.99, allocations: 0 / 7.476 GB, free: 29.17 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.336e-05/30.99, allocations: 11 kB / 7.476 GB, free: 29.17 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.01491/31.01, allocations: 2.403 MB / 7.479 GB, free: 27.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.686e-05/31.01, allocations: 6.562 kB / 7.479 GB, free: 27.79 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003416/31.01, allocations: 82.42 kB / 7.479 GB, free: 27.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/31.01, allocations: 90.33 kB / 7.479 GB, free: 27.71 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001686/31.01, allocations: 434 kB / 7.479 GB, free: 27.46 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.06e-05/31.01, allocations: 30.64 kB / 7.479 GB, free: 27.46 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002824/31.01, allocations: 43.97 kB / 7.479 GB, free: 27.46 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003241/31.01, allocations: 0.7907 MB / 7.48 GB, free: 27.46 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00276/31.02, allocations: 0.5689 MB / 7.481 GB, free: 27.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.975e-05/31.02, allocations: 3.906 kB / 7.481 GB, free: 27.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001964/31.02, allocations: 5.438 kB / 7.481 GB, free: 27.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.876e-05/31.02, allocations: 14.75 kB / 7.481 GB, free: 27.41 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03425/31.05, allocations: 12.55 MB / 7.493 GB, free: 16.08 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002421/31.05, allocations: 0.8061 MB / 7.494 GB, free: 15.86 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001373/31.05, allocations: 391.1 kB / 7.494 GB, free: 15.85 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07791/31.13, allocations: 30.21 MB / 7.524 GB, free: 17.43 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.782e-05/31.13, allocations: 52.78 kB / 7.524 GB, free: 17.38 MB / 458.7 MB Notification: Performance of pre-optimization done (n=78): time 4.979e-06/31.13, allocations: 0 / 7.524 GB, free: 17.38 MB / 458.7 MB Notification: Performance of matching and sorting (n=88): time 0.01512/31.15, allocations: 2.345 MB / 7.526 GB, free: 16.92 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/31.15, allocations: 58.69 kB / 7.526 GB, free: 16.86 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000542/31.15, allocations: 250.6 kB / 7.526 GB, free: 16.76 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002499/31.15, allocations: 32.58 kB / 7.526 GB, free: 16.73 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002124/31.15, allocations: 238.4 kB / 7.527 GB, free: 16.57 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003591/31.15, allocations: 296.8 kB / 7.527 GB, free: 16.37 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.097e-05/31.15, allocations: 2.656 kB / 7.527 GB, free: 16.37 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002172/31.15, allocations: 354.7 kB / 7.527 GB, free: 16.06 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/31.15, allocations: 303.6 kB / 7.527 GB, free: 16.05 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/31.15, allocations: 417.6 kB / 7.528 GB, free: 15.96 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002799/31.15, allocations: 496.9 kB / 7.528 GB, free: 15.95 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/31.15, allocations: 0 / 7.528 GB, free: 15.95 MB / 458.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00578/31.16, allocations: 1.069 MB / 7.529 GB, free: 15.84 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.198e-05/31.16, allocations: 6 kB / 7.529 GB, free: 15.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/31.16, allocations: 3.781 kB / 7.529 GB, free: 15.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005868/31.16, allocations: 115.7 kB / 7.529 GB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002124/31.16, allocations: 186.3 kB / 7.53 GB, free: 15.79 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005203/31.17, allocations: 3.861 MB / 7.533 GB, free: 12.22 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/31.17, allocations: 44.39 kB / 7.533 GB, free: 12.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001908/31.17, allocations: 49.91 kB / 7.534 GB, free: 12.21 MB / 458.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005101/31.17, allocations: 129 kB / 7.534 GB, free: 12.09 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007457/31.17, allocations: 53.66 kB / 7.534 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005301/31.18, allocations: 1.134 MB / 7.535 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.929e-05/31.18, allocations: 10.66 kB / 7.535 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/31.18, allocations: 0 / 7.535 GB, free: 11.93 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004277/31.18, allocations: 1.377 MB / 7.536 GB, free: 11.25 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007555/31.19, allocations: 1.994 MB / 7.538 GB, free: 10.89 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/31.19, allocations: 2.375 kB / 7.538 GB, free: 10.89 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002089/31.19, allocations: 188.8 kB / 7.538 GB, free: 10.88 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006195/31.19, allocations: 137.4 kB / 7.538 GB, free: 10.85 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001657/31.19, allocations: 17.84 kB / 7.538 GB, free: 10.84 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002424/31.19, allocations: 1.352 MB / 7.54 GB, free: 25.67 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.355e-06/31.19, allocations: 0 / 7.54 GB, free: 25.67 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005725/31.2, allocations: 1.513 MB / 7.541 GB, free: 25.35 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003587/31.2, allocations: 141.3 kB / 7.541 GB, free: 25.22 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002025/31.2, allocations: 11.12 kB / 7.541 GB, free: 25.22 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/31.2, allocations: 38 kB / 7.541 GB, free: 25.22 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001795/31.2, allocations: 57.73 kB / 7.541 GB, free: 25.22 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000209/31.2, allocations: 50.14 kB / 7.542 GB, free: 25.22 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003947/31.2, allocations: 205.8 kB / 7.542 GB, free: 25.14 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.92e-07/31.2, allocations: 0 / 7.542 GB, free: 25.14 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01262/31.22, allocations: 2.248 MB / 7.544 GB, free: 24.68 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02859/31.24, allocations: 5.777 MB / 7.55 GB, free: 22.98 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003039/31.25, allocations: 1.056 MB / 7.551 GB, free: 22.72 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/31.25, allocations: 0 / 7.551 GB, free: 22.72 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001411/31.25, allocations: 485.8 kB / 7.551 GB, free: 22.68 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003823/31.25, allocations: 322.4 kB / 7.551 GB, free: 22.66 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01177/31.26, allocations: 2.425 MB / 7.554 GB, free: 21.8 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007693/31.27, allocations: 0.942 MB / 7.555 GB, free: 21.1 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001613/31.27, allocations: 178.2 kB / 7.555 GB, free: 21.09 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007256/31.27, allocations: 236.9 kB / 7.555 GB, free: 21.08 MB / 474.7 MB Notification: Performance of SimCode: time 1.623e-06/31.27, allocations: 0 / 7.555 GB, free: 21.08 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7632/32.03, allocations: 79.58 MB / 7.633 GB, free: 56.13 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003179/32.03, allocations: 178.4 kB / 7.633 GB, free: 55.93 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 8.189/40.22, allocations: 0 / 7.633 GB, free: 55.93 MB / 474.7 MB