Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.839/3.839, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.157e-05/4.183e-05, allocations: 4 kB / 0.4991 GB, free: 13.33 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6444/0.6445, allocations: 92.69 MB / 0.5897 GB, free: 14.46 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2237/0.8682, allocations: 122.9 MB / 0.7097 GB, free: 3.414 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003342/0.8686, allocations: 83.94 kB / 0.7098 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.01307/0.8817, allocations: 3.409 MB / 0.7131 GB, free: 15.92 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8818, allocations: 0 / 0.7131 GB, free: 15.92 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.373e-05/0.8818, allocations: 11.94 kB / 0.7131 GB, free: 15.91 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007797/0.8826, allocations: 432.9 kB / 0.7135 GB, free: 15.44 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.8826, allocations: 15.97 kB / 0.7135 GB, free: 15.43 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.437e-05/0.8827, allocations: 46.55 kB / 0.7136 GB, free: 15.37 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.956e-05/0.8828, allocations: 23.77 kB / 0.7136 GB, free: 15.35 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/0.8831, allocations: 222.6 kB / 0.7138 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.8832, allocations: 8 kB / 0.7138 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.896e-05/0.8832, allocations: 12 kB / 0.7138 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002985/0.8835, allocations: 133.9 kB / 0.714 GB, free: 14.92 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.8835, allocations: 0 / 0.714 GB, free: 14.92 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.8836, allocations: 4 kB / 0.714 GB, free: 14.91 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.8836, allocations: 7.953 kB / 0.714 GB, free: 14.91 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001598/0.8838, allocations: 47.92 kB / 0.714 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001446/0.8852, allocations: 0.759 MB / 0.7147 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.8854, allocations: 35.89 kB / 0.7148 GB, free: 13.99 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.414e-05/0.8855, allocations: 20.86 kB / 0.7148 GB, free: 13.97 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.8855, allocations: 4 kB / 0.7148 GB, free: 13.96 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002305/0.8857, allocations: 110.7 kB / 0.7149 GB, free: 13.83 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 2.454e-06/0.8858, allocations: 0 / 0.7149 GB, free: 13.83 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0003388/0.8861, allocations: 109.4 kB / 0.715 GB, free: 13.72 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.459e-05/0.8862, allocations: 132.5 kB / 0.7151 GB, free: 13.56 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002395/0.8865, allocations: 174 kB / 0.7153 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.8865, allocations: 33.75 kB / 0.7153 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.676e-05/0.8866, allocations: 120 kB / 0.7155 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.95e-05/0.8867, allocations: 43.61 kB / 0.7155 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.037e-06/0.8867, allocations: 0 / 0.7155 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.8868, allocations: 330.8 kB / 0.7158 GB, free: 12.85 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.489e-05/0.8869, allocations: 24 kB / 0.7158 GB, free: 12.82 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.8871, allocations: 109.7 kB / 0.7159 GB, free: 12.68 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.8872, allocations: 39.92 kB / 0.716 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.8872, allocations: 0 / 0.716 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003618/0.8876, allocations: 149.2 kB / 0.7161 GB, free: 12.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.8877, allocations: 8 kB / 0.7161 GB, free: 12.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.8877, allocations: 3.938 kB / 0.7161 GB, free: 12.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.8877, allocations: 8 kB / 0.7161 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/0.8879, allocations: 35.86 kB / 0.7162 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.888, allocations: 4 kB / 0.7162 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002319/0.8882, allocations: 32.3 kB / 0.7162 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.8882, allocations: 8 kB / 0.7162 GB, free: 12.39 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,intWitRes1.trigger,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001128/0.8884, allocations: 129.8 kB / 0.7163 GB, free: 12.26 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.226e-05/0.8884, allocations: 15.81 kB / 0.7164 GB, free: 12.24 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.161e-05/0.8885, allocations: 21.52 kB / 0.7164 GB, free: 12.22 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.8885, allocations: 4 kB / 0.7164 GB, free: 12.22 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.8885, allocations: 3.953 kB / 0.7164 GB, free: 12.21 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.8885, allocations: 11.94 kB / 0.7164 GB, free: 12.2 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009858/0.8895, allocations: 493.6 kB / 0.7169 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.8896, allocations: 0 / 0.7169 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002278/0.8898, allocations: 19.98 kB / 0.7169 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.8898, allocations: 3.938 kB / 0.7169 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.757e-05/0.8899, allocations: 15.95 kB / 0.7169 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.8899, allocations: 128 / 0.7169 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.8899, allocations: 4 kB / 0.7169 GB, free: 11.62 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004562/0.8904, allocations: 353.4 kB / 0.7172 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.818e-05/0.8904, allocations: 92.91 kB / 0.7173 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.09e-05/0.8905, allocations: 8 kB / 0.7173 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002751/0.8908, allocations: 15.98 kB / 0.7174 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.773e-05/0.8909, allocations: 15.92 kB / 0.7174 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.8909, allocations: 7.984 kB / 0.7174 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001676/0.8911, allocations: 143 kB / 0.7175 GB, free: 10.94 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.21e-07/0.8911, allocations: 0 / 0.7175 GB, free: 10.94 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000449/0.8915, allocations: 24 kB / 0.7175 GB, free: 10.91 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,intWitRes1.trigger,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0008835/0.8924, allocations: 1.116 MB / 0.7186 GB, free: 9.75 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002768/0.8927, allocations: 80.06 kB / 0.7187 GB, free: 9.672 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.8927, allocations: 0.8125 kB / 0.7187 GB, free: 9.672 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.8929, allocations: 36 kB / 0.7187 GB, free: 9.637 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006342/0.8935, allocations: 71.22 kB / 0.7188 GB, free: 9.57 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.8946, allocations: 310.1 kB / 0.7191 GB, free: 9.223 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.895, allocations: 0.7323 MB / 0.7198 GB, free: 8.465 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001013/0.8951, allocations: 13.33 kB / 0.7198 GB, free: 8.453 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.8952, allocations: 47.42 kB / 0.7199 GB, free: 8.406 MB / 0.6042 GB Notification: Performance of SimCode: time 9.22e-07/0.8953, allocations: 0 / 0.7199 GB, free: 8.406 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0249/0.9202, allocations: 3.483 MB / 0.7233 GB, free: 5.027 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002182/0.9204, allocations: 177.2 kB / 0.7234 GB, free: 4.801 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.318/3.238, allocations: 0 / 0.7234 GB, free: 4.801 MB / 0.6042 GB