Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.911/4.911, allocations: 404.1 MB / 411.3 MB, free: 368 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 5.19e-05/5.196e-05, allocations: 4 kB / 0.4945 GB, free: 1.324 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7083/0.7084, allocations: 92.7 MB / 0.5851 GB, free: 2.305 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.254/8.963, allocations: 2.185 GB / 2.77 GB, free: 61.3 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003517/8.963, allocations: 97.62 kB / 2.77 GB, free: 61.25 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 18.47/27.43, allocations: 2.676 GB / 5.446 GB, free: 58.09 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.245e-06/27.43, allocations: 0 / 5.446 GB, free: 58.09 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0004478/27.43, allocations: 80.39 kB / 5.446 GB, free: 58.08 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 570 * Number of variables: 570 Notification: Performance of Generate backend data structure: time 0.01793/27.45, allocations: 3.651 MB / 5.45 GB, free: 56.43 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/27.45, allocations: 11.53 kB / 5.45 GB, free: 56.43 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02411/27.48, allocations: 1.182 MB / 5.451 GB, free: 56.27 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01178/27.49, allocations: 2.195 MB / 5.453 GB, free: 55.76 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003709/27.49, allocations: 359.6 kB / 5.453 GB, free: 55.75 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001204/27.49, allocations: 143.3 kB / 5.453 GB, free: 55.75 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01232/27.51, allocations: 2.558 MB / 5.456 GB, free: 55.74 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01118/27.52, allocations: 2.462 MB / 5.458 GB, free: 55.36 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000124/27.52, allocations: 1.5 kB / 5.458 GB, free: 55.36 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006659/27.52, allocations: 9.281 kB / 5.458 GB, free: 55.36 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002038/27.52, allocations: 92.3 kB / 5.458 GB, free: 55.35 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04916/27.57, allocations: 14.02 MB / 5.472 GB, free: 47.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003737/27.57, allocations: 1.233 MB / 5.473 GB, free: 47.37 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001522/27.57, allocations: 0.5351 MB / 5.474 GB, free: 47.36 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007319/27.57, allocations: 121.1 kB / 5.474 GB, free: 47.27 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.818e-05/27.57, allocations: 48.09 kB / 5.474 GB, free: 47.23 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002256/27.58, allocations: 134.9 kB / 5.474 GB, free: 47.16 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=104): time 5.611e-06/27.58, allocations: 0 / 5.474 GB, free: 47.16 MB / 0.8698 GB Notification: Performance of matching and sorting (n=104): time 0.007116/27.58, allocations: 1.488 MB / 5.476 GB, free: 46.98 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/27.58, allocations: 63.22 kB / 5.476 GB, free: 46.92 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004347/27.59, allocations: 1.646 MB / 5.477 GB, free: 46.67 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004664/27.59, allocations: 33.3 kB / 5.477 GB, free: 46.64 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001545/27.59, allocations: 1.425 MB / 5.479 GB, free: 45.96 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005594/27.59, allocations: 368.4 kB / 5.479 GB, free: 45.73 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00029/27.59, allocations: 6.844 kB / 5.479 GB, free: 45.73 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001841/27.59, allocations: 392.5 kB / 5.479 GB, free: 45.42 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002243/27.59, allocations: 0.6813 MB / 5.48 GB, free: 45.41 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002953/27.6, allocations: 1.699 MB / 5.482 GB, free: 44.14 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005155/27.6, allocations: 1.241 MB / 5.483 GB, free: 44.12 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.551e-05/27.6, allocations: 10.25 kB / 5.483 GB, free: 44.12 MB / 0.8698 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.01054/27.61, allocations: 2.706 MB / 5.486 GB, free: 43.94 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.003313/27.61, allocations: 12.94 MB / 5.498 GB, free: 30.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001175/27.62, allocations: 33.11 kB / 5.498 GB, free: 30.38 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001099/27.62, allocations: 48.72 kB / 5.498 GB, free: 30.38 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01713/27.63, allocations: 1.252 MB / 5.5 GB, free: 30.38 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007359/27.64, allocations: 2.82 MB / 5.502 GB, free: 28.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009473/27.65, allocations: 464.8 kB / 5.503 GB, free: 28 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008675/27.65, allocations: 132.7 kB / 5.503 GB, free: 28 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/27.65, allocations: 5.156 kB / 5.503 GB, free: 28 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009616/27.66, allocations: 2.424 MB / 5.505 GB, free: 27.97 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001311/27.66, allocations: 28.03 kB / 5.505 GB, free: 27.97 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.769e-05/27.66, allocations: 55.25 kB / 5.505 GB, free: 27.97 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006452/27.67, allocations: 0.6332 MB / 5.506 GB, free: 27.96 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.714e-05/27.67, allocations: 73 kB / 5.506 GB, free: 27.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007095/27.67, allocations: 334.2 kB / 5.506 GB, free: 27.94 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007878/27.67, allocations: 126.4 kB / 5.506 GB, free: 27.94 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 141 * Number of states: 0 () * Number of discrete variables: 8 (masExcFor.i1_w,masExcFor.i2_w,masExcRev.i1_w,masExcRev.i2_w,senMas3.i_x,senMas4.i_x,senMas1.i_x,senMas2.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (282): * Single equations (assignments): 272 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009039/27.68, allocations: 203.2 kB / 5.507 GB, free: 27.8 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004636/27.68, allocations: 1.353 MB / 5.508 GB, free: 27.62 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008761/27.68, allocations: 234.2 kB / 5.508 GB, free: 27.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005093/27.69, allocations: 1.464 MB / 5.51 GB, free: 27.41 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/27.69, allocations: 10.91 kB / 5.51 GB, free: 27.41 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/27.69, allocations: 0 / 5.51 GB, free: 27.41 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.781e-05/27.69, allocations: 6.141 kB / 5.51 GB, free: 27.41 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01793/27.7, allocations: 3.838 MB / 5.513 GB, free: 26.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.569e-05/27.7, allocations: 6 kB / 5.513 GB, free: 26.91 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01355/27.72, allocations: 0.9544 MB / 5.514 GB, free: 26.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.704e-05/27.72, allocations: 6.281 kB / 5.514 GB, free: 26.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002177/27.72, allocations: 16.33 kB / 5.514 GB, free: 26.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02387/27.74, allocations: 6.154 MB / 5.52 GB, free: 37.87 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-05/27.74, allocations: 10.41 kB / 5.52 GB, free: 37.86 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005215/27.75, allocations: 1.96 MB / 5.522 GB, free: 36.97 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001958/27.75, allocations: 466.7 kB / 5.523 GB, free: 36.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008237/27.75, allocations: 7.203 kB / 5.523 GB, free: 36.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005507/27.76, allocations: 248 kB / 5.523 GB, free: 36.75 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004687/27.76, allocations: 83.98 kB / 5.523 GB, free: 36.74 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000263/27.76, allocations: 53.53 kB / 5.523 GB, free: 36.74 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.004254/27.76, allocations: 1.162 MB / 5.524 GB, free: 36.59 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.042e-06/27.76, allocations: 0 / 5.524 GB, free: 36.59 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01067/27.77, allocations: 1.775 MB / 5.526 GB, free: 36.41 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02566/27.8, allocations: 11.78 MB / 5.538 GB, free: 29.75 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0194/27.82, allocations: 4.067 MB / 5.541 GB, free: 28.81 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.389e-05/27.82, allocations: 3.688 kB / 5.541 GB, free: 28.81 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.01201/27.83, allocations: 1.242 MB / 5.543 GB, free: 28.78 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008547/27.84, allocations: 0.7462 MB / 5.543 GB, free: 28.75 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.013/27.85, allocations: 3.514 MB / 5.547 GB, free: 27.68 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002001/27.85, allocations: 1.754 MB / 5.549 GB, free: 26.89 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.008672/27.86, allocations: 0.8649 MB / 5.549 GB, free: 26.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002431/27.86, allocations: 0.9362 MB / 5.55 GB, free: 26.69 MB / 0.8855 GB Notification: Performance of SimCode: time 1.553e-06/27.86, allocations: 0 / 5.55 GB, free: 26.69 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3007/28.16, allocations: 100.3 MB / 5.648 GB, free: 6.918 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004268/28.17, allocations: 194.1 kB / 5.648 GB, free: 6.719 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 9.909/38.07, allocations: 3.938 kB / 5.648 GB, free: 6.715 MB / 0.9167 GB