Running command: translateModel(Buildings.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.JSONWriter") Notification: Performance of loadModel(Buildings): time 4.042/4.042, allocations: 460.5 MB / 472.6 MB, free: 5.359 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.02e-05/4.032e-05, allocations: 7.938 kB / 0.5681 GB, free: 10.15 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2002, allocations: 106.2 MB / 0.6718 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8053/1.006, allocations: 133.4 MB / 0.8021 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/1.006, allocations: 79.72 kB / 0.8022 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01201/1.018, allocations: 3.271 MB / 0.8054 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.193e-06/1.018, allocations: 2.625 kB / 0.8054 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.977e-05/1.018, allocations: 3.969 kB / 0.8054 GB, free: 12.62 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.0004494/1.018, allocations: 438.5 kB / 0.8058 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/1.018, allocations: 7.688 kB / 0.8058 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.67e-05/1.019, allocations: 23.3 kB / 0.8058 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/1.019, allocations: 233 kB / 0.806 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/1.019, allocations: 7.781 kB / 0.806 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.851e-05/1.019, allocations: 7.406 kB / 0.806 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/1.019, allocations: 84.7 kB / 0.8061 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/1.019, allocations: 4 kB / 0.8061 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/1.019, allocations: 0 / 0.8061 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/1.019, allocations: 0 / 0.8061 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.254e-05/1.019, allocations: 34.95 kB / 0.8062 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00059/1.02, allocations: 399.3 kB / 0.8065 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.125e-05/1.02, allocations: 26.12 kB / 0.8066 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.739e-05/1.02, allocations: 11.52 kB / 0.8066 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/1.02, allocations: 0 / 0.8066 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001461/1.02, allocations: 84.09 kB / 0.8067 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.989e-06/1.02, allocations: 4 kB / 0.8067 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001687/1.02, allocations: 65.16 kB / 0.8067 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/1.02, allocations: 77.11 kB / 0.8068 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/1.021, allocations: 219.6 kB / 0.807 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/1.021, allocations: 28.95 kB / 0.807 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.181e-05/1.021, allocations: 128.7 kB / 0.8072 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/1.021, allocations: 3.906 kB / 0.8072 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.081e-06/1.021, allocations: 3.844 kB / 0.8072 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.201e-05/1.021, allocations: 327.6 kB / 0.8075 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.536e-05/1.021, allocations: 11.78 kB / 0.8075 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.575e-05/1.021, allocations: 37.91 kB / 0.8075 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.939e-05/1.021, allocations: 7.031 kB / 0.8075 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.731e-06/1.021, allocations: 0 / 0.8075 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001513/1.021, allocations: 75.03 kB / 0.8076 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/1.021, allocations: 7.812 kB / 0.8076 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.302e-06/1.021, allocations: 0 / 0.8076 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/1.021, allocations: 0 / 0.8076 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/1.021, allocations: 21.28 kB / 0.8076 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.703e-06/1.021, allocations: 3.984 kB / 0.8076 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/1.022, allocations: 18.16 kB / 0.8077 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/1.022, allocations: 15.78 kB / 0.8077 GB, free: 10.78 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.198e-05/1.022, allocations: 104 kB / 0.8078 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.579e-05/1.022, allocations: 19.55 kB / 0.8078 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.046e-05/1.022, allocations: 23.58 kB / 0.8078 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.862e-06/1.022, allocations: 0 / 0.8078 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.387e-06/1.022, allocations: 0 / 0.8078 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.063e-06/1.022, allocations: 0 / 0.8078 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/1.022, allocations: 219.9 kB / 0.808 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.107e-06/1.022, allocations: 0 / 0.808 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/1.022, allocations: 18.81 kB / 0.808 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/1.022, allocations: 11.83 kB / 0.808 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.436e-06/1.022, allocations: 0 / 0.808 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.168e-06/1.022, allocations: 0 / 0.808 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.614e-06/1.022, allocations: 0 / 0.808 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/1.022, allocations: 92.58 kB / 0.8081 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.519e-05/1.022, allocations: 98.89 kB / 0.8082 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.072e-05/1.022, allocations: 7.953 kB / 0.8082 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/1.023, allocations: 20.88 kB / 0.8083 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.345e-05/1.023, allocations: 0 / 0.8083 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/1.023, allocations: 6.984 kB / 0.8083 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001744/1.023, allocations: 178.9 kB / 0.8084 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.89e-07/1.023, allocations: 0 / 0.8084 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003255/1.023, allocations: 26.56 kB / 0.8085 GB, free: 10.18 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.0002355/1.023, allocations: 127.3 kB / 0.8086 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000134/1.024, allocations: 29.03 kB / 0.8086 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.858e-06/1.024, allocations: 0 / 0.8086 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.534e-05/1.024, allocations: 11.22 kB / 0.8086 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/1.024, allocations: 44.88 kB / 0.8087 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004357/1.024, allocations: 185.7 kB / 0.8088 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001639/1.025, allocations: 0.7213 MB / 0.8095 GB, free: 9.277 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.707e-05/1.025, allocations: 17.67 kB / 0.8096 GB, free: 9.277 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.941e-05/1.025, allocations: 19.16 kB / 0.8096 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of SimCode: time 1.421e-06/1.025, allocations: 3.938 kB / 0.8096 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of Templates: time 0.00566/1.03, allocations: 1.622 MB / 0.8112 GB, free: 9.078 MB / 0.6355 GB