Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Gain") Notification: Performance of loadModel(Buildings): time 4.751/4.751, allocations: 464.6 MB / 476.8 MB, free: 2.18 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.771e-05/3.803e-05, allocations: 5.406 kB / 0.5731 GB, free: 5.695 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2239, allocations: 107.1 MB / 0.6778 GB, free: 10.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9202/1.144, allocations: 131.4 MB / 0.8061 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002015/1.144, allocations: 72.39 kB / 0.8062 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001627/1.146, allocations: 0.605 MB / 0.8068 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.003e-06/1.146, allocations: 0 / 0.8068 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.512e-06/1.146, allocations: 0 / 0.8068 GB, free: 11.79 MB / 0.6355 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.000274/1.146, allocations: 345.1 kB / 0.8071 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/1.146, allocations: 10.55 kB / 0.8071 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.91e-05/1.146, allocations: 0 / 0.8071 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.711e-05/1.147, allocations: 170.8 kB / 0.8073 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/1.147, allocations: 1.531 kB / 0.8073 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/1.147, allocations: 0 / 0.8073 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.862e-05/1.147, allocations: 39.38 kB / 0.8073 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.859e-06/1.147, allocations: 0 / 0.8073 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.382e-06/1.147, allocations: 4 kB / 0.8073 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.395e-06/1.147, allocations: 0 / 0.8073 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.774e-05/1.147, allocations: 11.09 kB / 0.8073 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003509/1.147, allocations: 266 kB / 0.8076 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.982e-05/1.147, allocations: 34.05 kB / 0.8076 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.295e-05/1.147, allocations: 16.22 kB / 0.8076 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/1.147, allocations: 0 / 0.8076 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/1.147, allocations: 30.56 kB / 0.8077 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.005e-06/1.147, allocations: 0 / 0.8077 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001414/1.148, allocations: 47.12 kB / 0.8077 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.206e-05/1.148, allocations: 52.83 kB / 0.8078 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.641e-05/1.148, allocations: 96.81 kB / 0.8078 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/1.148, allocations: 25.7 kB / 0.8079 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.66e-05/1.148, allocations: 90.55 kB / 0.808 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/1.148, allocations: 7.156 kB / 0.808 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.839e-06/1.148, allocations: 0 / 0.808 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.818e-05/1.148, allocations: 314.8 kB / 0.8083 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.392e-05/1.148, allocations: 7.25 kB / 0.8083 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.868e-05/1.148, allocations: 7.781 kB / 0.8083 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.395e-05/1.148, allocations: 7.844 kB / 0.8083 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.148, allocations: 4 kB / 0.8083 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.8e-05/1.148, allocations: 43.41 kB / 0.8083 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/1.148, allocations: 10.91 kB / 0.8083 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.906e-06/1.148, allocations: 5.047 kB / 0.8083 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/1.148, allocations: 0 / 0.8083 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/1.148, allocations: 10.78 kB / 0.8084 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.704e-06/1.148, allocations: 0 / 0.8084 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.298e-05/1.148, allocations: 14.62 kB / 0.8084 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.126e-06/1.148, allocations: 0 / 0.8084 GB, free: 10.17 MB / 0.6355 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 4.158e-05/1.148, allocations: 112.8 kB / 0.8085 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.301e-05/1.148, allocations: 0 / 0.8085 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.369e-05/1.148, allocations: 9.797 kB / 0.8085 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.666e-06/1.148, allocations: 0 / 0.8085 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.922e-06/1.148, allocations: 1.875 kB / 0.8085 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.163e-06/1.148, allocations: 3.844 kB / 0.8085 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/1.149, allocations: 162.8 kB / 0.8086 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.002e-06/1.149, allocations: 0 / 0.8086 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.571e-05/1.149, allocations: 18.48 kB / 0.8087 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/1.149, allocations: 0 / 0.8087 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.867e-06/1.149, allocations: 0 / 0.8087 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.991e-06/1.149, allocations: 0 / 0.8087 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.609e-06/1.149, allocations: 3.781 kB / 0.8087 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/1.149, allocations: 136.8 kB / 0.8088 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.952e-05/1.149, allocations: 88.75 kB / 0.8089 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/1.149, allocations: 0 / 0.8089 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/1.149, allocations: 10.5 kB / 0.8089 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/1.149, allocations: 2.344 kB / 0.8089 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.196e-06/1.149, allocations: 0.875 kB / 0.8089 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.96e-05/1.149, allocations: 82.81 kB / 0.809 GB, free: 9.547 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.47e-07/1.149, allocations: 0 / 0.809 GB, free: 9.547 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003047/1.149, allocations: 3.812 kB / 0.809 GB, free: 9.547 MB / 0.6355 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.0001152/1.15, allocations: 108.9 kB / 0.8091 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.633e-05/1.15, allocations: 15.34 kB / 0.8091 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/1.15, allocations: 0 / 0.8091 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.953e-05/1.15, allocations: 7.562 kB / 0.8091 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/1.15, allocations: 3.812 kB / 0.8091 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001822/1.15, allocations: 63.22 kB / 0.8092 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005209/1.151, allocations: 0.6862 MB / 0.8098 GB, free: 24.68 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.47e-05/1.151, allocations: 0 / 0.8098 GB, free: 24.68 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.394e-05/1.151, allocations: 7.438 kB / 0.8098 GB, free: 24.67 MB / 0.6511 GB Notification: Performance of SimCode: time 1.403e-06/1.151, allocations: 0 / 0.8098 GB, free: 24.67 MB / 0.6511 GB Notification: Performance of Templates: time 0.002478/1.153, allocations: 372.8 kB / 0.8102 GB, free: 24.62 MB / 0.6511 GB