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.87/3.87, allocations: 403.3 MB / 415.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.025e-05/5.032e-05, allocations: 4 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.621/0.6211, allocations: 92.69 MB / 0.5897 GB, free: 14.39 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2179/0.8391, allocations: 120.9 MB / 0.7077 GB, free: 5.32 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000369/0.8395, allocations: 83.94 kB / 0.7078 GB, free: 5.238 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.003678/0.8432, allocations: 0.8665 MB / 0.7087 GB, free: 4.371 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8433, allocations: 0 / 0.7087 GB, free: 4.371 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.178e-06/0.8433, allocations: 0 / 0.7087 GB, free: 4.371 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.0004888/0.8438, allocations: 346.5 kB / 0.709 GB, free: 3.988 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.8439, allocations: 8.031 kB / 0.709 GB, free: 3.98 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.615e-05/0.8439, allocations: 34.56 kB / 0.709 GB, free: 3.938 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.36e-05/0.844, allocations: 7.859 kB / 0.709 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.8442, allocations: 175 kB / 0.7092 GB, free: 3.719 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.8442, allocations: 4 kB / 0.7092 GB, free: 3.715 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.8442, allocations: 0 / 0.7092 GB, free: 3.715 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.8444, allocations: 61.59 kB / 0.7093 GB, free: 3.648 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.8444, allocations: 0 / 0.7093 GB, free: 3.648 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.8444, allocations: 0 / 0.7093 GB, free: 3.648 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.8444, allocations: 8 kB / 0.7093 GB, free: 3.641 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.954e-05/0.8446, allocations: 23.95 kB / 0.7093 GB, free: 3.617 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000539/0.8451, allocations: 268.8 kB / 0.7096 GB, free: 3.305 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.689e-05/0.8452, allocations: 34.5 kB / 0.7096 GB, free: 3.262 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.452e-05/0.8453, allocations: 12.92 kB / 0.7096 GB, free: 3.246 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.8453, allocations: 4 kB / 0.7096 GB, free: 3.242 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.8454, allocations: 34.52 kB / 0.7096 GB, free: 3.199 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.834e-06/0.8454, allocations: 0 / 0.7096 GB, free: 3.199 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002072/0.8456, allocations: 49.69 kB / 0.7097 GB, free: 3.145 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.8456, allocations: 51.41 kB / 0.7097 GB, free: 3.082 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.935e-05/0.8457, allocations: 100.9 kB / 0.7098 GB, free: 2.977 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.8458, allocations: 25.7 kB / 0.7099 GB, free: 2.945 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.837e-05/0.8458, allocations: 88.08 kB / 0.7099 GB, free: 2.855 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.8459, allocations: 3.938 kB / 0.7099 GB, free: 2.852 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-06/0.8459, allocations: 0 / 0.7099 GB, free: 2.852 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.846, allocations: 322.8 kB / 0.7103 GB, free: 2.527 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.646e-05/0.846, allocations: 7.938 kB / 0.7103 GB, free: 2.52 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.011e-05/0.8461, allocations: 8 kB / 0.7103 GB, free: 2.512 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.734e-05/0.8461, allocations: 4 kB / 0.7103 GB, free: 2.508 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.8462, allocations: 0 / 0.7103 GB, free: 2.508 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000128/0.8463, allocations: 57.66 kB / 0.7103 GB, free: 2.445 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.8463, allocations: 4 kB / 0.7103 GB, free: 2.441 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.8463, allocations: 3.953 kB / 0.7103 GB, free: 2.438 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.8464, allocations: 3.984 kB / 0.7103 GB, free: 2.434 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.8465, allocations: 11.98 kB / 0.7104 GB, free: 2.422 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.8466, allocations: 4 kB / 0.7104 GB, free: 2.418 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.8467, allocations: 7.984 kB / 0.7104 GB, free: 2.41 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.8467, allocations: 0 / 0.7104 GB, free: 2.41 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.847e-05/0.8468, allocations: 109.7 kB / 0.7105 GB, free: 2.297 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.8468, allocations: 0 / 0.7105 GB, free: 2.297 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.787e-05/0.8469, allocations: 3.125 kB / 0.7105 GB, free: 2.293 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.8469, allocations: 3.953 kB / 0.7105 GB, free: 2.289 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.8469, allocations: 4 kB / 0.7105 GB, free: 2.285 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.8469, allocations: 0 / 0.7105 GB, free: 2.285 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002271/0.8472, allocations: 165.7 kB / 0.7106 GB, free: 2.074 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-06/0.8472, allocations: 256 / 0.7106 GB, free: 2.074 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.8473, allocations: 19.92 kB / 0.7107 GB, free: 2.055 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.8473, allocations: 4 kB / 0.7107 GB, free: 2.051 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.8474, allocations: 0 / 0.7107 GB, free: 2.051 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.8474, allocations: 0 / 0.7107 GB, free: 2.051 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/0.8474, allocations: 7.953 kB / 0.7107 GB, free: 2.043 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/0.8476, allocations: 139.5 kB / 0.7108 GB, free: 1.891 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.284e-05/0.8476, allocations: 81.02 kB / 0.7109 GB, free: 1.793 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.8477, allocations: 8.016 kB / 0.7109 GB, free: 1.785 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.8478, allocations: 11.94 kB / 0.7109 GB, free: 1.773 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.258e-05/0.8479, allocations: 7.938 kB / 0.7109 GB, free: 1.766 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.8479, allocations: 8 kB / 0.7109 GB, free: 1.758 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.77e-05/0.848, allocations: 79.28 kB / 0.711 GB, free: 1.68 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.31e-07/0.848, allocations: 0 / 0.711 GB, free: 1.68 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003234/0.8483, allocations: 11.94 kB / 0.711 GB, free: 1.668 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.0005466/0.8489, allocations: 0.6888 MB / 0.7117 GB, free: 0.9531 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001261/0.849, allocations: 16 kB / 0.7117 GB, free: 0.9375 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.849, allocations: 3.938 kB / 0.7117 GB, free: 0.9336 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.075e-05/0.8491, allocations: 12 kB / 0.7117 GB, free: 0.9219 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.8493, allocations: 4.156 kB / 0.7117 GB, free: 0.918 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004763/0.8498, allocations: 120.7 kB / 0.7118 GB, free: 0.7656 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.8501, allocations: 0.6848 MB / 0.7125 GB, free: 56 kB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.252e-05/0.8502, allocations: 4 kB / 0.7125 GB, free: 52 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.407e-05/0.8503, allocations: 11.44 kB / 0.7125 GB, free: 40 kB / 0.5886 GB Notification: Performance of SimCode: time 1.002e-06/0.8503, allocations: 0 / 0.7125 GB, free: 40 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02196/0.8723, allocations: 1.216 MB / 0.7137 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000302/0.8726, allocations: 174.7 kB / 0.7139 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.148/3.02, allocations: 0 / 0.7139 GB, free: 14.66 MB / 0.6042 GB