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.496/3.496, allocations: 403.3 MB / 415.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.901e-05/2.922e-05, allocations: 4 kB / 0.4991 GB, free: 13.44 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5249/0.5249, allocations: 92.69 MB / 0.5896 GB, free: 14.49 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1854/0.7103, allocations: 122.5 MB / 0.7092 GB, free: 3.797 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/0.7107, allocations: 95.94 kB / 0.7093 GB, free: 3.703 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.01757/0.7283, allocations: 4.539 MB / 0.7138 GB, free: 15.15 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.992e-06/0.7283, allocations: 0 / 0.7138 GB, free: 15.15 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.295e-05/0.7284, allocations: 4 kB / 0.7138 GB, free: 15.15 MB / 0.6042 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.0007265/0.7291, allocations: 0.5478 MB / 0.7143 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.7291, allocations: 8.031 kB / 0.7143 GB, free: 14.54 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.69e-05/0.7292, allocations: 31.58 kB / 0.7143 GB, free: 14.51 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007898/0.73, allocations: 407.8 kB / 0.7147 GB, free: 14.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.7301, allocations: 4 kB / 0.7147 GB, free: 14.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.7301, allocations: 8 kB / 0.7147 GB, free: 14.06 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.7303, allocations: 65.62 kB / 0.7148 GB, free: 13.99 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.925e-06/0.7303, allocations: 0 / 0.7148 GB, free: 13.99 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.7303, allocations: 8 kB / 0.7148 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.7304, allocations: 4 kB / 0.7148 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.7305, allocations: 39.94 kB / 0.7148 GB, free: 13.94 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000883/0.7314, allocations: 0.4887 MB / 0.7153 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.7316, allocations: 50.56 kB / 0.7154 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.708e-05/0.7316, allocations: 16.92 kB / 0.7154 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.7317, allocations: 0 / 0.7154 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.7317, allocations: 34.56 kB / 0.7154 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.893e-06/0.7317, allocations: 0 / 0.7154 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0002585/0.732, allocations: 81.34 kB / 0.7155 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.732, allocations: 51.41 kB / 0.7155 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008468/0.7329, allocations: 487.6 kB / 0.716 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.7329, allocations: 29.7 kB / 0.716 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.7331, allocations: 168 kB / 0.7162 GB, free: 12.44 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/0.7332, allocations: 15.75 kB / 0.7162 GB, free: 12.42 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.758e-06/0.7332, allocations: 0 / 0.7162 GB, free: 12.42 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001849/0.7334, allocations: 338.8 kB / 0.7165 GB, free: 12.08 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.305e-05/0.7334, allocations: 19.98 kB / 0.7166 GB, free: 12.06 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.906e-05/0.7335, allocations: 12 kB / 0.7166 GB, free: 12.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.556e-05/0.7336, allocations: 63.41 kB / 0.7166 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.537e-06/0.7336, allocations: 0 / 0.7166 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002647/0.7339, allocations: 152.8 kB / 0.7168 GB, free: 11.81 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.352e-05/0.7339, allocations: 55.41 kB / 0.7168 GB, free: 11.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.441e-06/0.734, allocations: 0 / 0.7168 GB, free: 11.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.734, allocations: 7.938 kB / 0.7168 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.7341, allocations: 4 kB / 0.7168 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.7341, allocations: 3.984 kB / 0.7168 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.7342, allocations: 8.094 kB / 0.7169 GB, free: 11.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.7343, allocations: 4 kB / 0.7169 GB, free: 11.71 MB / 0.6042 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 8.801e-05/0.7344, allocations: 109 kB / 0.717 GB, free: 11.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.7345, allocations: 39.58 kB / 0.717 GB, free: 11.56 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002459/0.7347, allocations: 96 kB / 0.7171 GB, free: 11.46 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.696e-06/0.7348, allocations: 0 / 0.7171 GB, free: 11.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.633e-06/0.7348, allocations: 0 / 0.7171 GB, free: 11.46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.7348, allocations: 0 / 0.7171 GB, free: 11.46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004158/0.7352, allocations: 293.5 kB / 0.7174 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.7352, allocations: 0 / 0.7174 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.45e-05/0.7353, allocations: 11.94 kB / 0.7174 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.509e-06/0.7353, allocations: 7.953 kB / 0.7174 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.7353, allocations: 3.984 kB / 0.7174 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.629e-06/0.7354, allocations: 4 kB / 0.7174 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.98e-06/0.7354, allocations: 0 / 0.7174 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/0.7356, allocations: 171.5 kB / 0.7176 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/0.7358, allocations: 128.8 kB / 0.7177 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.618e-05/0.7359, allocations: 3.953 kB / 0.7177 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.736, allocations: 7.984 kB / 0.7177 GB, free: 10.76 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.7361, allocations: 8 kB / 0.7177 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.883e-06/0.7361, allocations: 0 / 0.7177 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00064/0.7367, allocations: 386.1 kB / 0.7181 GB, free: 10.38 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.767e-06/0.7368, allocations: 4 kB / 0.7181 GB, free: 10.38 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003905/0.7372, allocations: 39.84 kB / 0.7181 GB, free: 10.34 MB / 0.6042 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.0009116/0.7381, allocations: 283.2 kB / 0.7184 GB, free: 10.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002232/0.7383, allocations: 138.8 kB / 0.7185 GB, free: 9.957 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.678e-06/0.7383, allocations: 0 / 0.7185 GB, free: 9.957 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.728e-05/0.7384, allocations: 27.97 kB / 0.7185 GB, free: 9.93 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.7387, allocations: 21.22 kB / 0.7186 GB, free: 9.906 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008884/0.7396, allocations: 387.2 kB / 0.7189 GB, free: 9.504 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005195/0.7402, allocations: 0.787 MB / 0.7197 GB, free: 8.691 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001609/0.7404, allocations: 54 kB / 0.7197 GB, free: 8.641 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.46e-05/0.7405, allocations: 27.42 kB / 0.7198 GB, free: 8.613 MB / 0.6042 GB Notification: Performance of SimCode: time 1.597e-06/0.7405, allocations: 0 / 0.7198 GB, free: 8.613 MB / 0.6042 GB Notification: Performance of Templates: time 0.00811/0.7486, allocations: 2.271 MB / 0.722 GB, free: 6.355 MB / 0.6042 GB