Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo") Notification: Performance of loadModel(Buildings): time 3.818/3.818, allocations: 432.8 MB / 444.9 MB, free: 15.69 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.945e-05/3.967e-05, allocations: 7.281 kB / 0.5337 GB, free: 12.17 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1767, allocations: 98.72 MB / 0.6301 GB, free: 6.191 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.203/0.3798, allocations: 126.9 MB / 0.754 GB, free: 7.152 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/0.3801, allocations: 95.92 kB / 0.7541 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01776/0.3979, allocations: 4.525 MB / 0.7585 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.056e-06/0.3979, allocations: 0 / 0.7585 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.468e-05/0.398, allocations: 8 kB / 0.7585 GB, free: 2.516 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.0007373/0.3987, allocations: 0.5441 MB / 0.7591 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.3988, allocations: 16.03 kB / 0.7591 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.382e-05/0.3989, allocations: 31.56 kB / 0.7591 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008077/0.3997, allocations: 403.8 kB / 0.7595 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.99e-05/0.3997, allocations: 8 kB / 0.7595 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.3998, allocations: 7.938 kB / 0.7595 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.4, allocations: 77.61 kB / 0.7596 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.696e-06/0.4, allocations: 0 / 0.7596 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.4, allocations: 0 / 0.7596 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.537e-06/0.4, allocations: 0 / 0.7596 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.4002, allocations: 47.92 kB / 0.7596 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009165/0.4011, allocations: 496.5 kB / 0.7601 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.4013, allocations: 42.52 kB / 0.7602 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.141e-05/0.4013, allocations: 24.95 kB / 0.7602 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.4014, allocations: 8 kB / 0.7602 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.4014, allocations: 30.56 kB / 0.7602 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.398e-06/0.4014, allocations: 0 / 0.7602 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002637/0.4017, allocations: 81.31 kB / 0.7603 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.4017, allocations: 51.41 kB / 0.7603 GB, free: 488 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008601/0.4026, allocations: 487.6 kB / 0.7608 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.4027, allocations: 25.7 kB / 0.7608 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.4028, allocations: 159.9 kB / 0.761 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.4029, allocations: 23.8 kB / 0.761 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.293e-06/0.4029, allocations: 0 / 0.761 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001951/0.4031, allocations: 342.8 kB / 0.7613 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.272e-05/0.4032, allocations: 12 kB / 0.7613 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.246e-05/0.4032, allocations: 12 kB / 0.7614 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.392e-05/0.4033, allocations: 67.39 kB / 0.7614 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.619e-06/0.4033, allocations: 0 / 0.7614 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002745/0.4036, allocations: 144.8 kB / 0.7616 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.633e-05/0.4037, allocations: 59.41 kB / 0.7616 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.4037, allocations: 4 kB / 0.7616 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.4038, allocations: 0 / 0.7616 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.4039, allocations: 11.98 kB / 0.7616 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.899e-06/0.4039, allocations: 0 / 0.7616 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.404, allocations: 11.95 kB / 0.7616 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.4041, allocations: 7.938 kB / 0.7616 GB, free: 15.07 MB / 0.6511 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 9.04e-05/0.4042, allocations: 101 kB / 0.7617 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.663e-05/0.4043, allocations: 31.61 kB / 0.7618 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000257/0.4045, allocations: 100 kB / 0.7619 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.795e-06/0.4046, allocations: 4 kB / 0.7619 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.979e-06/0.4046, allocations: 0 / 0.7619 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.765e-06/0.4046, allocations: 0 / 0.7619 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004326/0.405, allocations: 297.4 kB / 0.7622 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.643e-06/0.405, allocations: 0 / 0.7622 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.404e-05/0.4051, allocations: 11.98 kB / 0.7622 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.4051, allocations: 0 / 0.7622 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.4052, allocations: 3.953 kB / 0.7622 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.871e-06/0.4052, allocations: 192 / 0.7622 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.648e-06/0.4052, allocations: 12 kB / 0.7622 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.4055, allocations: 175.2 kB / 0.7623 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000173/0.4057, allocations: 132.7 kB / 0.7625 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.499e-05/0.4057, allocations: 0 / 0.7625 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.4059, allocations: 7.953 kB / 0.7625 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.4059, allocations: 0 / 0.7625 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.4059, allocations: 4 kB / 0.7625 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006574/0.4066, allocations: 390.1 kB / 0.7629 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.48e-07/0.4066, allocations: 0 / 0.7629 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004021/0.407, allocations: 35.94 kB / 0.7629 GB, free: 13.69 MB / 0.6511 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.0009404/0.408, allocations: 282.5 kB / 0.7632 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002555/0.4083, allocations: 142.8 kB / 0.7633 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.908e-06/0.4083, allocations: 3.938 kB / 0.7633 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.653e-05/0.4083, allocations: 12 kB / 0.7633 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.4087, allocations: 30.89 kB / 0.7633 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009226/0.4096, allocations: 398.9 kB / 0.7637 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005461/0.4102, allocations: 0.787 MB / 0.7645 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001771/0.4104, allocations: 50.17 kB / 0.7645 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.653e-05/0.4105, allocations: 23.44 kB / 0.7646 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of SimCode: time 1.874e-06/0.4105, allocations: 0 / 0.7646 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of Templates: time 0.008263/0.4188, allocations: 2.281 MB / 0.7668 GB, free: 9.695 MB / 0.6511 GB