Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") Notification: Performance of loadModel(Buildings): time 3.485/3.485, allocations: 402 MB / 415.9 MB, free: 10.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.832e-05/2.849e-05, allocations: 4 kB / 0.5003 GB, free: 8.227 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1677, allocations: 92.69 MB / 0.5909 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6734/0.8412, allocations: 122.6 MB / 0.7105 GB, free: 3.879 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/0.8415, allocations: 95.94 kB / 0.7106 GB, free: 3.785 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.017/0.8585, allocations: 4.564 MB / 0.7151 GB, free: 15.22 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.068e-06/0.8585, allocations: 0 / 0.7151 GB, free: 15.22 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.077e-05/0.8586, allocations: 4 kB / 0.7151 GB, free: 15.22 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006949/0.8593, allocations: 0.5451 MB / 0.7156 GB, free: 14.61 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.8593, allocations: 12.03 kB / 0.7156 GB, free: 14.6 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.261e-05/0.8594, allocations: 31.58 kB / 0.7157 GB, free: 14.57 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007916/0.8602, allocations: 409.3 kB / 0.7161 GB, free: 14.13 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.8603, allocations: 4 kB / 0.7161 GB, free: 14.12 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.8603, allocations: 8 kB / 0.7161 GB, free: 14.12 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.8605, allocations: 81.59 kB / 0.7162 GB, free: 14.03 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.95e-06/0.8606, allocations: 4 kB / 0.7162 GB, free: 14.03 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.8606, allocations: 0 / 0.7162 GB, free: 14.03 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.864e-06/0.8606, allocations: 0 / 0.7162 GB, free: 14.03 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001867/0.8608, allocations: 55.92 kB / 0.7162 GB, free: 13.97 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000876/0.8617, allocations: 0.4887 MB / 0.7167 GB, free: 13.43 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.8619, allocations: 62.45 kB / 0.7167 GB, free: 13.36 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.8619, allocations: 3.984 kB / 0.7168 GB, free: 13.36 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.862, allocations: 34.56 kB / 0.7168 GB, free: 13.32 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 2.063e-06/0.862, allocations: 0 / 0.7168 GB, free: 13.32 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0003907/0.8624, allocations: 113.4 kB / 0.7169 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.8624, allocations: 51.41 kB / 0.7169 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008322/0.8633, allocations: 492.8 kB / 0.7174 GB, free: 12.65 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.8633, allocations: 29.7 kB / 0.7174 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.8635, allocations: 164 kB / 0.7176 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.8635, allocations: 15.8 kB / 0.7176 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.827e-06/0.8636, allocations: 0 / 0.7176 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001923/0.8638, allocations: 338.8 kB / 0.7179 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.724e-05/0.8639, allocations: 23.92 kB / 0.718 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.079e-05/0.8639, allocations: 20 kB / 0.718 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.8641, allocations: 75.39 kB / 0.718 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.641e-06/0.8641, allocations: 0 / 0.718 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003438/0.8644, allocations: 165 kB / 0.7182 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.498e-05/0.8645, allocations: 59.34 kB / 0.7183 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.782e-06/0.8645, allocations: 0 / 0.7183 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.8646, allocations: 0 / 0.7183 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.208e-05/0.8647, allocations: 15.92 kB / 0.7183 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.96e-06/0.8647, allocations: 0 / 0.7183 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.783e-05/0.8648, allocations: 11.91 kB / 0.7183 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.8648, allocations: 4 kB / 0.7183 GB, free: 11.68 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 (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 2 * 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.0002142/0.865, allocations: 177.8 kB / 0.7185 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.032e-05/0.8651, allocations: 39.56 kB / 0.7185 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003101/0.8655, allocations: 100.1 kB / 0.7186 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.025e-06/0.8655, allocations: 0 / 0.7186 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.116e-06/0.8655, allocations: 4 kB / 0.7186 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.583e-06/0.8655, allocations: 0 / 0.7186 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004142/0.8659, allocations: 297.5 kB / 0.7189 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.369e-06/0.866, allocations: 0 / 0.7189 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.279e-05/0.866, allocations: 7.984 kB / 0.7189 GB, free: 11 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.428e-06/0.8661, allocations: 0 / 0.7189 GB, free: 11 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.8661, allocations: 7.953 kB / 0.7189 GB, free: 11 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.266e-06/0.8661, allocations: 0 / 0.7189 GB, free: 11 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.676e-06/0.8661, allocations: 0 / 0.7189 GB, free: 11 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003166/0.8664, allocations: 195.1 kB / 0.7191 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/0.8666, allocations: 129 kB / 0.7192 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.27e-05/0.8667, allocations: 4 kB / 0.7192 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.8668, allocations: 11.94 kB / 0.7192 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.159e-05/0.8669, allocations: 0 / 0.7192 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.8669, allocations: 3.984 kB / 0.7192 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.000629/0.8675, allocations: 399.1 kB / 0.7196 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.23e-07/0.8675, allocations: 0 / 0.7196 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003778/0.8679, allocations: 35.91 kB / 0.7196 GB, free: 10.2 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 (3): * Single equations (assignments): 3 * 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.0009228/0.8689, allocations: 285.1 kB / 0.7199 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002946/0.8692, allocations: 155.1 kB / 0.7201 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.8692, allocations: 0 / 0.7201 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.692e-05/0.8693, allocations: 19.98 kB / 0.7201 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.8696, allocations: 33.42 kB / 0.7201 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.8707, allocations: 0.5474 MB / 0.7206 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005356/0.8712, allocations: 0.7908 MB / 0.7214 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.000159/0.8714, allocations: 49.88 kB / 0.7215 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.81e-05/0.8715, allocations: 23.42 kB / 0.7215 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of SimCode: time 1.334e-06/0.8715, allocations: 0 / 0.7215 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of Templates: time 0.007809/0.8793, allocations: 2.312 MB / 0.7237 GB, free: 5.992 MB / 0.5886 GB