Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_ZeroCrossing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.259/4.259, allocations: 464.6 MB / 476.8 MB, free: 2.207 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.89e-05/3.888e-05, allocations: 8 kB / 0.5732 GB, free: 5.637 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.223, allocations: 107.2 MB / 0.6778 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8466/1.07, allocations: 132.3 MB / 0.807 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/1.07, allocations: 75.14 kB / 0.8071 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005775/1.076, allocations: 1.428 MB / 0.8085 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.953e-06/1.076, allocations: 4 kB / 0.8085 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.925e-06/1.076, allocations: 0 / 0.8085 GB, free: 11.88 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007542/1.077, allocations: 417.1 kB / 0.8089 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/1.077, allocations: 7.844 kB / 0.8089 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.277e-05/1.077, allocations: 40.31 kB / 0.8089 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.389e-05/1.077, allocations: 8.625 kB / 0.809 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/1.077, allocations: 178.6 kB / 0.8091 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.708e-05/1.077, allocations: 39.97 kB / 0.8092 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/1.077, allocations: 7.219 kB / 0.8092 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001907/1.077, allocations: 74.72 kB / 0.8092 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/1.077, allocations: 4 kB / 0.8092 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/1.077, allocations: 2.812 kB / 0.8092 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/1.077, allocations: 3.844 kB / 0.8092 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001519/1.077, allocations: 44.55 kB / 0.8093 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006746/1.078, allocations: 368.8 kB / 0.8096 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006042/1.079, allocations: 131.4 kB / 0.8098 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.511e-05/1.079, allocations: 27.17 kB / 0.8098 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.039e-05/1.079, allocations: 0 / 0.8098 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001923/1.079, allocations: 88.38 kB / 0.8099 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.114e-06/1.079, allocations: 0 / 0.8099 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0002908/1.079, allocations: 98.39 kB / 0.81 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/1.079, allocations: 66.17 kB / 0.81 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.556e-05/1.079, allocations: 116.3 kB / 0.8101 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/1.08, allocations: 30.64 kB / 0.8102 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.579e-05/1.08, allocations: 95.89 kB / 0.8103 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/1.08, allocations: 28.5 kB / 0.8103 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.18e-05/1.08, allocations: 0 / 0.8103 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.625e-05/1.08, allocations: 323.5 kB / 0.8106 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/1.08, allocations: 30.25 kB / 0.8106 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/1.08, allocations: 66.08 kB / 0.8107 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.757e-05/1.08, allocations: 30.02 kB / 0.8107 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/1.08, allocations: 0 / 0.8107 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003036/1.08, allocations: 127.9 kB / 0.8108 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/1.08, allocations: 7.625 kB / 0.8109 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/1.08, allocations: 96 / 0.8109 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/1.08, allocations: 6.719 kB / 0.8109 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002869/1.081, allocations: 28.17 kB / 0.8109 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/1.081, allocations: 6.625 kB / 0.8109 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002665/1.081, allocations: 35.62 kB / 0.8109 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/1.081, allocations: 6.281 kB / 0.8109 GB, free: 10.07 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.zeroCrossing.enable,zeroCrossing.enable,$PRE.zeroCrossing.disable,zeroCrossing.disable,$PRE.zeroCrossing.u_pos,zeroCrossing.u_pos,triggeredSampler.trigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 8.862e-05/1.081, allocations: 122 kB / 0.811 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/1.081, allocations: 7.875 kB / 0.8111 GB, free: 9.953 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003115/1.082, allocations: 114.2 kB / 0.8112 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/1.082, allocations: 3.938 kB / 0.8112 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1.082, allocations: 0 / 0.8112 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/1.082, allocations: 2.203 kB / 0.8112 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004971/1.082, allocations: 387.4 kB / 0.8115 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/1.082, allocations: 3.938 kB / 0.8115 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002109/1.082, allocations: 21.48 kB / 0.8116 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/1.082, allocations: 0 / 0.8116 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/1.082, allocations: 6.719 kB / 0.8116 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/1.082, allocations: 0 / 0.8116 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/1.082, allocations: 7.891 kB / 0.8116 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/1.083, allocations: 202.5 kB / 0.8118 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.047e-05/1.083, allocations: 81.02 kB / 0.8118 GB, free: 9.352 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.169e-05/1.083, allocations: 7.125 kB / 0.8119 GB, free: 9.352 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/1.083, allocations: 24.22 kB / 0.8119 GB, free: 9.352 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.927e-05/1.083, allocations: 24.12 kB / 0.8119 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/1.083, allocations: 7.906 kB / 0.8119 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.183e-05/1.083, allocations: 100.6 kB / 0.812 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/1.083, allocations: 0 / 0.812 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003468/1.084, allocations: 18.44 kB / 0.812 GB, free: 9.266 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler.trigger,$whenCondition2,$whenCondition1,booPul1.pulseStart,zeroCrossing.enable,zeroCrossing.disable,zeroCrossing.u_pos,triggeredSampler.y) * Number of discrete states: 3 (zeroCrossing.u_pos,zeroCrossing.enable,zeroCrossing.disable) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0009193/1.085, allocations: 0.7471 MB / 0.8128 GB, free: 24.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000287/1.085, allocations: 81.86 kB / 0.8128 GB, free: 24.59 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.085, allocations: 0 / 0.8128 GB, free: 24.59 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001188/1.085, allocations: 38.75 kB / 0.8129 GB, free: 24.59 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/1.085, allocations: 9.766 kB / 0.8129 GB, free: 24.59 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006132/1.086, allocations: 178.4 kB / 0.813 GB, free: 24.45 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/1.086, allocations: 0.7036 MB / 0.8137 GB, free: 23.75 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.203e-05/1.086, allocations: 7.188 kB / 0.8137 GB, free: 23.75 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.436e-05/1.087, allocations: 27.92 kB / 0.8138 GB, free: 23.75 MB / 0.6511 GB Notification: Performance of SimCode: time 1.152e-06/1.087, allocations: 3.75 kB / 0.8138 GB, free: 23.75 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02052/1.107, allocations: 2.185 MB / 0.8159 GB, free: 23.48 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002534/1.107, allocations: 174.5 kB / 0.8161 GB, free: 23.25 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.277/3.384, allocations: 0 / 0.8161 GB, free: 23.25 MB / 0.6511 GB