Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") Notification: Performance of loadModel(Buildings): time 3.998/3.998, allocations: 464.7 MB / 476.8 MB, free: 2.191 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.554e-05/3.563e-05, allocations: 7.938 kB / 0.5731 GB, free: 5.703 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1945, allocations: 107.2 MB / 0.6778 GB, free: 10.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6983/0.8929, allocations: 134.9 MB / 0.8095 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/0.8932, allocations: 101.5 kB / 0.8096 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01812/0.9113, allocations: 5.296 MB / 0.8148 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.409e-06/0.9114, allocations: 0 / 0.8148 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.247e-05/0.9114, allocations: 11.53 kB / 0.8148 GB, free: 11.73 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004613/0.9119, allocations: 493 kB / 0.8153 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.912, allocations: 11.72 kB / 0.8153 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.839e-05/0.912, allocations: 31.33 kB / 0.8153 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006682/0.9127, allocations: 428 kB / 0.8157 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.9128, allocations: 7.969 kB / 0.8157 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.9128, allocations: 7 kB / 0.8157 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.9129, allocations: 66.7 kB / 0.8158 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.409e-06/0.913, allocations: 0 / 0.8158 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.913, allocations: 3.188 kB / 0.8158 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.373e-06/0.913, allocations: 3.781 kB / 0.8158 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.799e-05/0.9131, allocations: 34.27 kB / 0.8158 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006787/0.9138, allocations: 0.4963 MB / 0.8163 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.9139, allocations: 42.28 kB / 0.8164 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.819e-05/0.914, allocations: 16.48 kB / 0.8164 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.914, allocations: 3.938 kB / 0.8164 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.391e-05/0.914, allocations: 34.56 kB / 0.8164 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.864e-06/0.9141, allocations: 112 / 0.8164 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002065/0.9143, allocations: 89.39 kB / 0.8165 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.334e-05/0.9143, allocations: 51.41 kB / 0.8166 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007275/0.9151, allocations: 0.4918 MB / 0.817 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.9151, allocations: 29.64 kB / 0.8171 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.9152, allocations: 175.3 kB / 0.8172 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.9152, allocations: 3.906 kB / 0.8172 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-06/0.9153, allocations: 2.938 kB / 0.8172 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.081e-05/0.9154, allocations: 346.8 kB / 0.8176 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.171e-05/0.9154, allocations: 7.469 kB / 0.8176 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.451e-05/0.9154, allocations: 6.906 kB / 0.8176 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.808e-05/0.9155, allocations: 14.42 kB / 0.8176 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.9155, allocations: 0 / 0.8176 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000149/0.9157, allocations: 81.64 kB / 0.8177 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.9157, allocations: 3.875 kB / 0.8177 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.9157, allocations: 0 / 0.8177 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.9157, allocations: 0 / 0.8177 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.985e-05/0.9158, allocations: 15.41 kB / 0.8177 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.749e-06/0.9158, allocations: 3.953 kB / 0.8177 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.576e-05/0.9159, allocations: 3.875 kB / 0.8177 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.394e-06/0.916, allocations: 3.938 kB / 0.8177 GB, free: 9.914 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 (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 prepare postOptimizeDAE: time 4.505e-05/0.916, allocations: 108.3 kB / 0.8178 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.498e-05/0.9161, allocations: 31.11 kB / 0.8178 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001945/0.9163, allocations: 94.11 kB / 0.8179 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.64e-06/0.9163, allocations: 0 / 0.8179 GB, free: 9.746 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.12e-06/0.9163, allocations: 4 kB / 0.8179 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.677e-06/0.9164, allocations: 11.83 kB / 0.8179 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003142/0.9167, allocations: 302.5 kB / 0.8182 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.462e-06/0.9167, allocations: 0 / 0.8182 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.286e-05/0.9168, allocations: 11.31 kB / 0.8182 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.45e-06/0.9168, allocations: 0 / 0.8182 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.588e-06/0.9168, allocations: 0 / 0.8182 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.201e-06/0.9168, allocations: 3.984 kB / 0.8182 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.9168, allocations: 3.875 kB / 0.8182 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/0.917, allocations: 181.9 kB / 0.8184 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.9172, allocations: 132.1 kB / 0.8185 GB, free: 9.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.964e-05/0.9172, allocations: 3.875 kB / 0.8186 GB, free: 9.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.9174, allocations: 3.938 kB / 0.8186 GB, free: 9.273 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.9174, allocations: 7.344 kB / 0.8186 GB, free: 9.273 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.959e-06/0.9175, allocations: 3.938 kB / 0.8186 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005197/0.918, allocations: 400.3 kB / 0.8189 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.04e-07/0.918, allocations: 0 / 0.8189 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000375/0.9184, allocations: 42.16 kB / 0.819 GB, free: 9.18 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 (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.001114/0.9195, allocations: 339.2 kB / 0.8193 GB, free: 8.988 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001141/0.9197, allocations: 25.03 kB / 0.8193 GB, free: 8.988 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.628e-06/0.9197, allocations: 0 / 0.8193 GB, free: 8.988 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.769e-05/0.9197, allocations: 11.16 kB / 0.8193 GB, free: 8.988 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.9201, allocations: 43.25 kB / 0.8194 GB, free: 8.984 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007315/0.9208, allocations: 399.8 kB / 0.8198 GB, free: 8.848 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.9211, allocations: 0.7946 MB / 0.8205 GB, free: 8.148 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001489/0.9213, allocations: 63.95 kB / 0.8206 GB, free: 8.133 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.11e-05/0.9214, allocations: 22.81 kB / 0.8206 GB, free: 8.125 MB / 0.6355 GB Notification: Performance of SimCode: time 1.509e-06/0.9214, allocations: 0 / 0.8206 GB, free: 8.125 MB / 0.6355 GB Notification: Performance of Templates: time 0.007555/0.9289, allocations: 2.524 MB / 0.8231 GB, free: 7.875 MB / 0.6355 GB