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={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.695/4.695, allocations: 404.2 MB / 411.3 MB, free: 384 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 5.547e-05/5.549e-05, allocations: 19.92 kB / 0.4946 GB, free: 1.281 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6788/0.6789, allocations: 92.67 MB / 0.5851 GB, free: 2.391 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2687/0.9477, allocations: 122.2 MB / 0.7044 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003744/0.9481, allocations: 91.88 kB / 0.7045 GB, free: 7.926 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.01551/0.9636, allocations: 3.393 MB / 0.7078 GB, free: 4.531 MB / 0.5886 GB Notification: Performance of FrontEnd: time 4.498e-06/0.9637, allocations: 3.984 kB / 0.7078 GB, free: 4.527 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.562e-05/0.9637, allocations: 8 kB / 0.7078 GB, free: 4.52 MB / 0.5886 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.0008888/0.9646, allocations: 438.6 kB / 0.7083 GB, free: 4.047 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.585e-05/0.9647, allocations: 12.02 kB / 0.7083 GB, free: 4.035 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.975e-05/0.9648, allocations: 23.77 kB / 0.7083 GB, free: 4.012 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003612/0.9652, allocations: 214.7 kB / 0.7085 GB, free: 3.762 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.9652, allocations: 4 kB / 0.7085 GB, free: 3.758 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.426e-05/0.9652, allocations: 11.94 kB / 0.7085 GB, free: 3.746 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001773/0.9654, allocations: 36 kB / 0.7085 GB, free: 3.711 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003307/0.9658, allocations: 123.1 kB / 0.7087 GB, free: 3.57 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.9658, allocations: 0 / 0.7087 GB, free: 3.57 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.9658, allocations: 7.953 kB / 0.7087 GB, free: 3.562 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.9659, allocations: 0 / 0.7087 GB, free: 3.562 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001619/0.9675, allocations: 0.7244 MB / 0.7094 GB, free: 2.785 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.9676, allocations: 34.52 kB / 0.7094 GB, free: 2.742 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.099e-05/0.9677, allocations: 16.86 kB / 0.7094 GB, free: 2.723 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.9678, allocations: 4 kB / 0.7094 GB, free: 2.719 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002576/0.968, allocations: 110.8 kB / 0.7095 GB, free: 2.586 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=11): time 2.956e-06/0.9681, allocations: 0 / 0.7095 GB, free: 2.586 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0003479/0.9684, allocations: 97.42 kB / 0.7096 GB, free: 2.484 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.803e-05/0.9685, allocations: 136.5 kB / 0.7098 GB, free: 2.32 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.9688, allocations: 143.5 kB / 0.7099 GB, free: 2.168 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.9688, allocations: 29.7 kB / 0.7099 GB, free: 2.133 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.9689, allocations: 116.1 kB / 0.71 GB, free: 2.016 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.414e-05/0.969, allocations: 43.5 kB / 0.7101 GB, free: 1.973 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.259e-05/0.969, allocations: 4 kB / 0.7101 GB, free: 1.969 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.9692, allocations: 326.8 kB / 0.7104 GB, free: 1.641 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.347e-05/0.9693, allocations: 20 kB / 0.7104 GB, free: 1.621 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/0.9695, allocations: 111 kB / 0.7105 GB, free: 1.473 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.9696, allocations: 40.38 kB / 0.7106 GB, free: 1.434 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.9696, allocations: 0 / 0.7106 GB, free: 1.434 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003841/0.97, allocations: 137.2 kB / 0.7107 GB, free: 1.293 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.97, allocations: 4.406 kB / 0.7107 GB, free: 1.289 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.9701, allocations: 8 kB / 0.7107 GB, free: 1.281 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/0.9701, allocations: 4 kB / 0.7107 GB, free: 1.277 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002627/0.9704, allocations: 39.91 kB / 0.7107 GB, free: 1.238 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.685e-05/0.9704, allocations: 7.938 kB / 0.7107 GB, free: 1.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002503/0.9707, allocations: 15.98 kB / 0.7108 GB, free: 1.215 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.9707, allocations: 8 kB / 0.7108 GB, free: 1.207 MB / 0.5886 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.0001209/0.9708, allocations: 121.3 kB / 0.7109 GB, free: 1.082 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002738/0.9711, allocations: 97.42 kB / 0.711 GB, free: 0.9805 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.879e-05/0.9712, allocations: 15.81 kB / 0.711 GB, free: 0.9648 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.585e-05/0.9713, allocations: 21.83 kB / 0.711 GB, free: 0.9375 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.9713, allocations: 4 kB / 0.711 GB, free: 0.9336 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.9713, allocations: 0 / 0.711 GB, free: 0.9336 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.9713, allocations: 7.953 kB / 0.711 GB, free: 0.9258 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.9724, allocations: 462.2 kB / 0.7115 GB, free: 440 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.9724, allocations: 0 / 0.7115 GB, free: 440 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002956/0.9727, allocations: 24.11 kB / 0.7115 GB, free: 416 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.287e-05/0.9727, allocations: 4 kB / 0.7115 GB, free: 412 kB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.9728, allocations: 4 kB / 0.7115 GB, free: 408 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.9728, allocations: 0 / 0.7115 GB, free: 408 kB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.798e-06/0.9728, allocations: 11.95 kB / 0.7115 GB, free: 396 kB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004777/0.9733, allocations: 350.6 kB / 0.7118 GB, free: 4 kB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.646e-05/0.9734, allocations: 89.02 kB / 0.7119 GB, free: 15.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.775e-05/0.9735, allocations: 8.031 kB / 0.7119 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003127/0.9738, allocations: 11.98 kB / 0.7119 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.152e-05/0.9739, allocations: 16.27 kB / 0.712 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.9739, allocations: 4 kB / 0.712 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001322/0.974, allocations: 116.3 kB / 0.7121 GB, free: 15.75 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.21e-07/0.9741, allocations: 4 kB / 0.7121 GB, free: 15.74 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006064/0.9747, allocations: 35.83 kB / 0.7121 GB, free: 15.71 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.0009471/0.9756, allocations: 1.1 MB / 0.7132 GB, free: 14.56 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002823/0.9759, allocations: 67.84 kB / 0.7132 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.976, allocations: 0 / 0.7132 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.9761, allocations: 35.94 kB / 0.7133 GB, free: 14.46 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008037/0.9769, allocations: 72.19 kB / 0.7134 GB, free: 14.39 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.9782, allocations: 302.9 kB / 0.7136 GB, free: 14.05 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.9786, allocations: 0.7358 MB / 0.7144 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001251/0.9788, allocations: 17.33 kB / 0.7144 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.9789, allocations: 43.42 kB / 0.7144 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of SimCode: time 1.092e-06/0.9789, allocations: 0 / 0.7144 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04979/1.029, allocations: 2.884 MB / 0.7172 GB, free: 10.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003576/1.029, allocations: 166.5 kB / 0.7174 GB, free: 10.19 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.747/3.776, allocations: 0 / 0.7174 GB, free: 10.19 MB / 0.6042 GB