Running command: translateModel(Buildings.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.JSONWriter") Notification: Performance of loadModel(Buildings): time 4.063/4.063, allocations: 464.6 MB / 476.8 MB, free: 2.121 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.357e-05/3.375e-05, allocations: 4 kB / 0.5731 GB, free: 5.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2618, allocations: 107.2 MB / 0.6777 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7787/1.041, allocations: 133.8 MB / 0.8084 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/1.041, allocations: 76.92 kB / 0.8085 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01214/1.053, allocations: 3.275 MB / 0.8117 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.312e-06/1.053, allocations: 0 / 0.8117 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.79e-05/1.053, allocations: 9.266 kB / 0.8117 GB, free: 12.14 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004737/1.054, allocations: 439.2 kB / 0.8121 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/1.054, allocations: 7.625 kB / 0.8121 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.734e-05/1.054, allocations: 19.5 kB / 0.8121 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/1.054, allocations: 232.2 kB / 0.8123 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/1.054, allocations: 3.906 kB / 0.8123 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/1.054, allocations: 5.969 kB / 0.8123 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/1.054, allocations: 85.59 kB / 0.8124 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.631e-06/1.054, allocations: 0 / 0.8124 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/1.054, allocations: 7.5 kB / 0.8124 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.406e-06/1.054, allocations: 3.781 kB / 0.8124 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.266e-05/1.054, allocations: 33.23 kB / 0.8125 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000608/1.055, allocations: 389.2 kB / 0.8128 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.089e-05/1.055, allocations: 28.83 kB / 0.8129 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.888e-05/1.055, allocations: 12.08 kB / 0.8129 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/1.055, allocations: 0 / 0.8129 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000152/1.055, allocations: 86.66 kB / 0.813 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.297e-06/1.055, allocations: 0 / 0.813 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.000192/1.056, allocations: 66.94 kB / 0.813 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/1.056, allocations: 80.95 kB / 0.8131 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002585/1.056, allocations: 220.4 kB / 0.8133 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/1.056, allocations: 29.52 kB / 0.8133 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.623e-05/1.056, allocations: 128.4 kB / 0.8135 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/1.056, allocations: 3.906 kB / 0.8135 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-06/1.056, allocations: 0 / 0.8135 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.331e-05/1.056, allocations: 333.5 kB / 0.8138 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.563e-05/1.056, allocations: 11.78 kB / 0.8138 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.534e-05/1.056, allocations: 30.88 kB / 0.8138 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.193e-05/1.056, allocations: 9.797 kB / 0.8138 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.538e-06/1.056, allocations: 3.938 kB / 0.8138 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001493/1.057, allocations: 71.36 kB / 0.8139 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/1.057, allocations: 7.719 kB / 0.8139 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.512e-06/1.057, allocations: 0 / 0.8139 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/1.057, allocations: 3.953 kB / 0.8139 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/1.057, allocations: 24.84 kB / 0.8139 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.464e-06/1.057, allocations: 3.938 kB / 0.8139 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/1.057, allocations: 17.58 kB / 0.814 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/1.057, allocations: 8 kB / 0.814 GB, free: 10.32 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * 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 5.5e-05/1.057, allocations: 101 kB / 0.8141 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.776e-05/1.057, allocations: 17.88 kB / 0.8141 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.165e-05/1.057, allocations: 22.3 kB / 0.8141 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/1.057, allocations: 3.953 kB / 0.8141 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.196e-06/1.057, allocations: 0 / 0.8141 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.172e-06/1.057, allocations: 0 / 0.8141 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/1.057, allocations: 224.7 kB / 0.8143 GB, free: 10 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.418e-06/1.057, allocations: 0 / 0.8143 GB, free: 10 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/1.057, allocations: 18.62 kB / 0.8143 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.683e-06/1.057, allocations: 0 / 0.8143 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.015e-06/1.057, allocations: 0 / 0.8143 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/1.057, allocations: 2.859 kB / 0.8143 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/1.058, allocations: 7.797 kB / 0.8144 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/1.058, allocations: 86.77 kB / 0.8144 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.644e-05/1.058, allocations: 101.6 kB / 0.8145 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.263e-05/1.058, allocations: 4 kB / 0.8145 GB, free: 9.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/1.058, allocations: 14.11 kB / 0.8145 GB, free: 9.812 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/1.058, allocations: 6.422 kB / 0.8146 GB, free: 9.812 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.059e-05/1.058, allocations: 7.828 kB / 0.8146 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001896/1.058, allocations: 182.3 kB / 0.8147 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.77e-07/1.058, allocations: 0 / 0.8147 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003382/1.059, allocations: 27.41 kB / 0.8148 GB, free: 9.723 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * 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.0002491/1.059, allocations: 128.6 kB / 0.8149 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001306/1.059, allocations: 25.5 kB / 0.8149 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.944e-06/1.059, allocations: 0 / 0.8149 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.6e-05/1.059, allocations: 14.75 kB / 0.8149 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/1.059, allocations: 49.05 kB / 0.815 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004469/1.06, allocations: 185 kB / 0.8151 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/1.06, allocations: 0.7209 MB / 0.8158 GB, free: 24.82 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.549e-05/1.06, allocations: 21.7 kB / 0.8159 GB, free: 24.82 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.352e-05/1.06, allocations: 18.27 kB / 0.8159 GB, free: 24.81 MB / 0.6511 GB Notification: Performance of SimCode: time 1.496e-06/1.06, allocations: 4 kB / 0.8159 GB, free: 24.8 MB / 0.6511 GB Notification: Performance of Templates: time 0.006111/1.067, allocations: 1.62 MB / 0.8175 GB, free: 24.62 MB / 0.6511 GB