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={"static"}) Notification: Performance of loadModel(Buildings): time 3.717/3.717, allocations: 403.3 MB / 415.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.978e-05/4.995e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5851/0.5852, allocations: 92.68 MB / 0.5896 GB, free: 14.49 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2217/0.8069, allocations: 120.9 MB / 0.7077 GB, free: 5.422 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003186/0.8072, allocations: 87.94 kB / 0.7078 GB, free: 5.336 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.003388/0.8106, allocations: 0.8471 MB / 0.7086 GB, free: 4.488 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.443e-06/0.8107, allocations: 0 / 0.7086 GB, free: 4.488 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.156e-06/0.8107, allocations: 0 / 0.7086 GB, free: 4.488 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.0004697/0.8112, allocations: 350.4 kB / 0.709 GB, free: 4.102 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.8112, allocations: 16.02 kB / 0.709 GB, free: 4.086 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.915e-05/0.8113, allocations: 30.56 kB / 0.709 GB, free: 4.047 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.006e-05/0.8113, allocations: 7.859 kB / 0.709 GB, free: 4.039 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.8115, allocations: 171.1 kB / 0.7092 GB, free: 3.832 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.8116, allocations: 7.938 kB / 0.7092 GB, free: 3.824 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.8116, allocations: 0 / 0.7092 GB, free: 3.824 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.8118, allocations: 49.69 kB / 0.7092 GB, free: 3.77 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.8118, allocations: 4 kB / 0.7092 GB, free: 3.766 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.8118, allocations: 8 kB / 0.7092 GB, free: 3.758 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.8118, allocations: 0 / 0.7092 GB, free: 3.758 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.867e-05/0.8119, allocations: 27.83 kB / 0.7093 GB, free: 3.73 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004426/0.8124, allocations: 280.8 kB / 0.7095 GB, free: 3.406 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.325e-05/0.8125, allocations: 30.58 kB / 0.7096 GB, free: 3.367 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.331e-05/0.8125, allocations: 16.86 kB / 0.7096 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.8126, allocations: 0 / 0.7096 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.8126, allocations: 34.52 kB / 0.7096 GB, free: 3.305 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 4.458e-06/0.8126, allocations: 3.984 kB / 0.7096 GB, free: 3.301 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.000192/0.8128, allocations: 45.69 kB / 0.7097 GB, free: 3.25 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.8129, allocations: 51.41 kB / 0.7097 GB, free: 3.188 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.942e-05/0.813, allocations: 101 kB / 0.7098 GB, free: 3.082 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.813, allocations: 33.69 kB / 0.7098 GB, free: 3.043 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.968e-05/0.8131, allocations: 88.05 kB / 0.7099 GB, free: 2.953 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.8131, allocations: 4 kB / 0.7099 GB, free: 2.949 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.774e-06/0.8131, allocations: 0 / 0.7099 GB, free: 2.949 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.8132, allocations: 314.8 kB / 0.7102 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.366e-05/0.8133, allocations: 8 kB / 0.7102 GB, free: 2.625 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.09e-05/0.8133, allocations: 7.938 kB / 0.7102 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.118e-05/0.8134, allocations: 12.05 kB / 0.7102 GB, free: 2.605 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.8134, allocations: 4 kB / 0.7103 GB, free: 2.602 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001181/0.8135, allocations: 45.61 kB / 0.7103 GB, free: 2.551 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.8135, allocations: 8 kB / 0.7103 GB, free: 2.543 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.8136, allocations: 7.938 kB / 0.7103 GB, free: 2.535 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.8136, allocations: 0 / 0.7103 GB, free: 2.535 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.8138, allocations: 8 kB / 0.7103 GB, free: 2.527 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.8138, allocations: 0 / 0.7103 GB, free: 2.527 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.8139, allocations: 16.02 kB / 0.7103 GB, free: 2.512 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.8139, allocations: 0 / 0.7103 GB, free: 2.512 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 8.178e-05/0.814, allocations: 101 kB / 0.7104 GB, free: 2.406 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.949e-05/0.814, allocations: 8 kB / 0.7104 GB, free: 2.398 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.582e-05/0.8141, allocations: 7.109 kB / 0.7104 GB, free: 2.391 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.8141, allocations: 3.953 kB / 0.7104 GB, free: 2.387 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.8141, allocations: 0 / 0.7104 GB, free: 2.387 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.8141, allocations: 0 / 0.7104 GB, free: 2.387 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.8143, allocations: 169.6 kB / 0.7106 GB, free: 2.172 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.8144, allocations: 4 kB / 0.7106 GB, free: 2.168 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.8145, allocations: 11.98 kB / 0.7106 GB, free: 2.156 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.8145, allocations: 4 kB / 0.7106 GB, free: 2.152 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.8145, allocations: 0 / 0.7106 GB, free: 2.152 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.8145, allocations: 0 / 0.7106 GB, free: 2.152 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.8145, allocations: 3.953 kB / 0.7106 GB, free: 2.148 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.8147, allocations: 135.5 kB / 0.7108 GB, free: 2 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.42e-05/0.8148, allocations: 89.05 kB / 0.7108 GB, free: 1.895 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.8148, allocations: 7.938 kB / 0.7109 GB, free: 1.887 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.8149, allocations: 7.984 kB / 0.7109 GB, free: 1.879 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.869e-05/0.815, allocations: 7.953 kB / 0.7109 GB, free: 1.871 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.815, allocations: 0 / 0.7109 GB, free: 1.871 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.669e-05/0.8151, allocations: 91.52 kB / 0.711 GB, free: 1.781 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.11e-07/0.8151, allocations: 3.938 kB / 0.711 GB, free: 1.777 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002837/0.8154, allocations: 15.94 kB / 0.711 GB, free: 1.762 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.000502/0.8159, allocations: 0.6849 MB / 0.7116 GB, free: 1.051 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001178/0.8161, allocations: 16 kB / 0.7117 GB, free: 1.035 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.8161, allocations: 0 / 0.7117 GB, free: 1.035 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.541e-05/0.8161, allocations: 24.02 kB / 0.7117 GB, free: 1.012 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.8163, allocations: 3.609 kB / 0.7117 GB, free: 1.012 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004529/0.8168, allocations: 110.5 kB / 0.7118 GB, free: 0.8672 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.8171, allocations: 0.6809 MB / 0.7125 GB, free: 164 kB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.29e-05/0.8172, allocations: 0 / 0.7125 GB, free: 164 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.587e-05/0.8172, allocations: 19.42 kB / 0.7125 GB, free: 144 kB / 0.5886 GB Notification: Performance of SimCode: time 9.02e-07/0.8172, allocations: 4.062 kB / 0.7125 GB, free: 140 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01933/0.8366, allocations: 1.222 MB / 0.7137 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002456/0.8369, allocations: 172.1 kB / 0.7138 GB, free: 14.76 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.133/2.97, allocations: 0 / 0.7138 GB, free: 14.76 MB / 0.6042 GB