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.553/3.553, allocations: 403.3 MB / 415.4 MB, free: 12.97 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.233e-05/4.277e-05, allocations: 15.94 kB / 0.499 GB, free: 13.42 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4747/0.4748, allocations: 92.68 MB / 0.5896 GB, free: 14.35 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1784/0.6532, allocations: 120.4 MB / 0.7072 GB, free: 5.777 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/0.6536, allocations: 87.92 kB / 0.7072 GB, free: 5.691 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.001986/0.6556, allocations: 0.6319 MB / 0.7079 GB, free: 5.059 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6556, allocations: 0 / 0.7079 GB, free: 5.059 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.292e-06/0.6556, allocations: 0 / 0.7079 GB, free: 5.059 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.0003808/0.656, allocations: 330.5 kB / 0.7082 GB, free: 4.691 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.6561, allocations: 12.03 kB / 0.7082 GB, free: 4.68 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.05e-05/0.6561, allocations: 7.953 kB / 0.7082 GB, free: 4.672 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.6563, allocations: 167.1 kB / 0.7083 GB, free: 4.469 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.6563, allocations: 8 kB / 0.7084 GB, free: 4.461 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.6563, allocations: 7.875 kB / 0.7084 GB, free: 4.453 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.6565, allocations: 33.7 kB / 0.7084 GB, free: 4.414 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.689e-06/0.6565, allocations: 0 / 0.7084 GB, free: 4.414 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.772e-06/0.6565, allocations: 0 / 0.7084 GB, free: 4.414 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.6565, allocations: 4 kB / 0.7084 GB, free: 4.41 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.333e-05/0.6566, allocations: 8 kB / 0.7084 GB, free: 4.402 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004577/0.657, allocations: 272.8 kB / 0.7087 GB, free: 4.086 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.59e-05/0.6571, allocations: 34.45 kB / 0.7087 GB, free: 4.043 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.532e-05/0.6572, allocations: 8.922 kB / 0.7087 GB, free: 4.031 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.6572, allocations: 3.984 kB / 0.7087 GB, free: 4.027 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.6572, allocations: 38.56 kB / 0.7087 GB, free: 3.98 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.932e-06/0.6573, allocations: 0 / 0.7087 GB, free: 3.98 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0001616/0.6574, allocations: 49.64 kB / 0.7088 GB, free: 3.926 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.6575, allocations: 51.41 kB / 0.7088 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.989e-05/0.6576, allocations: 89 kB / 0.7089 GB, free: 3.77 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.6576, allocations: 25.7 kB / 0.709 GB, free: 3.738 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.866e-05/0.6577, allocations: 92.08 kB / 0.709 GB, free: 3.645 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.6577, allocations: 3.906 kB / 0.709 GB, free: 3.641 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.751e-06/0.6577, allocations: 3.938 kB / 0.709 GB, free: 3.637 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.6579, allocations: 318.9 kB / 0.7094 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.697e-05/0.6579, allocations: 8 kB / 0.7094 GB, free: 3.309 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.065e-05/0.6579, allocations: 4 kB / 0.7094 GB, free: 3.305 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.86e-05/0.658, allocations: 8 kB / 0.7094 GB, free: 3.297 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.02e-06/0.658, allocations: 0 / 0.7094 GB, free: 3.297 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001008/0.6581, allocations: 37.7 kB / 0.7094 GB, free: 3.254 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.6581, allocations: 8 kB / 0.7094 GB, free: 3.246 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.671e-06/0.6581, allocations: 0 / 0.7094 GB, free: 3.246 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.6582, allocations: 4.094 kB / 0.7094 GB, free: 3.242 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.6583, allocations: 11.98 kB / 0.7094 GB, free: 3.23 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.479e-06/0.6583, allocations: 3.953 kB / 0.7094 GB, free: 3.227 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.878e-05/0.6584, allocations: 11.98 kB / 0.7094 GB, free: 3.215 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.584e-06/0.6584, allocations: 0 / 0.7094 GB, free: 3.215 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 8.097e-05/0.6585, allocations: 104.9 kB / 0.7095 GB, free: 3.105 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.621e-05/0.6585, allocations: 3.906 kB / 0.7095 GB, free: 3.102 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.844e-05/0.6586, allocations: 15.12 kB / 0.7096 GB, free: 3.086 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.384e-06/0.6586, allocations: 0 / 0.7096 GB, free: 3.086 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.744e-06/0.6586, allocations: 0 / 0.7096 GB, free: 3.086 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.865e-06/0.6586, allocations: 3.953 kB / 0.7096 GB, free: 3.082 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.6588, allocations: 157.7 kB / 0.7097 GB, free: 2.879 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.137e-06/0.6589, allocations: 0 / 0.7097 GB, free: 2.879 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.294e-05/0.6589, allocations: 11.98 kB / 0.7097 GB, free: 2.867 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.102e-06/0.659, allocations: 4.25 kB / 0.7097 GB, free: 2.863 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.301e-06/0.659, allocations: 7.875 kB / 0.7097 GB, free: 2.855 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.659, allocations: 8 kB / 0.7097 GB, free: 2.848 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.549e-06/0.659, allocations: 0 / 0.7097 GB, free: 2.848 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.6592, allocations: 135.5 kB / 0.7099 GB, free: 2.699 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.06e-05/0.6592, allocations: 81.09 kB / 0.71 GB, free: 2.602 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.6593, allocations: 4 kB / 0.71 GB, free: 2.598 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.6594, allocations: 8 kB / 0.71 GB, free: 2.59 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.6594, allocations: 8.016 kB / 0.71 GB, free: 2.582 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.374e-06/0.6594, allocations: 3.938 kB / 0.71 GB, free: 2.578 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.396e-05/0.6595, allocations: 79.28 kB / 0.7101 GB, free: 2.5 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.97e-07/0.6595, allocations: 0 / 0.7101 GB, free: 2.5 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002883/0.6598, allocations: 4 kB / 0.7101 GB, free: 2.496 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.0001552/0.66, allocations: 107 kB / 0.7102 GB, free: 2.383 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001014/0.6601, allocations: 16 kB / 0.7102 GB, free: 2.367 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.6601, allocations: 4.062 kB / 0.7102 GB, free: 2.363 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.325e-05/0.6602, allocations: 4 kB / 0.7102 GB, free: 2.359 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.6604, allocations: 11.19 kB / 0.7102 GB, free: 2.352 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002383/0.6606, allocations: 56.98 kB / 0.7102 GB, free: 2.273 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.661, allocations: 0.6848 MB / 0.7109 GB, free: 1.562 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.77e-05/0.661, allocations: 0 / 0.7109 GB, free: 1.562 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.812e-05/0.6611, allocations: 7.438 kB / 0.7109 GB, free: 1.555 MB / 0.5886 GB Notification: Performance of SimCode: time 1.653e-06/0.6611, allocations: 4.062 kB / 0.7109 GB, free: 1.551 MB / 0.5886 GB Notification: Performance of Templates: time 0.002525/0.6636, allocations: 355.5 kB / 0.7113 GB, free: 1.207 MB / 0.5886 GB