Running command: "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.348/3.348, allocations: 343.8 MB / 355.9 MB, free: 9.371 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.012e-05/4.027e-05, allocations: 4 kB / 436.6 MB, free: 2.367 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1727, allocations: 77.73 MB / 0.5023 GB, free: 4.484 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6387/0.8115, allocations: 106.6 MB / 0.6064 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.8118, allocations: 71.97 kB / 0.6064 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.007087/0.8189, allocations: 1.442 MB / 0.6079 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8189, allocations: 0 / 0.6079 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.498e-05/0.819, allocations: 4 kB / 0.6079 GB, free: 12.81 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008138/0.8198, allocations: 433.8 kB / 0.6083 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.8199, allocations: 15.97 kB / 0.6083 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.512e-05/0.8199, allocations: 35.44 kB / 0.6083 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.696e-05/0.82, allocations: 15.86 kB / 0.6083 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.8203, allocations: 183 kB / 0.6085 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.8203, allocations: 8 kB / 0.6085 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.46e-05/0.8204, allocations: 12 kB / 0.6085 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/0.8207, allocations: 105.8 kB / 0.6086 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.098e-06/0.8207, allocations: 0 / 0.6086 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.072e-05/0.8207, allocations: 0 / 0.6086 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.8208, allocations: 4 kB / 0.6086 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001825/0.8209, allocations: 55.98 kB / 0.6087 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008077/0.8218, allocations: 336.7 kB / 0.609 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/0.822, allocations: 74.56 kB / 0.6091 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.8222, allocations: 56.91 kB / 0.6091 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.8222, allocations: 4 kB / 0.6091 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002646/0.8225, allocations: 95.38 kB / 0.6092 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 2.645e-06/0.8225, allocations: 8 kB / 0.6092 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0005163/0.823, allocations: 179.2 kB / 0.6094 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.834e-05/0.8231, allocations: 85.11 kB / 0.6095 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.8233, allocations: 117 kB / 0.6096 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.8233, allocations: 29.7 kB / 0.6096 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.692e-05/0.8234, allocations: 92.05 kB / 0.6097 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.079e-05/0.8235, allocations: 19.83 kB / 0.6097 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.076e-05/0.8235, allocations: 4 kB / 0.6097 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.8237, allocations: 326.7 kB / 0.6101 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.8238, allocations: 47.98 kB / 0.6101 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.824, allocations: 47.98 kB / 0.6101 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.8242, allocations: 87.42 kB / 0.6102 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.8242, allocations: 0 / 0.6102 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006449/0.8248, allocations: 224.9 kB / 0.6104 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.829e-05/0.8249, allocations: 62.06 kB / 0.6105 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.825, allocations: 0 / 0.6105 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.825, allocations: 7.953 kB / 0.6105 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.8252, allocations: 19.98 kB / 0.6105 GB, free: 9.793 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.8252, allocations: 3.984 kB / 0.6105 GB, free: 9.789 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/0.8255, allocations: 31.89 kB / 0.6106 GB, free: 9.758 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/0.8256, allocations: 4 kB / 0.6106 GB, free: 9.754 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,numReq.y,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0001652/0.8258, allocations: 142.8 kB / 0.6107 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.148e-05/0.8258, allocations: 8 kB / 0.6107 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.871e-05/0.8259, allocations: 12.62 kB / 0.6107 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.8259, allocations: 0 / 0.6107 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.8259, allocations: 3.953 kB / 0.6107 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.8259, allocations: 0 / 0.6107 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/0.8262, allocations: 197.5 kB / 0.6109 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.8262, allocations: 0 / 0.6109 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.8263, allocations: 19.98 kB / 0.6109 GB, free: 9.312 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/0.8264, allocations: 0 / 0.6109 GB, free: 9.312 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/0.8264, allocations: 11.98 kB / 0.6109 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.8264, allocations: 0 / 0.6109 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.8264, allocations: 3.938 kB / 0.6109 GB, free: 9.297 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004998/0.8269, allocations: 206.8 kB / 0.6111 GB, free: 9.07 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.071e-05/0.827, allocations: 85.11 kB / 0.6112 GB, free: 8.969 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.185e-05/0.8271, allocations: 3.984 kB / 0.6112 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/0.8273, allocations: 35.92 kB / 0.6113 GB, free: 8.93 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/0.8276, allocations: 35.95 kB / 0.6113 GB, free: 8.895 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.147e-05/0.8276, allocations: 3.984 kB / 0.6113 GB, free: 8.891 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.937e-05/0.8277, allocations: 103.8 kB / 0.6114 GB, free: 8.789 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.5e-07/0.8277, allocations: 0 / 0.6114 GB, free: 8.789 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002985/0.828, allocations: 20 kB / 0.6114 GB, free: 8.77 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: 4 ($whenCondition1,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0008778/0.8289, allocations: 0.7605 MB / 0.6122 GB, free: 7.973 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004861/0.8294, allocations: 226.9 kB / 0.6124 GB, free: 7.727 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.8294, allocations: 0 / 0.6124 GB, free: 7.727 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002687/0.8297, allocations: 119.3 kB / 0.6125 GB, free: 7.598 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.83, allocations: 17.7 kB / 0.6125 GB, free: 7.582 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007379/0.8307, allocations: 187.1 kB / 0.6127 GB, free: 7.359 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.8311, allocations: 0.6965 MB / 0.6134 GB, free: 6.637 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.436e-05/0.8312, allocations: 11.92 kB / 0.6134 GB, free: 6.621 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.412e-05/0.8313, allocations: 23.42 kB / 0.6134 GB, free: 6.598 MB / 0.4948 GB Notification: Performance of SimCode: time 1.253e-06/0.8313, allocations: 0 / 0.6134 GB, free: 6.598 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02551/0.8568, allocations: 2.498 MB / 0.6158 GB, free: 4.18 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000284/0.8572, allocations: 168.9 kB / 0.616 GB, free: 3.949 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.497/3.355, allocations: 0 / 0.616 GB, free: 3.949 MB / 0.4948 GB