Running command: "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.JSONWriter,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_JSONWriter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 2.979/2.979, allocations: 288.1 MB / 300.7 MB, free: 15.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.78e-05/3.798e-05, allocations: 5.531 kB / 370.6 MB, free: 7.867 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1483, allocations: 67 MB / 437.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6059/0.7543, allocations: 99.61 MB / 0.5247 GB, free: 16.92 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/0.7547, allocations: 80.06 kB / 0.5247 GB, free: 16.92 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01585/0.7705, allocations: 3.279 MB / 0.5279 GB, free: 32.45 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.7706, allocations: 0 / 0.5279 GB, free: 32.45 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.281e-05/0.7706, allocations: 3.719 kB / 0.528 GB, free: 32.45 MB / 458.7 MB 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.0007283/0.7714, allocations: 431 kB / 0.5284 GB, free: 32.07 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.7714, allocations: 9.688 kB / 0.5284 GB, free: 32.07 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.736e-05/0.7715, allocations: 34.27 kB / 0.5284 GB, free: 32.03 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.44e-05/0.7716, allocations: 20.48 kB / 0.5284 GB, free: 32.02 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/0.7719, allocations: 241.7 kB / 0.5287 GB, free: 31.8 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.772, allocations: 3.375 kB / 0.5287 GB, free: 31.8 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.772, allocations: 10.47 kB / 0.5287 GB, free: 31.8 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/0.7723, allocations: 79.06 kB / 0.5287 GB, free: 31.77 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.7723, allocations: 3.953 kB / 0.5287 GB, free: 31.76 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.48e-05/0.7724, allocations: 6.234 kB / 0.5288 GB, free: 31.76 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.7724, allocations: 1.469 kB / 0.5288 GB, free: 31.76 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.7725, allocations: 35.47 kB / 0.5288 GB, free: 31.76 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009095/0.7734, allocations: 392 kB / 0.5292 GB, free: 31.47 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.813e-05/0.7735, allocations: 32.06 kB / 0.5292 GB, free: 31.44 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.489e-05/0.7736, allocations: 13.66 kB / 0.5292 GB, free: 31.43 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.7736, allocations: 1.031 kB / 0.5292 GB, free: 31.43 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000184/0.7738, allocations: 81.72 kB / 0.5293 GB, free: 31.37 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 2.695e-06/0.7738, allocations: 0 / 0.5293 GB, free: 31.37 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002266/0.774, allocations: 67.22 kB / 0.5293 GB, free: 31.32 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.7741, allocations: 77.72 kB / 0.5294 GB, free: 31.23 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003893/0.7745, allocations: 217.8 kB / 0.5296 GB, free: 31.13 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.7745, allocations: 29.11 kB / 0.5297 GB, free: 31.1 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.7747, allocations: 131.5 kB / 0.5298 GB, free: 31.01 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.7747, allocations: 9.312 kB / 0.5298 GB, free: 31 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-06/0.7747, allocations: 3.938 kB / 0.5298 GB, free: 31 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.7749, allocations: 334.2 kB / 0.5301 GB, free: 30.68 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.267e-05/0.7749, allocations: 8.312 kB / 0.5301 GB, free: 30.68 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.723e-05/0.775, allocations: 30.73 kB / 0.5302 GB, free: 30.65 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.008e-05/0.7751, allocations: 14.45 kB / 0.5302 GB, free: 30.65 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.7751, allocations: 1.5 kB / 0.5302 GB, free: 30.65 MB / 458.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001796/0.7753, allocations: 71.05 kB / 0.5302 GB, free: 30.61 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.7753, allocations: 9.562 kB / 0.5302 GB, free: 30.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.7753, allocations: 0 / 0.5302 GB, free: 30.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.7753, allocations: 2.844 kB / 0.5302 GB, free: 30.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/0.7755, allocations: 14.05 kB / 0.5303 GB, free: 30.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.7756, allocations: 6.516 kB / 0.5303 GB, free: 30.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.7758, allocations: 15.03 kB / 0.5303 GB, free: 30.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.7758, allocations: 4.969 kB / 0.5303 GB, free: 30.59 MB / 458.7 MB 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.542e-05/0.7759, allocations: 112.9 kB / 0.5304 GB, free: 30.48 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.649e-05/0.7759, allocations: 19.09 kB / 0.5304 GB, free: 30.47 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.744e-05/0.776, allocations: 21.27 kB / 0.5304 GB, free: 30.46 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.776, allocations: 1.281 kB / 0.5304 GB, free: 30.46 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.776, allocations: 0 / 0.5304 GB, free: 30.46 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.7761, allocations: 5.172 kB / 0.5304 GB, free: 30.46 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.7763, allocations: 221 kB / 0.5306 GB, free: 30.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.7763, allocations: 0 / 0.5306 GB, free: 30.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.7765, allocations: 19.11 kB / 0.5307 GB, free: 30.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.7765, allocations: 0 / 0.5307 GB, free: 30.27 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.7765, allocations: 1.375 kB / 0.5307 GB, free: 30.27 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.7765, allocations: 1.5 kB / 0.5307 GB, free: 30.27 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.7766, allocations: 0 / 0.5307 GB, free: 30.27 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.7768, allocations: 94.83 kB / 0.5308 GB, free: 30.19 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.258e-05/0.7769, allocations: 97.52 kB / 0.5309 GB, free: 30.09 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.7769, allocations: 1.641 kB / 0.5309 GB, free: 30.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.7771, allocations: 13.2 kB / 0.5309 GB, free: 30.09 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.092e-05/0.7772, allocations: 11.42 kB / 0.5309 GB, free: 30.08 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.639e-05/0.7772, allocations: 5.922 kB / 0.5309 GB, free: 30.08 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002835/0.7775, allocations: 180.7 kB / 0.5311 GB, free: 30 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.7775, allocations: 0 / 0.5311 GB, free: 30 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003473/0.7779, allocations: 24.5 kB / 0.5311 GB, free: 30 MB / 458.7 MB 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.0007459/0.7787, allocations: 0.6721 MB / 0.5317 GB, free: 29.38 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001647/0.7788, allocations: 21.88 kB / 0.5318 GB, free: 29.37 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.7789, allocations: 0 / 0.5318 GB, free: 29.37 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.467e-05/0.7789, allocations: 13.58 kB / 0.5318 GB, free: 29.37 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.7793, allocations: 42.72 kB / 0.5318 GB, free: 29.36 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007955/0.7802, allocations: 242.7 kB / 0.532 GB, free: 29.21 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.7806, allocations: 0.7199 MB / 0.5327 GB, free: 28.52 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001486/0.7807, allocations: 20.44 kB / 0.5328 GB, free: 28.52 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.7809, allocations: 45.3 kB / 0.5328 GB, free: 28.51 MB / 458.7 MB Notification: Performance of SimCode: time 1.102e-06/0.7809, allocations: 1.719 kB / 0.5328 GB, free: 28.51 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08634/0.8672, allocations: 3.196 MB / 0.5359 GB, free: 28.14 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002524/0.8675, allocations: 149.5 kB / 0.5361 GB, free: 27.91 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.672/3.54, allocations: 1.344 kB / 0.5361 GB, free: 27.91 MB / 458.7 MB