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.626/3.626, allocations: 403.9 MB / 411 MB, free: 404 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.846e-05/2.856e-05, allocations: 7.938 kB / 0.4942 GB, free: 1.398 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4787/0.4787, allocations: 92.7 MB / 0.5847 GB, free: 2.379 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1792/0.658, allocations: 120 MB / 0.7019 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/0.6583, allocations: 87.94 kB / 0.702 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.004187/0.6625, allocations: 1.074 MB / 0.703 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.078e-06/0.6625, allocations: 0 / 0.703 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.65e-06/0.6626, allocations: 0 / 0.703 GB, free: 9.027 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.000407/0.663, allocations: 350.4 kB / 0.7034 GB, free: 8.641 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.539e-05/0.663, allocations: 12.02 kB / 0.7034 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.742e-05/0.6631, allocations: 15.84 kB / 0.7034 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.6632, allocations: 170.9 kB / 0.7036 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.6633, allocations: 0 / 0.7036 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.6633, allocations: 0 / 0.7036 GB, free: 8.406 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.224e-05/0.6634, allocations: 20 kB / 0.7036 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.6635, allocations: 45.69 kB / 0.7036 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.707e-06/0.6635, allocations: 3.938 kB / 0.7036 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.814e-06/0.6635, allocations: 0 / 0.7036 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.147e-06/0.6636, allocations: 3.953 kB / 0.7036 GB, free: 8.328 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004071/0.664, allocations: 245.5 kB / 0.7039 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.43e-05/0.6641, allocations: 30.52 kB / 0.7039 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.752e-05/0.6641, allocations: 24.94 kB / 0.7039 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.6642, allocations: 3.984 kB / 0.7039 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.6642, allocations: 30.56 kB / 0.704 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.879e-06/0.6642, allocations: 0 / 0.704 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0002034/0.6644, allocations: 57.64 kB / 0.704 GB, free: 7.879 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.6645, allocations: 51.41 kB / 0.7041 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.6646, allocations: 108.9 kB / 0.7042 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.6646, allocations: 29.64 kB / 0.7042 GB, free: 7.668 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.049e-05/0.6647, allocations: 96.03 kB / 0.7043 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.6647, allocations: 11.91 kB / 0.7043 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-06/0.6647, allocations: 0 / 0.7043 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.6649, allocations: 318.8 kB / 0.7046 GB, free: 7.238 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.337e-05/0.6649, allocations: 8 kB / 0.7046 GB, free: 7.23 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.855e-05/0.665, allocations: 8 kB / 0.7046 GB, free: 7.223 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.756e-05/0.665, allocations: 8 kB / 0.7046 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.123e-06/0.665, allocations: 0 / 0.7046 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001381/0.6652, allocations: 57.59 kB / 0.7047 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.6652, allocations: 8 kB / 0.7047 GB, free: 7.145 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.257e-06/0.6652, allocations: 0 / 0.7047 GB, free: 7.145 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.6652, allocations: 4 kB / 0.7047 GB, free: 7.141 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.6654, allocations: 11.98 kB / 0.7047 GB, free: 7.129 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.312e-06/0.6654, allocations: 3.953 kB / 0.7047 GB, free: 7.125 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.155e-05/0.6655, allocations: 4 kB / 0.7047 GB, free: 7.121 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.6655, allocations: 3.984 kB / 0.7047 GB, free: 7.117 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 8.095e-05/0.6656, allocations: 109 kB / 0.7048 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.579e-05/0.6657, allocations: 0 / 0.7048 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.775e-05/0.6657, allocations: 12.34 kB / 0.7048 GB, free: 6.984 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.311e-06/0.6657, allocations: 3.938 kB / 0.7048 GB, free: 6.98 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.893e-06/0.6657, allocations: 3.938 kB / 0.7048 GB, free: 6.977 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.403e-06/0.6658, allocations: 3.953 kB / 0.7048 GB, free: 6.973 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.666, allocations: 146.2 kB / 0.705 GB, free: 6.793 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.666, allocations: 0 / 0.705 GB, free: 6.793 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.6661, allocations: 11.98 kB / 0.705 GB, free: 6.781 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.805e-06/0.6661, allocations: 0 / 0.705 GB, free: 6.781 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.6661, allocations: 8 kB / 0.705 GB, free: 6.773 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.123e-06/0.6661, allocations: 0 / 0.705 GB, free: 6.773 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.031e-06/0.6661, allocations: 0 / 0.705 GB, free: 6.773 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.6664, allocations: 155.4 kB / 0.7052 GB, free: 6.605 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.943e-05/0.6664, allocations: 81.02 kB / 0.7052 GB, free: 6.508 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.872e-05/0.6664, allocations: 0 / 0.7052 GB, free: 6.508 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.6666, allocations: 4 kB / 0.7052 GB, free: 6.504 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.345e-05/0.6666, allocations: 11.98 kB / 0.7052 GB, free: 6.492 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.561e-06/0.6666, allocations: 0 / 0.7052 GB, free: 6.492 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.535e-05/0.6667, allocations: 87.28 kB / 0.7053 GB, free: 6.406 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.45e-07/0.6667, allocations: 0 / 0.7053 GB, free: 6.406 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003184/0.6671, allocations: 8 kB / 0.7053 GB, free: 6.398 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.0001252/0.6672, allocations: 111 kB / 0.7054 GB, free: 6.281 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001168/0.6673, allocations: 20 kB / 0.7055 GB, free: 6.262 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.625e-06/0.6673, allocations: 4 kB / 0.7055 GB, free: 6.258 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.306e-05/0.6674, allocations: 15.94 kB / 0.7055 GB, free: 6.242 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00018/0.6676, allocations: 11.19 kB / 0.7055 GB, free: 6.234 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002899/0.6679, allocations: 79.81 kB / 0.7056 GB, free: 6.133 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.6682, allocations: 0.6889 MB / 0.7062 GB, free: 5.418 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.443e-05/0.6683, allocations: 7.922 kB / 0.7062 GB, free: 5.41 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.357e-05/0.6683, allocations: 7.438 kB / 0.7063 GB, free: 5.402 MB / 0.5886 GB Notification: Performance of SimCode: time 1.17e-06/0.6683, allocations: 8 kB / 0.7063 GB, free: 5.395 MB / 0.5886 GB Notification: Performance of Templates: time 0.002582/0.6709, allocations: 361.1 kB / 0.7066 GB, free: 5.043 MB / 0.5886 GB