Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadModel(Buildings): time 3.552/3.552, allocations: 403.3 MB / 415.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.149e-05/3.164e-05, allocations: 4 kB / 0.4991 GB, free: 13.44 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4777/0.4777, allocations: 92.69 MB / 0.5896 GB, free: 14.52 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.187/0.6648, allocations: 120.7 MB / 0.7075 GB, free: 5.648 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/0.6651, allocations: 83.94 kB / 0.7075 GB, free: 5.566 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.004249/0.6694, allocations: 1.081 MB / 0.7086 GB, free: 4.484 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.978e-06/0.6694, allocations: 0 / 0.7086 GB, free: 4.484 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.6694, allocations: 4 kB / 0.7086 GB, free: 4.48 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004126/0.6699, allocations: 346.4 kB / 0.7089 GB, free: 4.098 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.6699, allocations: 8.031 kB / 0.7089 GB, free: 4.09 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.034e-05/0.67, allocations: 15.8 kB / 0.7089 GB, free: 4.074 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.6701, allocations: 179 kB / 0.7091 GB, free: 3.859 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.6701, allocations: 0 / 0.7091 GB, free: 3.859 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.6702, allocations: 8 kB / 0.7091 GB, free: 3.852 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.6703, allocations: 41.69 kB / 0.7092 GB, free: 3.805 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.6703, allocations: 3.984 kB / 0.7092 GB, free: 3.801 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.6704, allocations: 0 / 0.7092 GB, free: 3.801 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.851e-06/0.6704, allocations: 0 / 0.7092 GB, free: 3.801 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.522e-05/0.6705, allocations: 27.89 kB / 0.7092 GB, free: 3.773 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004432/0.6709, allocations: 276.9 kB / 0.7095 GB, free: 3.453 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.173e-05/0.671, allocations: 30.58 kB / 0.7095 GB, free: 3.414 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.116e-05/0.6711, allocations: 16.94 kB / 0.7095 GB, free: 3.395 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.6711, allocations: 0 / 0.7095 GB, free: 3.395 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.6711, allocations: 34.5 kB / 0.7095 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 2.038e-06/0.6712, allocations: 4 kB / 0.7095 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0002007/0.6714, allocations: 57.64 kB / 0.7096 GB, free: 3.285 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.6714, allocations: 55.34 kB / 0.7096 GB, free: 3.219 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.6716, allocations: 116.9 kB / 0.7098 GB, free: 3.098 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.6716, allocations: 25.7 kB / 0.7098 GB, free: 3.066 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.395e-05/0.6717, allocations: 92.03 kB / 0.7099 GB, free: 2.973 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.6717, allocations: 7.906 kB / 0.7099 GB, free: 2.965 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.197e-06/0.6717, allocations: 0 / 0.7099 GB, free: 2.965 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.6719, allocations: 318.8 kB / 0.7102 GB, free: 2.645 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.866e-05/0.6719, allocations: 12 kB / 0.7102 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.3e-05/0.672, allocations: 8 kB / 0.7102 GB, free: 2.625 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.266e-05/0.672, allocations: 8 kB / 0.7102 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.197e-06/0.672, allocations: 0 / 0.7102 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001457/0.6722, allocations: 57.59 kB / 0.7103 GB, free: 2.555 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.6722, allocations: 4 kB / 0.7103 GB, free: 2.551 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.657e-06/0.6722, allocations: 0 / 0.7103 GB, free: 2.551 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.6722, allocations: 0 / 0.7103 GB, free: 2.551 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.6724, allocations: 15.94 kB / 0.7103 GB, free: 2.535 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.281e-06/0.6724, allocations: 8 kB / 0.7103 GB, free: 2.527 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.419e-05/0.6725, allocations: 7.984 kB / 0.7103 GB, free: 2.52 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.6725, allocations: 3.938 kB / 0.7103 GB, free: 2.516 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 (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 7.882e-05/0.6726, allocations: 104.5 kB / 0.7104 GB, free: 2.41 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.857e-05/0.6727, allocations: 4 kB / 0.7104 GB, free: 2.406 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.16e-05/0.6727, allocations: 8.031 kB / 0.7104 GB, free: 2.395 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.361e-06/0.6727, allocations: 4 kB / 0.7104 GB, free: 2.391 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.227e-06/0.6727, allocations: 3.953 kB / 0.7104 GB, free: 2.387 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.013e-06/0.6728, allocations: 4 kB / 0.7104 GB, free: 2.383 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.673, allocations: 173.6 kB / 0.7106 GB, free: 2.164 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.158e-06/0.673, allocations: 0 / 0.7106 GB, free: 2.164 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.908e-05/0.6731, allocations: 8 kB / 0.7106 GB, free: 2.156 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.842e-06/0.6731, allocations: 0 / 0.7106 GB, free: 2.156 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.6732, allocations: 7.984 kB / 0.7106 GB, free: 2.148 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.221e-06/0.6732, allocations: 0 / 0.7106 GB, free: 2.148 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.521e-06/0.6732, allocations: 0 / 0.7106 GB, free: 2.148 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/0.6734, allocations: 159.6 kB / 0.7108 GB, free: 1.977 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.476e-05/0.6735, allocations: 85.05 kB / 0.7108 GB, free: 1.875 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.6735, allocations: 4 kB / 0.7108 GB, free: 1.871 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.6736, allocations: 7.984 kB / 0.7108 GB, free: 1.863 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.6737, allocations: 3.938 kB / 0.7109 GB, free: 1.859 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.352e-06/0.6737, allocations: 0 / 0.7109 GB, free: 1.859 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.471e-05/0.6738, allocations: 95.27 kB / 0.7109 GB, free: 1.766 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.75e-07/0.6738, allocations: 3.938 kB / 0.7109 GB, free: 1.762 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003101/0.6741, allocations: 11.95 kB / 0.711 GB, free: 1.75 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.000125/0.6742, allocations: 107 kB / 0.7111 GB, free: 1.633 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001196/0.6744, allocations: 20 kB / 0.7111 GB, free: 1.613 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.599e-06/0.6744, allocations: 0 / 0.7111 GB, free: 1.613 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.082e-05/0.6744, allocations: 15.98 kB / 0.7111 GB, free: 1.598 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.6746, allocations: 2.062 kB / 0.7111 GB, free: 1.598 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002806/0.6749, allocations: 88.73 kB / 0.7112 GB, free: 1.488 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.6753, allocations: 0.6887 MB / 0.7119 GB, free: 0.7734 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.528e-05/0.6753, allocations: 3.938 kB / 0.7119 GB, free: 0.7695 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.368e-05/0.6754, allocations: 11.44 kB / 0.7119 GB, free: 0.7578 MB / 0.5886 GB Notification: Performance of SimCode: time 1.317e-06/0.6754, allocations: 0 / 0.7119 GB, free: 0.7578 MB / 0.5886 GB Notification: Performance of Templates: time 0.002614/0.678, allocations: 391.5 kB / 0.7122 GB, free: 388 kB / 0.5886 GB