Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") Notification: Performance of loadModel(Buildings): time 4.421/4.421, allocations: 464.6 MB / 476.8 MB, free: 2.199 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.376e-05/3.39e-05, allocations: 7.984 kB / 0.5731 GB, free: 5.719 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.1992, allocations: 107.2 MB / 0.6778 GB, free: 10.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7314/0.9306, allocations: 131.7 MB / 0.8064 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/0.9309, allocations: 68.2 kB / 0.8064 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002181/0.9331, allocations: 0.7438 MB / 0.8072 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.611e-06/0.9331, allocations: 0 / 0.8072 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.9331, allocations: 0 / 0.8072 GB, free: 12.1 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003185/0.9335, allocations: 344.3 kB / 0.8075 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.9335, allocations: 7.688 kB / 0.8075 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.269e-05/0.9335, allocations: 3.844 kB / 0.8075 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.892e-05/0.9336, allocations: 174.8 kB / 0.8077 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.9337, allocations: 7.469 kB / 0.8077 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.9337, allocations: 0.75 kB / 0.8077 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.9338, allocations: 39.95 kB / 0.8077 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.891e-06/0.9338, allocations: 3.844 kB / 0.8077 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.9338, allocations: 4 kB / 0.8077 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.435e-06/0.9339, allocations: 0 / 0.8077 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.628e-05/0.9339, allocations: 20.28 kB / 0.8078 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003691/0.9343, allocations: 265.1 kB / 0.808 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.031e-05/0.9344, allocations: 32.8 kB / 0.808 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.603e-05/0.9345, allocations: 16.27 kB / 0.808 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.9345, allocations: 7.75 kB / 0.8081 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.479e-05/0.9346, allocations: 51.94 kB / 0.8081 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.581e-06/0.9346, allocations: 0 / 0.8081 GB, free: 11.15 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001596/0.9348, allocations: 59.19 kB / 0.8082 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.9348, allocations: 55.34 kB / 0.8082 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.3e-05/0.9349, allocations: 98.92 kB / 0.8083 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.9349, allocations: 29.64 kB / 0.8083 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.318e-05/0.935, allocations: 88.02 kB / 0.8084 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.935, allocations: 10.61 kB / 0.8084 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.462e-06/0.935, allocations: 0 / 0.8084 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.087e-05/0.9351, allocations: 326.4 kB / 0.8087 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.806e-05/0.9351, allocations: 3.844 kB / 0.8087 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.794e-05/0.9352, allocations: 27.75 kB / 0.8088 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.508e-05/0.9352, allocations: 11.59 kB / 0.8088 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.436e-06/0.9352, allocations: 0 / 0.8088 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001206/0.9353, allocations: 63.11 kB / 0.8088 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.9354, allocations: 8.469 kB / 0.8089 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.981e-06/0.9354, allocations: 0 / 0.8089 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.9354, allocations: 0 / 0.8089 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.9355, allocations: 14.08 kB / 0.8089 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.9355, allocations: 3.266 kB / 0.8089 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.756e-05/0.9356, allocations: 11.94 kB / 0.8089 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.622e-06/0.9357, allocations: 3.938 kB / 0.8089 GB, free: 10.44 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,samTri.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 5.59e-05/0.9357, allocations: 117.9 kB / 0.809 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.9357, allocations: 0 / 0.809 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.2e-05/0.9358, allocations: 11.69 kB / 0.809 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.177e-06/0.9358, allocations: 0 / 0.809 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.161e-06/0.9358, allocations: 0 / 0.809 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.978e-06/0.9358, allocations: 4.031 kB / 0.809 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/0.9361, allocations: 309.9 kB / 0.8093 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.391e-06/0.9361, allocations: 0 / 0.8093 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.737e-05/0.9362, allocations: 10.58 kB / 0.8093 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.665e-06/0.9362, allocations: 0 / 0.8093 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.9363, allocations: 0 / 0.8093 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.572e-06/0.9363, allocations: 7.812 kB / 0.8093 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.972e-06/0.9363, allocations: 0 / 0.8093 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.9364, allocations: 160.6 kB / 0.8095 GB, free: 9.867 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.001e-05/0.9364, allocations: 81.05 kB / 0.8096 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.9365, allocations: 10.12 kB / 0.8096 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.9366, allocations: 3.844 kB / 0.8096 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.9367, allocations: 6.438 kB / 0.8096 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.413e-06/0.9367, allocations: 0 / 0.8096 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.506e-05/0.9367, allocations: 89.58 kB / 0.8097 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.2e-07/0.9367, allocations: 7.75 kB / 0.8097 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002957/0.937, allocations: 3.938 kB / 0.8097 GB, free: 9.688 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: 3 (samTri.y,$whenCondition1,triggeredSampler.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.0001014/0.9371, allocations: 102.4 kB / 0.8098 GB, free: 9.602 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001118/0.9373, allocations: 25.44 kB / 0.8098 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.478e-06/0.9373, allocations: 0 / 0.8098 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.854e-05/0.9373, allocations: 20.23 kB / 0.8098 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.9376, allocations: 8.078 kB / 0.8098 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002263/0.9378, allocations: 90.47 kB / 0.8099 GB, free: 9.508 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004247/0.9383, allocations: 0.6859 MB / 0.8106 GB, free: 24.81 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.345e-05/0.9383, allocations: 256 / 0.8106 GB, free: 24.81 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.766e-05/0.9383, allocations: 11.25 kB / 0.8106 GB, free: 24.81 MB / 0.6511 GB Notification: Performance of SimCode: time 1.571e-06/0.9384, allocations: 0 / 0.8106 GB, free: 24.81 MB / 0.6511 GB Notification: Performance of Templates: time 0.002826/0.9412, allocations: 0.4904 MB / 0.8111 GB, free: 24.74 MB / 0.6511 GB