Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler") Notification: Performance of loadModel(Buildings): time 4.096/4.096, allocations: 460.5 MB / 472.6 MB, free: 5.391 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.058e-05/4.091e-05, allocations: 8 kB / 0.5681 GB, free: 10.18 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1961, allocations: 106.2 MB / 0.6718 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7815/0.9777, allocations: 131.4 MB / 0.8001 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/0.978, allocations: 65.88 kB / 0.8002 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004087/0.9821, allocations: 0.8746 MB / 0.801 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.926e-06/0.9822, allocations: 0 / 0.801 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.595e-06/0.9822, allocations: 0 / 0.801 GB, free: 12.75 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000543/0.9827, allocations: 361.5 kB / 0.8014 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.9828, allocations: 7.688 kB / 0.8014 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.27e-05/0.9829, allocations: 5.25 kB / 0.8014 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.983e-05/0.983, allocations: 170.9 kB / 0.8016 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.983, allocations: 5.016 kB / 0.8016 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.9831, allocations: 3.844 kB / 0.8016 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.9833, allocations: 49.08 kB / 0.8016 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.9833, allocations: 4 kB / 0.8016 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.9833, allocations: 3.5 kB / 0.8016 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.527e-06/0.9833, allocations: 0 / 0.8016 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.9835, allocations: 20.42 kB / 0.8016 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004929/0.984, allocations: 274 kB / 0.8019 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.9842, allocations: 48.14 kB / 0.8019 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.202e-05/0.9843, allocations: 16.11 kB / 0.802 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/0.9843, allocations: 6.219 kB / 0.802 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.9845, allocations: 56.92 kB / 0.802 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 3.93e-06/0.9845, allocations: 2.625 kB / 0.802 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0002991/0.9848, allocations: 86.55 kB / 0.8021 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.9849, allocations: 55.34 kB / 0.8022 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.64e-05/0.985, allocations: 102.9 kB / 0.8023 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.985, allocations: 28.77 kB / 0.8023 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.683e-05/0.9851, allocations: 83.98 kB / 0.8024 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.9851, allocations: 13.91 kB / 0.8024 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.211e-06/0.9852, allocations: 3.844 kB / 0.8024 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.531e-05/0.9852, allocations: 314.3 kB / 0.8027 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.19e-05/0.9853, allocations: 10.75 kB / 0.8027 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.332e-05/0.9854, allocations: 40.3 kB / 0.8027 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.665e-05/0.9855, allocations: 19.19 kB / 0.8027 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.592e-06/0.9855, allocations: 0 / 0.8027 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002676/0.9858, allocations: 75.5 kB / 0.8028 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.9859, allocations: 3.938 kB / 0.8028 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.488e-06/0.9859, allocations: 6.375 kB / 0.8028 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.9859, allocations: 0 / 0.8028 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/0.9861, allocations: 22.61 kB / 0.8029 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.9861, allocations: 7.797 kB / 0.8029 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.9863, allocations: 14.77 kB / 0.8029 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.9863, allocations: 3.375 kB / 0.8029 GB, free: 11.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: 5 ($PRE.sampler1.firstTrigger,sampler1.firstTrigger,$whenCondition1,sampler1.sampleTrigger,sampler1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 7.857e-05/0.9864, allocations: 104.9 kB / 0.803 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.723e-05/0.9865, allocations: 3.844 kB / 0.803 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002863/0.9868, allocations: 83.25 kB / 0.8031 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.356e-06/0.9868, allocations: 7.844 kB / 0.8031 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.88e-06/0.9868, allocations: 2.812 kB / 0.8031 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.491e-06/0.9869, allocations: 3.953 kB / 0.8031 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004882/0.9874, allocations: 327.1 kB / 0.8034 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.133e-06/0.9874, allocations: 0 / 0.8034 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.9875, allocations: 11.02 kB / 0.8034 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.277e-06/0.9876, allocations: 0 / 0.8034 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.9876, allocations: 4 kB / 0.8034 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.728e-06/0.9876, allocations: 10.84 kB / 0.8034 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.691e-06/0.9876, allocations: 3.844 kB / 0.8034 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.9879, allocations: 169.7 kB / 0.8036 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.195e-05/0.988, allocations: 84 kB / 0.8037 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.888e-05/0.988, allocations: 0 / 0.8037 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/0.9883, allocations: 17.8 kB / 0.8037 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/0.9884, allocations: 10.7 kB / 0.8037 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.9884, allocations: 0 / 0.8037 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.525e-05/0.9885, allocations: 83 kB / 0.8038 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.52e-07/0.9885, allocations: 0 / 0.8038 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006053/0.9891, allocations: 11.56 kB / 0.8038 GB, free: 10.29 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: 4 (sampler1.sampleTrigger,$whenCondition1,sampler1.y,sampler1.firstTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0001338/0.9892, allocations: 101.4 kB / 0.8039 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002093/0.9895, allocations: 40.5 kB / 0.8039 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.736e-06/0.9895, allocations: 4.062 kB / 0.8039 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.9896, allocations: 17.66 kB / 0.8039 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.99, allocations: 10.09 kB / 0.8039 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003508/0.9904, allocations: 94.05 kB / 0.804 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005151/0.991, allocations: 0.6836 MB / 0.8047 GB, free: 25.41 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.99e-05/0.991, allocations: 7.406 kB / 0.8047 GB, free: 25.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.523e-05/0.9911, allocations: 15.28 kB / 0.8047 GB, free: 25.39 MB / 0.6511 GB Notification: Performance of SimCode: time 2.426e-06/0.9911, allocations: 0 / 0.8047 GB, free: 25.39 MB / 0.6511 GB Notification: Performance of Templates: time 0.004586/0.9957, allocations: 0.5323 MB / 0.8052 GB, free: 25.34 MB / 0.6511 GB