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.565/3.565, allocations: 402 MB / 415.9 MB, free: 10.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.866e-05/2.875e-05, allocations: 4 kB / 0.5004 GB, free: 8.203 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1702, allocations: 92.68 MB / 0.5909 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6287/0.7989, allocations: 120.4 MB / 0.7085 GB, free: 5.984 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/0.7992, allocations: 87.94 kB / 0.7086 GB, free: 5.898 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.001971/0.8012, allocations: 0.6274 MB / 0.7092 GB, free: 5.273 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.45e-06/0.8012, allocations: 0 / 0.7092 GB, free: 5.273 MB / 0.573 GB Notification: Performance of Transformations before backend: time 6.667e-06/0.8012, allocations: 4 kB / 0.7092 GB, free: 5.27 MB / 0.573 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.0004059/0.8016, allocations: 339.8 kB / 0.7095 GB, free: 4.891 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.8017, allocations: 8.031 kB / 0.7095 GB, free: 4.883 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.605e-05/0.8017, allocations: 7.953 kB / 0.7095 GB, free: 4.875 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.8019, allocations: 165 kB / 0.7097 GB, free: 4.676 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.8019, allocations: 0 / 0.7097 GB, free: 4.676 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.802, allocations: 12 kB / 0.7097 GB, free: 4.664 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.8022, allocations: 53.67 kB / 0.7098 GB, free: 4.605 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.8022, allocations: 3.984 kB / 0.7098 GB, free: 4.602 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.8022, allocations: 0 / 0.7098 GB, free: 4.602 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.216e-06/0.8022, allocations: 0 / 0.7098 GB, free: 4.602 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002078/0.8024, allocations: 47.95 kB / 0.7098 GB, free: 4.555 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004612/0.8029, allocations: 268.7 kB / 0.7101 GB, free: 4.242 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.8031, allocations: 50.59 kB / 0.7101 GB, free: 4.184 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.8031, allocations: 0 / 0.7101 GB, free: 4.184 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.8032, allocations: 30.56 kB / 0.7101 GB, free: 4.145 MB / 0.573 GB Notification: Performance of pre-optimization done (n=2): time 1.752e-06/0.8032, allocations: 0 / 0.7101 GB, free: 4.145 MB / 0.573 GB Notification: Performance of matching and sorting (n=2): time 0.0004297/0.8036, allocations: 101.6 kB / 0.7102 GB, free: 4.039 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.8037, allocations: 59.36 kB / 0.7103 GB, free: 3.969 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.625e-05/0.8038, allocations: 93 kB / 0.7104 GB, free: 3.871 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.8038, allocations: 26.8 kB / 0.7104 GB, free: 3.84 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 5.914e-05/0.8039, allocations: 92.19 kB / 0.7105 GB, free: 3.746 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.8039, allocations: 7.906 kB / 0.7105 GB, free: 3.738 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.769e-06/0.8039, allocations: 0 / 0.7105 GB, free: 3.738 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.8041, allocations: 314.8 kB / 0.7108 GB, free: 3.422 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.8042, allocations: 15.98 kB / 0.7108 GB, free: 3.406 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.8043, allocations: 27.98 kB / 0.7108 GB, free: 3.379 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.8044, allocations: 23.97 kB / 0.7109 GB, free: 3.355 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.991e-06/0.8044, allocations: 0 / 0.7109 GB, free: 3.355 MB / 0.573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002605/0.8047, allocations: 77.73 kB / 0.7109 GB, free: 3.273 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.8047, allocations: 6.188 kB / 0.7109 GB, free: 3.27 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.857e-06/0.8048, allocations: 0 / 0.7109 GB, free: 3.27 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.8048, allocations: 0 / 0.7109 GB, free: 3.27 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.8049, allocations: 15.92 kB / 0.711 GB, free: 3.254 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.04e-06/0.8049, allocations: 0.875 kB / 0.711 GB, free: 3.254 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.676e-05/0.805, allocations: 15.94 kB / 0.711 GB, free: 3.238 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.117e-06/0.805, allocations: 4.031 kB / 0.711 GB, free: 3.234 MB / 0.573 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 0.0001018/0.8051, allocations: 109.8 kB / 0.7111 GB, free: 3.117 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.739e-05/0.8052, allocations: 3.906 kB / 0.7111 GB, free: 3.113 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.428e-05/0.8052, allocations: 7.125 kB / 0.7111 GB, free: 3.109 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.771e-06/0.8052, allocations: 0 / 0.7111 GB, free: 3.109 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.5e-06/0.8052, allocations: 0 / 0.7111 GB, free: 3.109 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.915e-06/0.8052, allocations: 7.984 kB / 0.7111 GB, free: 3.102 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.8055, allocations: 161.8 kB / 0.7113 GB, free: 2.895 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.557e-06/0.8055, allocations: 4 kB / 0.7113 GB, free: 2.891 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.563e-05/0.8056, allocations: 15.98 kB / 0.7113 GB, free: 2.875 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.208e-06/0.8056, allocations: 0 / 0.7113 GB, free: 2.875 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.777e-06/0.8056, allocations: 0 / 0.7113 GB, free: 2.875 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.047e-06/0.8056, allocations: 0 / 0.7113 GB, free: 2.875 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.651e-06/0.8056, allocations: 0 / 0.7113 GB, free: 2.875 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003361/0.806, allocations: 187.3 kB / 0.7115 GB, free: 2.676 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.031e-05/0.806, allocations: 77.11 kB / 0.7115 GB, free: 2.582 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.8061, allocations: 0 / 0.7115 GB, free: 2.582 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.8062, allocations: 11.98 kB / 0.7115 GB, free: 2.57 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/0.8062, allocations: 0 / 0.7115 GB, free: 2.57 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.484e-06/0.8063, allocations: 0 / 0.7115 GB, free: 2.57 MB / 0.573 GB Notification: Performance of sorting global known variables: time 5.537e-05/0.8063, allocations: 87.31 kB / 0.7116 GB, free: 2.484 MB / 0.573 GB Notification: Performance of sort global known variables: time 7e-07/0.8063, allocations: 0 / 0.7116 GB, free: 2.484 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002847/0.8066, allocations: 4 kB / 0.7116 GB, free: 2.48 MB / 0.573 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.0001501/0.8068, allocations: 107 kB / 0.7117 GB, free: 2.367 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0002525/0.807, allocations: 47.97 kB / 0.7118 GB, free: 2.32 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.586e-06/0.8071, allocations: 0 / 0.7118 GB, free: 2.32 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.8072, allocations: 27.92 kB / 0.7118 GB, free: 2.293 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.8074, allocations: 14.34 kB / 0.7118 GB, free: 2.281 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002974/0.8077, allocations: 105.3 kB / 0.7119 GB, free: 2.152 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.8081, allocations: 0.6809 MB / 0.7126 GB, free: 1.445 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 2.945e-05/0.8081, allocations: 3.984 kB / 0.7126 GB, free: 1.441 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/0.8082, allocations: 7.438 kB / 0.7126 GB, free: 1.434 MB / 0.573 GB Notification: Performance of SimCode: time 1.327e-06/0.8082, allocations: 0 / 0.7126 GB, free: 1.434 MB / 0.573 GB Notification: Performance of Templates: time 0.002543/0.8107, allocations: 366.6 kB / 0.7129 GB, free: 1.082 MB / 0.573 GB