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.474/3.474, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.579e-05/4.601e-05, allocations: 11.94 kB / 0.499 GB, free: 13.45 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4941/0.4942, allocations: 92.68 MB / 0.5895 GB, free: 14.52 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1818/0.6761, allocations: 120.7 MB / 0.7074 GB, free: 5.648 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/0.6764, allocations: 83.95 kB / 0.7075 GB, free: 5.566 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.004322/0.6807, allocations: 1.081 MB / 0.7086 GB, free: 4.484 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.033e-06/0.6808, allocations: 0 / 0.7086 GB, free: 4.484 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.234e-05/0.6808, allocations: 0 / 0.7086 GB, free: 4.484 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.0004339/0.6812, allocations: 351.1 kB / 0.7089 GB, free: 4.098 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.6813, allocations: 12.03 kB / 0.7089 GB, free: 4.086 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.6813, allocations: 7.859 kB / 0.7089 GB, free: 4.078 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.6815, allocations: 178.9 kB / 0.7091 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.6815, allocations: 8 kB / 0.7091 GB, free: 3.855 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.6816, allocations: 0 / 0.7091 GB, free: 3.855 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.6817, allocations: 41.69 kB / 0.7091 GB, free: 3.809 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.367e-06/0.6817, allocations: 7.938 kB / 0.7091 GB, free: 3.801 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.6817, allocations: 7.938 kB / 0.7091 GB, free: 3.793 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.6818, allocations: 0 / 0.7091 GB, free: 3.793 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.552e-05/0.6818, allocations: 19.95 kB / 0.7092 GB, free: 3.773 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004436/0.6823, allocations: 272.9 kB / 0.7094 GB, free: 3.457 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.287e-05/0.6824, allocations: 26.58 kB / 0.7094 GB, free: 3.422 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.075e-05/0.6825, allocations: 24.94 kB / 0.7095 GB, free: 3.395 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.6825, allocations: 0 / 0.7095 GB, free: 3.395 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.6826, allocations: 38.56 kB / 0.7095 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.818e-06/0.6826, allocations: 0 / 0.7095 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0002031/0.6828, allocations: 57.58 kB / 0.7096 GB, free: 3.285 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.6828, allocations: 51.41 kB / 0.7096 GB, free: 3.223 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.683, allocations: 112.9 kB / 0.7097 GB, free: 3.105 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.683, allocations: 29.7 kB / 0.7097 GB, free: 3.07 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.7e-05/0.6831, allocations: 96.03 kB / 0.7098 GB, free: 2.973 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.6831, allocations: 3.906 kB / 0.7098 GB, free: 2.969 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.361e-06/0.6831, allocations: 4 kB / 0.7098 GB, free: 2.965 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.6833, allocations: 314.8 kB / 0.7101 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.8e-05/0.6833, allocations: 11.98 kB / 0.7102 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.185e-05/0.6834, allocations: 8 kB / 0.7102 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.879e-05/0.6834, allocations: 4 kB / 0.7102 GB, free: 2.625 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.516e-06/0.6834, allocations: 4 kB / 0.7102 GB, free: 2.621 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001414/0.6836, allocations: 57.59 kB / 0.7102 GB, free: 2.559 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.6836, allocations: 8 kB / 0.7102 GB, free: 2.551 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.412e-06/0.6836, allocations: 0 / 0.7102 GB, free: 2.551 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.6836, allocations: 0 / 0.7102 GB, free: 2.551 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.6838, allocations: 19.88 kB / 0.7103 GB, free: 2.531 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.857e-06/0.6838, allocations: 0 / 0.7103 GB, free: 2.531 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.356e-05/0.6839, allocations: 8 kB / 0.7103 GB, free: 2.523 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.6839, allocations: 3.984 kB / 0.7103 GB, free: 2.52 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.209e-05/0.684, allocations: 109 kB / 0.7104 GB, free: 2.406 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.91e-05/0.6841, allocations: 4 kB / 0.7104 GB, free: 2.402 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.246e-05/0.6841, allocations: 4.031 kB / 0.7104 GB, free: 2.395 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.248e-06/0.6841, allocations: 3.938 kB / 0.7104 GB, free: 2.391 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.6841, allocations: 3.953 kB / 0.7104 GB, free: 2.387 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.963e-06/0.6841, allocations: 0 / 0.7104 GB, free: 2.387 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.6844, allocations: 177.6 kB / 0.7106 GB, free: 2.164 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.297e-06/0.6844, allocations: 192 / 0.7106 GB, free: 2.164 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.6845, allocations: 8 kB / 0.7106 GB, free: 2.156 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.54e-06/0.6845, allocations: 4 kB / 0.7106 GB, free: 2.152 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.6845, allocations: 11.97 kB / 0.7106 GB, free: 2.141 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.29e-06/0.6846, allocations: 0 / 0.7106 GB, free: 2.141 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.743e-06/0.6846, allocations: 4 kB / 0.7106 GB, free: 2.137 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.6848, allocations: 159.3 kB / 0.7107 GB, free: 1.965 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.196e-05/0.6848, allocations: 81.02 kB / 0.7108 GB, free: 1.867 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.6849, allocations: 0 / 0.7108 GB, free: 1.867 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.685, allocations: 15.98 kB / 0.7108 GB, free: 1.852 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.169e-05/0.685, allocations: 0 / 0.7108 GB, free: 1.852 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.6851, allocations: 0 / 0.7108 GB, free: 1.852 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.372e-05/0.6851, allocations: 95.27 kB / 0.7109 GB, free: 1.758 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.96e-07/0.6852, allocations: 0 / 0.7109 GB, free: 1.758 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002997/0.6855, allocations: 15.95 kB / 0.7109 GB, free: 1.742 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.0001229/0.6856, allocations: 99.03 kB / 0.711 GB, free: 1.633 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001214/0.6857, allocations: 20 kB / 0.711 GB, free: 1.613 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.226e-06/0.6857, allocations: 4 kB / 0.7111 GB, free: 1.609 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.178e-05/0.6858, allocations: 19.92 kB / 0.7111 GB, free: 1.59 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.686, allocations: 4 kB / 0.7111 GB, free: 1.586 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002839/0.6863, allocations: 80.73 kB / 0.7112 GB, free: 1.484 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.6866, allocations: 0.6887 MB / 0.7118 GB, free: 0.7695 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.757e-05/0.6867, allocations: 0 / 0.7118 GB, free: 0.7695 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.6868, allocations: 15.44 kB / 0.7118 GB, free: 0.7539 MB / 0.5886 GB Notification: Performance of SimCode: time 1.505e-06/0.6868, allocations: 0 / 0.7118 GB, free: 0.7539 MB / 0.5886 GB Notification: Performance of Templates: time 0.002646/0.6894, allocations: 394.3 kB / 0.7122 GB, free: 384 kB / 0.5886 GB