Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.509/4.509, allocations: 404.1 MB / 411.3 MB, free: 400 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.831e-05/3.843e-05, allocations: 4 kB / 0.4945 GB, free: 1.293 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7336/0.7337, allocations: 92.69 MB / 0.5851 GB, free: 2.379 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2757/1.009, allocations: 120.2 MB / 0.7025 GB, free: 9.977 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000405/1.01, allocations: 91.88 kB / 0.7026 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.004283/1.014, allocations: 0.8549 MB / 0.7034 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.573e-06/1.014, allocations: 0 / 0.7034 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.005e-05/1.014, allocations: 0 / 0.7034 GB, free: 9.031 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000602/1.015, allocations: 346.4 kB / 0.7037 GB, free: 8.648 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/1.015, allocations: 12.03 kB / 0.7037 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.28e-05/1.015, allocations: 7.859 kB / 0.7038 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/1.015, allocations: 171.1 kB / 0.7039 GB, free: 8.422 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/1.015, allocations: 4 kB / 0.7039 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/1.015, allocations: 0 / 0.7039 GB, free: 8.418 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001277/1.015, allocations: 20 kB / 0.7039 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/1.016, allocations: 53.61 kB / 0.704 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/1.016, allocations: 0 / 0.704 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/1.016, allocations: 3.984 kB / 0.704 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/1.016, allocations: 3.953 kB / 0.704 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005204/1.016, allocations: 249.4 kB / 0.7042 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.698e-05/1.016, allocations: 30.52 kB / 0.7043 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.566e-05/1.016, allocations: 12.92 kB / 0.7043 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/1.016, allocations: 4 kB / 0.7043 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/1.017, allocations: 30.56 kB / 0.7043 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.984e-06/1.017, allocations: 4 kB / 0.7043 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.000231/1.017, allocations: 45.64 kB / 0.7044 GB, free: 7.898 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/1.017, allocations: 59.34 kB / 0.7044 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/1.017, allocations: 96.98 kB / 0.7045 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/1.017, allocations: 25.7 kB / 0.7045 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.679e-05/1.017, allocations: 88.05 kB / 0.7046 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/1.017, allocations: 4 kB / 0.7046 GB, free: 7.602 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.842e-06/1.017, allocations: 0 / 0.7046 GB, free: 7.602 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001803/1.017, allocations: 314.9 kB / 0.7049 GB, free: 7.285 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.012e-05/1.017, allocations: 8 kB / 0.7049 GB, free: 7.277 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.476e-05/1.017, allocations: 11.98 kB / 0.7049 GB, free: 7.266 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.815e-05/1.018, allocations: 7.938 kB / 0.7049 GB, free: 7.258 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.018, allocations: 0 / 0.7049 GB, free: 7.258 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001419/1.018, allocations: 45.61 kB / 0.705 GB, free: 7.207 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/1.018, allocations: 7.984 kB / 0.705 GB, free: 7.199 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/1.018, allocations: 0 / 0.705 GB, free: 7.199 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/1.018, allocations: 0 / 0.705 GB, free: 7.199 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/1.018, allocations: 16.05 kB / 0.705 GB, free: 7.184 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/1.018, allocations: 7.984 kB / 0.705 GB, free: 7.176 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/1.018, allocations: 4 kB / 0.705 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/1.018, allocations: 0 / 0.705 GB, free: 7.172 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001084/1.018, allocations: 108.9 kB / 0.7051 GB, free: 7.059 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001538/1.018, allocations: 49.62 kB / 0.7052 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.556e-05/1.018, allocations: 4.031 kB / 0.7052 GB, free: 7 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.408e-05/1.019, allocations: 11.95 kB / 0.7052 GB, free: 6.988 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/1.019, allocations: 0 / 0.7052 GB, free: 6.988 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/1.019, allocations: 7.938 kB / 0.7052 GB, free: 6.98 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/1.019, allocations: 7.984 kB / 0.7052 GB, free: 6.973 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/1.019, allocations: 138.3 kB / 0.7053 GB, free: 6.801 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/1.019, allocations: 0 / 0.7053 GB, free: 6.801 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/1.019, allocations: 11.98 kB / 0.7054 GB, free: 6.789 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/1.019, allocations: 4 kB / 0.7054 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/1.019, allocations: 0 / 0.7054 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/1.019, allocations: 4 kB / 0.7054 GB, free: 6.781 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/1.019, allocations: 3.953 kB / 0.7054 GB, free: 6.777 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001979/1.019, allocations: 143.5 kB / 0.7055 GB, free: 6.621 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.596e-05/1.019, allocations: 77.11 kB / 0.7056 GB, free: 6.527 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.394e-05/1.019, allocations: 3.984 kB / 0.7056 GB, free: 6.523 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/1.02, allocations: 8 kB / 0.7056 GB, free: 6.516 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.302e-05/1.02, allocations: 15.97 kB / 0.7056 GB, free: 6.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/1.02, allocations: 3.938 kB / 0.7056 GB, free: 6.496 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.933e-05/1.02, allocations: 83.28 kB / 0.7057 GB, free: 6.414 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.11e-07/1.02, allocations: 0 / 0.7057 GB, free: 6.414 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004345/1.02, allocations: 11.94 kB / 0.7057 GB, free: 6.402 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006217/1.021, allocations: 0.685 MB / 0.7064 GB, free: 5.691 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000122/1.021, allocations: 16 kB / 0.7064 GB, free: 5.676 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.021, allocations: 0 / 0.7064 GB, free: 5.676 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.803e-05/1.021, allocations: 15.94 kB / 0.7064 GB, free: 5.66 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/1.021, allocations: 0.5156 kB / 0.7064 GB, free: 5.66 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005917/1.022, allocations: 105.5 kB / 0.7065 GB, free: 5.52 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/1.022, allocations: 0.6886 MB / 0.7072 GB, free: 4.805 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.568e-05/1.023, allocations: 4 kB / 0.7072 GB, free: 4.801 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.476e-05/1.023, allocations: 15.44 kB / 0.7072 GB, free: 4.785 MB / 0.5886 GB Notification: Performance of SimCode: time 9.41e-07/1.023, allocations: 0 / 0.7072 GB, free: 4.785 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03835/1.061, allocations: 0.9075 MB / 0.7081 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003499/1.061, allocations: 161.2 kB / 0.7082 GB, free: 3.691 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.504/3.565, allocations: 0 / 0.7082 GB, free: 3.691 MB / 0.5886 GB