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.577/3.577, allocations: 403.9 MB / 411 MB, free: 376 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.478e-05/2.486e-05, allocations: 4 kB / 0.4942 GB, free: 1.398 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5168/0.5168, allocations: 92.7 MB / 0.5847 GB, free: 2.391 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1806/0.6974, allocations: 121.9 MB / 0.7037 GB, free: 8.363 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/0.6978, allocations: 91.94 kB / 0.7038 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.01696/0.7147, allocations: 4.484 MB / 0.7082 GB, free: 3.781 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.18e-06/0.7148, allocations: 4 kB / 0.7082 GB, free: 3.777 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.053e-05/0.7148, allocations: 4 kB / 0.7082 GB, free: 3.773 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.0006942/0.7155, allocations: 0.5323 MB / 0.7087 GB, free: 3.184 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.7156, allocations: 12.03 kB / 0.7087 GB, free: 3.172 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.268e-05/0.7157, allocations: 39.58 kB / 0.7087 GB, free: 3.133 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007738/0.7165, allocations: 407.7 kB / 0.7091 GB, free: 2.691 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.7165, allocations: 0 / 0.7091 GB, free: 2.691 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.7165, allocations: 4 kB / 0.7091 GB, free: 2.688 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001311/0.7167, allocations: 39.98 kB / 0.7092 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.7168, allocations: 65.67 kB / 0.7092 GB, free: 2.578 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.885e-06/0.7169, allocations: 0 / 0.7092 GB, free: 2.578 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.7169, allocations: 3.953 kB / 0.7092 GB, free: 2.574 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.399e-06/0.7169, allocations: 0 / 0.7092 GB, free: 2.574 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008108/0.7177, allocations: 473 kB / 0.7097 GB, free: 2.074 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.7179, allocations: 54.45 kB / 0.7097 GB, free: 2.012 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.842e-05/0.7179, allocations: 12.92 kB / 0.7098 GB, free: 1.996 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.718, allocations: 0 / 0.7098 GB, free: 1.996 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.718, allocations: 42.64 kB / 0.7098 GB, free: 1.945 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.728e-06/0.718, allocations: 0 / 0.7098 GB, free: 1.945 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0002456/0.7183, allocations: 73.33 kB / 0.7099 GB, free: 1.867 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.7183, allocations: 55.39 kB / 0.7099 GB, free: 1.801 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007976/0.7191, allocations: 470.3 kB / 0.7104 GB, free: 1.336 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.7192, allocations: 25.7 kB / 0.7104 GB, free: 1.305 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/0.7193, allocations: 164.1 kB / 0.7105 GB, free: 1.141 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.7194, allocations: 15.75 kB / 0.7106 GB, free: 1.125 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.607e-06/0.7194, allocations: 4 kB / 0.7106 GB, free: 1.121 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.7196, allocations: 346.8 kB / 0.7109 GB, free: 0.7734 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.015e-05/0.7196, allocations: 8 kB / 0.7109 GB, free: 0.7656 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.688e-05/0.7197, allocations: 15.94 kB / 0.7109 GB, free: 0.75 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.188e-05/0.7197, allocations: 12 kB / 0.7109 GB, free: 0.7383 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.26e-06/0.7198, allocations: 0 / 0.7109 GB, free: 0.7383 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002107/0.72, allocations: 89.36 kB / 0.711 GB, free: 0.6445 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.796e-05/0.72, allocations: 59.39 kB / 0.7111 GB, free: 0.5742 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.121e-06/0.7201, allocations: 0 / 0.7111 GB, free: 0.5742 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.7201, allocations: 0 / 0.7111 GB, free: 0.5742 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.7202, allocations: 12.05 kB / 0.7111 GB, free: 0.5625 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.06e-06/0.7202, allocations: 3.938 kB / 0.7111 GB, free: 0.5586 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.7203, allocations: 15.88 kB / 0.7111 GB, free: 0.543 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.7204, allocations: 4 kB / 0.7111 GB, free: 0.5391 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 8.002e-05/0.7205, allocations: 101 kB / 0.7112 GB, free: 444 kB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.336e-05/0.7205, allocations: 31.58 kB / 0.7112 GB, free: 412 kB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002331/0.7208, allocations: 96.31 kB / 0.7113 GB, free: 300 kB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.645e-06/0.7208, allocations: 4 kB / 0.7113 GB, free: 296 kB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.003e-06/0.7208, allocations: 0 / 0.7113 GB, free: 296 kB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.699e-06/0.7208, allocations: 0 / 0.7113 GB, free: 296 kB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000383/0.7212, allocations: 266.1 kB / 0.7116 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.7213, allocations: 0 / 0.7116 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.581e-05/0.7213, allocations: 12.12 kB / 0.7116 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.7214, allocations: 0 / 0.7116 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.7214, allocations: 4 kB / 0.7116 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.213e-06/0.7214, allocations: 3.953 kB / 0.7116 GB, free: 15.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.7214, allocations: 0 / 0.7116 GB, free: 15.97 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.7216, allocations: 187.1 kB / 0.7118 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000158/0.7218, allocations: 128.7 kB / 0.7119 GB, free: 15.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.348e-05/0.7219, allocations: 0 / 0.7119 GB, free: 15.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.722, allocations: 4 kB / 0.7119 GB, free: 15.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.7221, allocations: 3.953 kB / 0.7119 GB, free: 15.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.7221, allocations: 7.984 kB / 0.7119 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005627/0.7227, allocations: 368.5 kB / 0.7123 GB, free: 15.26 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.573e-06/0.7227, allocations: 8 kB / 0.7123 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000406/0.7231, allocations: 31.84 kB / 0.7123 GB, free: 15.22 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.0007699/0.7239, allocations: 275.8 kB / 0.7126 GB, free: 15.01 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002088/0.7241, allocations: 138.8 kB / 0.7127 GB, free: 14.85 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.7241, allocations: 0 / 0.7127 GB, free: 14.85 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.665e-05/0.7242, allocations: 15.94 kB / 0.7127 GB, free: 14.83 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.7245, allocations: 21.2 kB / 0.7127 GB, free: 14.81 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008511/0.7254, allocations: 390.3 kB / 0.7131 GB, free: 14.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004931/0.7259, allocations: 0.7868 MB / 0.7139 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001641/0.7261, allocations: 54.11 kB / 0.7139 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.577e-05/0.7262, allocations: 19.44 kB / 0.7139 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of SimCode: time 1.107e-06/0.7262, allocations: 0 / 0.7139 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of Templates: time 0.007352/0.7336, allocations: 1.927 MB / 0.7158 GB, free: 11.61 MB / 0.6042 GB