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.259/4.259, allocations: 458.9 MB / 473.4 MB, free: 11.88 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.838e-05/2.842e-05, allocations: 3.844 kB / 0.5697 GB, free: 9.793 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2193, allocations: 106.2 MB / 0.6734 GB, free: 2.629 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.JSONWriter): time 0.002484/0.2219, allocations: 1.332 MB / 0.6747 GB, free: 1.281 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.2231, allocations: 0.4923 MB / 0.6752 GB, free: 0.7812 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.908e-05/0.2232, allocations: 4 kB / 0.6752 GB, free: 0.7773 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0001543/0.2234, allocations: 23.84 kB / 0.6752 GB, free: 0.7539 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.0002965/0.2237, allocations: 55.78 kB / 0.6753 GB, free: 0.6992 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001716/0.2238, allocations: 47.92 kB / 0.6753 GB, free: 0.6523 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.2241, allocations: 79.83 kB / 0.6754 GB, free: 0.5742 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.2242, allocations: 27.92 kB / 0.6754 GB, free: 0.5469 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.2243, allocations: 39.84 kB / 0.6755 GB, free: 0.5078 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 9.789e-05/0.2245, allocations: 35.84 kB / 0.6755 GB, free: 484 kB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 6.4e-05/0.2245, allocations: 8 kB / 0.6755 GB, free: 476 kB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 2.748e-05/0.2246, allocations: 4 kB / 0.6755 GB, free: 472 kB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 9.3e-05/0.2247, allocations: 43.84 kB / 0.6756 GB, free: 428 kB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 3.185e-05/0.2247, allocations: 8 kB / 0.6756 GB, free: 420 kB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.2249, allocations: 104 kB / 0.6757 GB, free: 316 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.2249, allocations: 0 / 0.6757 GB, free: 316 kB / 0.5417 GB Notification: Performance of FrontEnd: time 2.094e-06/0.225, allocations: 0 / 0.6757 GB, free: 316 kB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.225, allocations: 0 / 0.6757 GB, free: 316 kB / 0.5417 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.0007385/0.2257, allocations: 434.9 kB / 0.6761 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.2258, allocations: 8.031 kB / 0.6761 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.35e-05/0.2259, allocations: 19.77 kB / 0.6761 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003783/0.2262, allocations: 227.7 kB / 0.6763 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.2263, allocations: 0 / 0.6763 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.2263, allocations: 4 kB / 0.6763 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004253/0.2267, allocations: 121.6 kB / 0.6764 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.537e-06/0.2268, allocations: 4 kB / 0.6765 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.2268, allocations: 0 / 0.6765 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.2268, allocations: 0 / 0.6765 GB, free: 15.41 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004155/0.2272, allocations: 79.94 kB / 0.6765 GB, free: 15.33 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000848/0.2281, allocations: 396.4 kB / 0.6769 GB, free: 14.89 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002427/0.2284, allocations: 58.47 kB / 0.677 GB, free: 14.83 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.2284, allocations: 0 / 0.677 GB, free: 14.83 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003681/0.2288, allocations: 105.1 kB / 0.6771 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.643e-06/0.2288, allocations: 0 / 0.6771 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0007338/0.2295, allocations: 141.4 kB / 0.6772 GB, free: 14.56 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.2296, allocations: 84.98 kB / 0.6773 GB, free: 14.46 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000359/0.23, allocations: 232.2 kB / 0.6775 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.642e-05/0.23, allocations: 25.7 kB / 0.6775 GB, free: 14.2 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.2302, allocations: 131.9 kB / 0.6777 GB, free: 14.06 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.2302, allocations: 11.89 kB / 0.6777 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.111e-05/0.2302, allocations: 8 kB / 0.6777 GB, free: 14.04 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.2304, allocations: 322.8 kB / 0.678 GB, free: 13.72 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.2306, allocations: 31.97 kB / 0.678 GB, free: 13.69 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.2308, allocations: 55.41 kB / 0.6781 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.231, allocations: 31.98 kB / 0.6781 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.2311, allocations: 4.031 kB / 0.6781 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005264/0.2316, allocations: 117.3 kB / 0.6782 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.2316, allocations: 8.094 kB / 0.6782 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.2317, allocations: 4 kB / 0.6782 GB, free: 13.45 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.2317, allocations: 3.984 kB / 0.6782 GB, free: 13.45 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.2319, allocations: 19.92 kB / 0.6782 GB, free: 13.43 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2319, allocations: 0 / 0.6782 GB, free: 13.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.2321, allocations: 19.89 kB / 0.6783 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.2321, allocations: 0 / 0.6783 GB, free: 13.41 MB / 0.5573 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 0.0001719/0.2323, allocations: 133.8 kB / 0.6784 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.176e-05/0.2323, allocations: 19.77 kB / 0.6784 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.144e-05/0.2324, allocations: 13.25 kB / 0.6784 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.2324, allocations: 4 kB / 0.6784 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2324, allocations: 0 / 0.6784 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.2324, allocations: 7.984 kB / 0.6784 GB, free: 13.22 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.2327, allocations: 209.6 kB / 0.6786 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.2327, allocations: 0 / 0.6786 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.2329, allocations: 19.98 kB / 0.6787 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.2329, allocations: 3.953 kB / 0.6787 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.2329, allocations: 0 / 0.6787 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.2329, allocations: 4 kB / 0.6787 GB, free: 12.94 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.2329, allocations: 0 / 0.6787 GB, free: 12.94 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005019/0.2334, allocations: 140.8 kB / 0.6788 GB, free: 12.79 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.874e-05/0.2335, allocations: 92.91 kB / 0.6789 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.9e-05/0.2336, allocations: 7.953 kB / 0.6789 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.2337, allocations: 15.98 kB / 0.6789 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.977e-05/0.2338, allocations: 3.984 kB / 0.6789 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.581e-05/0.2338, allocations: 8 kB / 0.6789 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002751/0.2341, allocations: 196.4 kB / 0.6791 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.6e-07/0.2341, allocations: 0 / 0.6791 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002907/0.2344, allocations: 23.84 kB / 0.6791 GB, free: 12.43 MB / 0.5573 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.0003064/0.2348, allocations: 134 kB / 0.6793 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0005014/0.2353, allocations: 67.89 kB / 0.6793 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.2353, allocations: 8.188 kB / 0.6793 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000215/0.2355, allocations: 31.97 kB / 0.6794 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.2359, allocations: 45.05 kB / 0.6794 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007665/0.2367, allocations: 314.4 kB / 0.6797 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.237, allocations: 0.7238 MB / 0.6804 GB, free: 11.07 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001137/0.2372, allocations: 16.53 kB / 0.6804 GB, free: 11.05 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.056e-05/0.2372, allocations: 19.42 kB / 0.6804 GB, free: 11.03 MB / 0.5573 GB Notification: Performance of SimCode: time 9.12e-07/0.2372, allocations: 0 / 0.6804 GB, free: 11.03 MB / 0.5573 GB Notification: Performance of Templates: time 0.006714/0.244, allocations: 1.567 MB / 0.682 GB, free: 9.48 MB / 0.5573 GB