Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") Notification: Performance of loadModel(Buildings): time 3.749/3.749, allocations: 403.9 MB / 411 MB, free: 324 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.846e-05/2.863e-05, allocations: 11.94 kB / 0.4942 GB, free: 1.359 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.497/0.497, allocations: 92.7 MB / 0.5847 GB, free: 2.348 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1862/0.6833, allocations: 119.8 MB / 0.7017 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/0.6836, allocations: 83.94 kB / 0.7017 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.001929/0.6856, allocations: 0.628 MB / 0.7023 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.164e-06/0.6856, allocations: 3.938 kB / 0.7024 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.553e-06/0.6856, allocations: 0 / 0.7024 GB, free: 9.719 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003634/0.686, allocations: 342.5 kB / 0.7027 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.686, allocations: 8.031 kB / 0.7027 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/0.6861, allocations: 3.953 kB / 0.7027 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.6862, allocations: 163.1 kB / 0.7028 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.6863, allocations: 0 / 0.7028 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.6863, allocations: 0 / 0.7028 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.428e-05/0.6864, allocations: 16 kB / 0.7029 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.863e-05/0.6864, allocations: 41.62 kB / 0.7029 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.959e-06/0.6865, allocations: 4 kB / 0.7029 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.6865, allocations: 0 / 0.7029 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.634e-06/0.6865, allocations: 7.891 kB / 0.7029 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004046/0.6869, allocations: 241.4 kB / 0.7031 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.142e-05/0.687, allocations: 22.64 kB / 0.7032 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.994e-05/0.687, allocations: 12.86 kB / 0.7032 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.6871, allocations: 4 kB / 0.7032 GB, free: 8.73 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.6871, allocations: 38.53 kB / 0.7032 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.963e-06/0.6871, allocations: 0 / 0.7032 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001531/0.6873, allocations: 37.7 kB / 0.7033 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.6873, allocations: 55.36 kB / 0.7033 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.604e-05/0.6874, allocations: 93 kB / 0.7034 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.6875, allocations: 29.73 kB / 0.7034 GB, free: 8.441 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.232e-05/0.6875, allocations: 88.08 kB / 0.7035 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.6876, allocations: 11.89 kB / 0.7035 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.468e-06/0.6876, allocations: 0 / 0.7035 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.6877, allocations: 310.8 kB / 0.7038 GB, free: 8.027 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.203e-05/0.6877, allocations: 4 kB / 0.7038 GB, free: 8.023 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.238e-05/0.6878, allocations: 8 kB / 0.7038 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.441e-05/0.6878, allocations: 0 / 0.7038 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6878, allocations: 4.062 kB / 0.7038 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.884e-05/0.6879, allocations: 45.64 kB / 0.7039 GB, free: 7.961 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.688, allocations: 7.984 kB / 0.7039 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.453e-06/0.688, allocations: 0 / 0.7039 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.688, allocations: 0 / 0.7039 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.6881, allocations: 12 kB / 0.7039 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.94e-06/0.6881, allocations: 0 / 0.7039 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.569e-05/0.6882, allocations: 11.94 kB / 0.7039 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.32e-06/0.6882, allocations: 4.031 kB / 0.7039 GB, free: 7.926 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: 0 () * 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 7.941e-05/0.6883, allocations: 105.5 kB / 0.704 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.505e-05/0.6884, allocations: 3.906 kB / 0.704 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.592e-05/0.6884, allocations: 7.75 kB / 0.704 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.834e-06/0.6884, allocations: 3.938 kB / 0.704 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.211e-06/0.6884, allocations: 0 / 0.704 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.519e-06/0.6885, allocations: 11.97 kB / 0.704 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.6887, allocations: 138.2 kB / 0.7042 GB, free: 7.617 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.917e-06/0.6887, allocations: 0 / 0.7042 GB, free: 7.617 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.395e-05/0.6888, allocations: 19.92 kB / 0.7042 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.959e-06/0.6888, allocations: 0 / 0.7042 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.066e-06/0.6888, allocations: 0 / 0.7042 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.171e-06/0.6888, allocations: 0 / 0.7042 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.742e-06/0.6888, allocations: 0 / 0.7042 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.689, allocations: 139.5 kB / 0.7043 GB, free: 7.445 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.773e-05/0.6891, allocations: 81.09 kB / 0.7044 GB, free: 7.348 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.6891, allocations: 4.281 kB / 0.7044 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.6892, allocations: 8 kB / 0.7044 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.6893, allocations: 7.984 kB / 0.7044 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.6893, allocations: 0 / 0.7044 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.462e-05/0.6893, allocations: 83.28 kB / 0.7045 GB, free: 7.246 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.41e-07/0.6894, allocations: 0 / 0.7045 GB, free: 7.246 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002937/0.6897, allocations: 4 kB / 0.7045 GB, free: 7.242 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: 0 () * 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.0001405/0.6898, allocations: 107 kB / 0.7046 GB, free: 7.129 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.866e-05/0.6899, allocations: 12 kB / 0.7046 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6899, allocations: 4 kB / 0.7046 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.328e-05/0.69, allocations: 7.938 kB / 0.7046 GB, free: 7.105 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.6902, allocations: 9.156 kB / 0.7046 GB, free: 7.098 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002078/0.6904, allocations: 56 kB / 0.7047 GB, free: 7.02 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.6908, allocations: 0.6808 MB / 0.7053 GB, free: 6.312 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.674e-05/0.6908, allocations: 3.984 kB / 0.7054 GB, free: 6.309 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.801e-05/0.6909, allocations: 7.438 kB / 0.7054 GB, free: 6.301 MB / 0.5886 GB Notification: Performance of SimCode: time 1.36e-06/0.6909, allocations: 4 kB / 0.7054 GB, free: 6.297 MB / 0.5886 GB Notification: Performance of Templates: time 0.003469/0.6944, allocations: 326.8 kB / 0.7057 GB, free: 5.98 MB / 0.5886 GB