Running command: translateModel(BuildingSystems.Utilities.IO.Files.Examples.JSONWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.JSONWriter") Notification: Performance of loadModel(BuildingSystems): time 3.116/3.116, allocations: 343.8 MB / 355.9 MB, free: 9.383 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 3.811e-05/3.827e-05, allocations: 7.516 kB / 436.6 MB, free: 2.465 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1462, allocations: 77.72 MB / 0.5022 GB, free: 4.582 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.545/0.6912, allocations: 107.6 MB / 0.6073 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.6915, allocations: 80.45 kB / 0.6074 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01331/0.7049, allocations: 3.268 MB / 0.6106 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.539e-06/0.7049, allocations: 0 / 0.6106 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.884e-05/0.7049, allocations: 4.656 kB / 0.6106 GB, free: 10.19 MB / 0.4948 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.0005952/0.7055, allocations: 433.6 kB / 0.611 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.7056, allocations: 11.97 kB / 0.611 GB, free: 9.715 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.971e-05/0.7057, allocations: 19.81 kB / 0.611 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003507/0.706, allocations: 235.6 kB / 0.6112 GB, free: 9.422 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.7061, allocations: 4 kB / 0.6112 GB, free: 9.418 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.7061, allocations: 8 kB / 0.6112 GB, free: 9.41 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002239/0.7063, allocations: 81.61 kB / 0.6113 GB, free: 9.324 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.048e-06/0.7063, allocations: 0 / 0.6113 GB, free: 9.324 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.7064, allocations: 8 kB / 0.6113 GB, free: 9.316 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.51e-06/0.7064, allocations: 4 kB / 0.6113 GB, free: 9.312 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.7065, allocations: 31.98 kB / 0.6114 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007459/0.7073, allocations: 388.4 kB / 0.6117 GB, free: 8.852 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.87e-05/0.7074, allocations: 34.47 kB / 0.6118 GB, free: 8.809 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.838e-05/0.7074, allocations: 12.92 kB / 0.6118 GB, free: 8.793 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.7075, allocations: 0 / 0.6118 GB, free: 8.793 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001732/0.7076, allocations: 81.11 kB / 0.6119 GB, free: 8.695 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 2.347e-06/0.7077, allocations: 0 / 0.6119 GB, free: 8.695 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001961/0.7079, allocations: 65.5 kB / 0.6119 GB, free: 8.625 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.521e-05/0.7079, allocations: 85.09 kB / 0.612 GB, free: 8.523 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003383/0.7083, allocations: 221 kB / 0.6122 GB, free: 8.297 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.7083, allocations: 25.7 kB / 0.6122 GB, free: 8.266 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.7085, allocations: 132 kB / 0.6124 GB, free: 8.133 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.7085, allocations: 11.83 kB / 0.6124 GB, free: 8.121 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.385e-06/0.7085, allocations: 0 / 0.6124 GB, free: 8.121 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.7087, allocations: 326.8 kB / 0.6127 GB, free: 7.793 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.803e-05/0.7087, allocations: 8 kB / 0.6127 GB, free: 7.785 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.551e-05/0.7088, allocations: 39.45 kB / 0.6127 GB, free: 7.734 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.625e-05/0.7089, allocations: 12 kB / 0.6127 GB, free: 7.723 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.437e-06/0.7089, allocations: 0 / 0.6127 GB, free: 7.723 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001686/0.7091, allocations: 69.52 kB / 0.6128 GB, free: 7.648 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.7091, allocations: 12.62 kB / 0.6128 GB, free: 7.637 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.444e-06/0.7091, allocations: 0 / 0.6128 GB, free: 7.637 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.7091, allocations: 3.938 kB / 0.6128 GB, free: 7.633 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.7093, allocations: 19.98 kB / 0.6128 GB, free: 7.613 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.254e-06/0.7093, allocations: 3.984 kB / 0.6128 GB, free: 7.609 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.7095, allocations: 19.89 kB / 0.6129 GB, free: 7.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.7095, allocations: 4 kB / 0.6129 GB, free: 7.586 MB / 0.4948 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 9.22e-05/0.7096, allocations: 107.2 kB / 0.613 GB, free: 7.477 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.494e-05/0.7096, allocations: 23.75 kB / 0.613 GB, free: 7.453 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.96e-05/0.7097, allocations: 17.25 kB / 0.613 GB, free: 7.434 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.7097, allocations: 7.938 kB / 0.613 GB, free: 7.426 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.7097, allocations: 0 / 0.613 GB, free: 7.426 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.986e-06/0.7097, allocations: 3.938 kB / 0.613 GB, free: 7.422 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.71, allocations: 217.5 kB / 0.6132 GB, free: 7.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.71, allocations: 0 / 0.6132 GB, free: 7.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.7101, allocations: 19.98 kB / 0.6132 GB, free: 7.141 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.37e-06/0.7102, allocations: 0 / 0.6132 GB, free: 7.141 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.7102, allocations: 3.953 kB / 0.6132 GB, free: 7.137 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.528e-06/0.7102, allocations: 4 kB / 0.6133 GB, free: 7.133 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.466e-06/0.7102, allocations: 0 / 0.6133 GB, free: 7.133 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.7104, allocations: 88.92 kB / 0.6133 GB, free: 7.027 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.666e-05/0.7105, allocations: 100.8 kB / 0.6134 GB, free: 6.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.226e-05/0.7105, allocations: 7.984 kB / 0.6134 GB, free: 6.902 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.7107, allocations: 15.94 kB / 0.6135 GB, free: 6.887 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/0.7107, allocations: 4 kB / 0.6135 GB, free: 6.883 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.957e-05/0.7108, allocations: 4 kB / 0.6135 GB, free: 6.879 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002422/0.711, allocations: 181.4 kB / 0.6136 GB, free: 6.703 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.12e-07/0.711, allocations: 0 / 0.6136 GB, free: 6.703 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003067/0.7114, allocations: 24.12 kB / 0.6137 GB, free: 6.68 MB / 0.4948 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.0002751/0.7117, allocations: 134.7 kB / 0.6138 GB, free: 6.547 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001316/0.7118, allocations: 23.98 kB / 0.6138 GB, free: 6.523 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.699e-06/0.7118, allocations: 0 / 0.6138 GB, free: 6.523 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.059e-05/0.7119, allocations: 16.19 kB / 0.6138 GB, free: 6.508 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.7122, allocations: 43.33 kB / 0.6139 GB, free: 6.469 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005113/0.7127, allocations: 185.9 kB / 0.614 GB, free: 6.266 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004468/0.7132, allocations: 0.7316 MB / 0.6148 GB, free: 5.508 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.1e-05/0.7133, allocations: 16.48 kB / 0.6148 GB, free: 5.492 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.198e-05/0.7134, allocations: 19.44 kB / 0.6148 GB, free: 5.473 MB / 0.4948 GB Notification: Performance of SimCode: time 1.487e-06/0.7134, allocations: 0 / 0.6148 GB, free: 5.473 MB / 0.4948 GB Notification: Performance of Templates: time 0.00627/0.7197, allocations: 1.615 MB / 0.6164 GB, free: 3.879 MB / 0.4948 GB