Running command: "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.JSONWriter,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_JSONWriter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.424/3.424, allocations: 343.8 MB / 355.9 MB, free: 9.375 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 5.062e-05/5.069e-05, allocations: 4 kB / 436.7 MB, free: 2.371 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2006, allocations: 77.73 MB / 0.5023 GB, free: 4.484 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6605/0.8613, allocations: 107.6 MB / 0.6074 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003199/0.8616, allocations: 78.48 kB / 0.6074 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01606/0.8778, allocations: 3.266 MB / 0.6106 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8778, allocations: 0 / 0.6106 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.45e-05/0.8779, allocations: 12.66 kB / 0.6106 GB, free: 10.09 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.0007948/0.8787, allocations: 436.4 kB / 0.6111 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.8787, allocations: 12.03 kB / 0.6111 GB, free: 9.613 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.56e-05/0.8788, allocations: 34.56 kB / 0.6111 GB, free: 9.57 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.711e-05/0.8789, allocations: 23.77 kB / 0.6111 GB, free: 9.547 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004117/0.8793, allocations: 227.7 kB / 0.6113 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.8794, allocations: 11.94 kB / 0.6114 GB, free: 9.27 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.8794, allocations: 4 kB / 0.6114 GB, free: 9.266 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.8797, allocations: 89.59 kB / 0.6114 GB, free: 9.172 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.8797, allocations: 0 / 0.6114 GB, free: 9.172 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.8797, allocations: 0 / 0.6114 GB, free: 9.172 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.8798, allocations: 4 kB / 0.6114 GB, free: 9.168 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.8799, allocations: 32 kB / 0.6115 GB, free: 9.137 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009704/0.8809, allocations: 396.4 kB / 0.6119 GB, free: 8.699 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.881, allocations: 30.53 kB / 0.6119 GB, free: 8.66 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.667e-05/0.8811, allocations: 8.922 kB / 0.6119 GB, free: 8.648 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.8811, allocations: 4 kB / 0.6119 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/0.8813, allocations: 85.05 kB / 0.612 GB, free: 8.543 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 2.384e-06/0.8814, allocations: 0 / 0.612 GB, free: 8.543 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0002387/0.8816, allocations: 61.5 kB / 0.612 GB, free: 8.477 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.814e-05/0.8817, allocations: 77.11 kB / 0.6121 GB, free: 8.383 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003945/0.8821, allocations: 225 kB / 0.6123 GB, free: 8.152 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.8822, allocations: 25.7 kB / 0.6123 GB, free: 8.121 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.8823, allocations: 132.1 kB / 0.6125 GB, free: 7.988 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.8823, allocations: 3.906 kB / 0.6125 GB, free: 7.984 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/0.8823, allocations: 0 / 0.6125 GB, free: 7.984 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.8825, allocations: 332 kB / 0.6128 GB, free: 7.652 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.468e-05/0.8826, allocations: 11.94 kB / 0.6128 GB, free: 7.641 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.627e-05/0.8827, allocations: 35.38 kB / 0.6128 GB, free: 7.594 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.917e-05/0.8827, allocations: 16.02 kB / 0.6129 GB, free: 7.578 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.8828, allocations: 4 kB / 0.6129 GB, free: 7.574 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002058/0.883, allocations: 69.31 kB / 0.6129 GB, free: 7.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.883, allocations: 11.98 kB / 0.6129 GB, free: 7.488 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.883, allocations: 0 / 0.6129 GB, free: 7.488 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.883, allocations: 0 / 0.6129 GB, free: 7.488 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.8833, allocations: 20.08 kB / 0.613 GB, free: 7.469 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.8833, allocations: 0 / 0.613 GB, free: 7.469 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.8835, allocations: 19.98 kB / 0.613 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.8835, allocations: 0 / 0.613 GB, free: 7.449 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 0.0001094/0.8836, allocations: 109 kB / 0.6131 GB, free: 7.336 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.577e-05/0.8837, allocations: 19.77 kB / 0.6131 GB, free: 7.316 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.918e-05/0.8838, allocations: 17.23 kB / 0.6131 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.8838, allocations: 11.94 kB / 0.6131 GB, free: 7.285 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.8838, allocations: 0 / 0.6131 GB, free: 7.285 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.8838, allocations: 0 / 0.6131 GB, free: 7.285 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002845/0.8841, allocations: 217.5 kB / 0.6133 GB, free: 7.023 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.8841, allocations: 3.984 kB / 0.6133 GB, free: 7.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.8843, allocations: 15.98 kB / 0.6134 GB, free: 7.004 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.8843, allocations: 3.953 kB / 0.6134 GB, free: 7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.8844, allocations: 0 / 0.6134 GB, free: 7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.8844, allocations: 7.938 kB / 0.6134 GB, free: 6.992 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.8844, allocations: 4 kB / 0.6134 GB, free: 6.988 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002295/0.8846, allocations: 92.97 kB / 0.6135 GB, free: 6.879 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.8848, allocations: 100.9 kB / 0.6136 GB, free: 6.762 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.762e-05/0.8848, allocations: 3.953 kB / 0.6136 GB, free: 6.758 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.885, allocations: 11.98 kB / 0.6136 GB, free: 6.746 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.161e-05/0.8851, allocations: 11.98 kB / 0.6136 GB, free: 6.734 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.635e-05/0.8851, allocations: 8 kB / 0.6136 GB, free: 6.727 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002872/0.8854, allocations: 173.4 kB / 0.6138 GB, free: 6.559 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.91e-07/0.8854, allocations: 0 / 0.6138 GB, free: 6.559 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003686/0.8858, allocations: 27.98 kB / 0.6138 GB, free: 6.531 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.0008062/0.8866, allocations: 0.6569 MB / 0.6144 GB, free: 5.852 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001748/0.8868, allocations: 20 kB / 0.6144 GB, free: 5.832 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.8868, allocations: 0 / 0.6144 GB, free: 5.832 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.296e-05/0.8869, allocations: 19.92 kB / 0.6145 GB, free: 5.812 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004456/0.8874, allocations: 48.17 kB / 0.6145 GB, free: 5.77 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.8885, allocations: 231.3 kB / 0.6147 GB, free: 5.508 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005406/0.8891, allocations: 0.7277 MB / 0.6154 GB, free: 4.754 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000165/0.8893, allocations: 24.47 kB / 0.6155 GB, free: 4.73 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.8895, allocations: 35.42 kB / 0.6155 GB, free: 4.695 MB / 0.4948 GB Notification: Performance of SimCode: time 1.513e-06/0.8895, allocations: 4 kB / 0.6155 GB, free: 4.691 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02632/0.9158, allocations: 3.226 MB / 0.6186 GB, free: 1.562 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003554/0.9162, allocations: 164.4 kB / 0.6188 GB, free: 1.34 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.769/3.686, allocations: 0 / 0.6188 GB, free: 1.34 MB / 0.4948 GB