Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_ZeroCrossing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.877/3.877, allocations: 432.7 MB / 444.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.971e-05/3.991e-05, allocations: 8.938 kB / 0.5338 GB, free: 12.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.1987, allocations: 98.72 MB / 0.6302 GB, free: 6.105 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2284/0.4272, allocations: 124.9 MB / 0.7522 GB, free: 9.023 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/0.4275, allocations: 71.95 kB / 0.7523 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00609/0.4336, allocations: 1.364 MB / 0.7536 GB, free: 7.586 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4337, allocations: 0 / 0.7536 GB, free: 7.586 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.4337, allocations: 4 kB / 0.7536 GB, free: 7.582 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.0008036/0.4345, allocations: 394.3 kB / 0.754 GB, free: 7.152 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.4346, allocations: 8.031 kB / 0.754 GB, free: 7.145 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.347e-05/0.4346, allocations: 38.56 kB / 0.754 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.433e-05/0.4347, allocations: 11.89 kB / 0.754 GB, free: 7.086 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.4349, allocations: 182.9 kB / 0.7542 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.4349, allocations: 4 kB / 0.7542 GB, free: 6.863 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/0.4349, allocations: 16 kB / 0.7542 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.4352, allocations: 69.67 kB / 0.7543 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.4352, allocations: 3.984 kB / 0.7543 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.4352, allocations: 4 kB / 0.7543 GB, free: 6.766 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.4352, allocations: 4 kB / 0.7543 GB, free: 6.762 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001746/0.4354, allocations: 39.98 kB / 0.7544 GB, free: 6.723 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008398/0.4363, allocations: 368.5 kB / 0.7547 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006375/0.4369, allocations: 126.6 kB / 0.7548 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.4371, allocations: 24.86 kB / 0.7549 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.352e-05/0.4371, allocations: 7.984 kB / 0.7549 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002192/0.4373, allocations: 83.33 kB / 0.7549 GB, free: 6.051 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.816e-06/0.4373, allocations: 4 kB / 0.7549 GB, free: 6.047 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0003426/0.4377, allocations: 101.5 kB / 0.755 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.946e-05/0.4378, allocations: 55.41 kB / 0.7551 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.4379, allocations: 113.4 kB / 0.7552 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.438, allocations: 33.64 kB / 0.7552 GB, free: 5.715 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.666e-05/0.4381, allocations: 100 kB / 0.7553 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.467e-05/0.4381, allocations: 23.7 kB / 0.7554 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.129e-05/0.4381, allocations: 0 / 0.7554 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.4383, allocations: 330.8 kB / 0.7557 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.4384, allocations: 24 kB / 0.7557 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.4386, allocations: 67.36 kB / 0.7558 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.4387, allocations: 31.98 kB / 0.7558 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4387, allocations: 0 / 0.7558 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003155/0.439, allocations: 117.5 kB / 0.7559 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.4391, allocations: 4.781 kB / 0.7559 GB, free: 5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.4391, allocations: 4 kB / 0.7559 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.4391, allocations: 3.953 kB / 0.7559 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002504/0.4394, allocations: 35.91 kB / 0.7559 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.4394, allocations: 4 kB / 0.7559 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00027/0.4397, allocations: 35.92 kB / 0.756 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.4397, allocations: 7.984 kB / 0.756 GB, free: 4.91 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 0.0001077/0.4398, allocations: 112.9 kB / 0.7561 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.4398, allocations: 7.906 kB / 0.7561 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003428/0.4402, allocations: 122.2 kB / 0.7562 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.4402, allocations: 0 / 0.7562 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.4402, allocations: 3.953 kB / 0.7562 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.4403, allocations: 4 kB / 0.7562 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006071/0.4409, allocations: 386.4 kB / 0.7566 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.4409, allocations: 0 / 0.7566 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/0.4411, allocations: 23.97 kB / 0.7566 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.356e-05/0.4411, allocations: 3.984 kB / 0.7566 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.4412, allocations: 11.95 kB / 0.7566 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.4412, allocations: 4 kB / 0.7566 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.4412, allocations: 0 / 0.7566 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000304/0.4415, allocations: 191.4 kB / 0.7568 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.971e-05/0.4416, allocations: 85.02 kB / 0.7569 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.4416, allocations: 0 / 0.7569 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002874/0.4419, allocations: 35.92 kB / 0.7569 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.076e-05/0.442, allocations: 23.84 kB / 0.757 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/0.442, allocations: 11.98 kB / 0.757 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.222e-05/0.4421, allocations: 95.78 kB / 0.7571 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.2e-07/0.4421, allocations: 0 / 0.7571 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003475/0.4425, allocations: 20 kB / 0.7571 GB, free: 3.684 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.0006882/0.4432, allocations: 0.7384 MB / 0.7578 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002967/0.4435, allocations: 83.92 kB / 0.7579 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4435, allocations: 0 / 0.7579 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.4437, allocations: 43.94 kB / 0.7579 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.444, allocations: 15.94 kB / 0.7579 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006304/0.4446, allocations: 163.4 kB / 0.7581 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.445, allocations: 0.7004 MB / 0.7588 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.042e-05/0.4451, allocations: 4.562 kB / 0.7588 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.4452, allocations: 31.42 kB / 0.7588 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of SimCode: time 7.51e-07/0.4452, allocations: 0 / 0.7588 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02126/0.4665, allocations: 2.148 MB / 0.7609 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003366/0.4669, allocations: 165.4 kB / 0.7611 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.265/2.731, allocations: 0 / 0.7611 GB, free: 15.53 MB / 0.6511 GB