Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.Sampler") Notification: Performance of loadModel(Buildings): time 4.031/4.031, allocations: 432.7 MB / 444.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.506e-05/3.512e-05, allocations: 4.5 kB / 0.5337 GB, free: 12.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1782, allocations: 98.72 MB / 0.6301 GB, free: 6.23 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2311/0.4094, allocations: 124.5 MB / 0.7517 GB, free: 9.605 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/0.4097, allocations: 67.97 kB / 0.7517 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003158/0.4129, allocations: 0.8761 MB / 0.7526 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.986e-06/0.413, allocations: 4 kB / 0.7526 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.039e-06/0.413, allocations: 0 / 0.7526 GB, free: 8.656 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.0005207/0.4135, allocations: 354.4 kB / 0.7529 GB, free: 8.266 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.4136, allocations: 12.03 kB / 0.7529 GB, free: 8.254 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.698e-05/0.4136, allocations: 3.906 kB / 0.7529 GB, free: 8.25 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.4138, allocations: 171 kB / 0.7531 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.4138, allocations: 0 / 0.7531 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.4138, allocations: 8 kB / 0.7531 GB, free: 8.035 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.414, allocations: 49.62 kB / 0.7532 GB, free: 7.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.414, allocations: 4 kB / 0.7532 GB, free: 7.977 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.414, allocations: 3.984 kB / 0.7532 GB, free: 7.973 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.4141, allocations: 0 / 0.7532 GB, free: 7.973 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.867e-05/0.4141, allocations: 20 kB / 0.7532 GB, free: 7.953 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004739/0.4146, allocations: 276.8 kB / 0.7535 GB, free: 7.633 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.4148, allocations: 42.52 kB / 0.7535 GB, free: 7.582 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.217e-05/0.4148, allocations: 24.98 kB / 0.7535 GB, free: 7.555 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.4149, allocations: 0 / 0.7535 GB, free: 7.555 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000142/0.415, allocations: 67.33 kB / 0.7536 GB, free: 7.477 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 2.56e-06/0.4151, allocations: 0 / 0.7536 GB, free: 7.477 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.000222/0.4153, allocations: 69.59 kB / 0.7537 GB, free: 7.402 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/0.4154, allocations: 59.36 kB / 0.7537 GB, free: 7.332 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.181e-05/0.4155, allocations: 93 kB / 0.7538 GB, free: 7.234 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.4155, allocations: 33.7 kB / 0.7538 GB, free: 7.195 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.981e-05/0.4156, allocations: 84.12 kB / 0.7539 GB, free: 7.109 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.4156, allocations: 19.75 kB / 0.7539 GB, free: 7.09 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.957e-06/0.4156, allocations: 0 / 0.7539 GB, free: 7.09 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.4158, allocations: 322.7 kB / 0.7542 GB, free: 6.766 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.159e-05/0.4158, allocations: 12 kB / 0.7542 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.338e-05/0.4159, allocations: 35.42 kB / 0.7543 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.216e-05/0.416, allocations: 20 kB / 0.7543 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.571e-06/0.416, allocations: 0 / 0.7543 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001775/0.4162, allocations: 69.62 kB / 0.7544 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.4162, allocations: 7.984 kB / 0.7544 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.356e-06/0.4162, allocations: 0 / 0.7544 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.4163, allocations: 4 kB / 0.7544 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.4164, allocations: 24.08 kB / 0.7544 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.9e-05/0.4165, allocations: 3.938 kB / 0.7544 GB, free: 6.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.4167, allocations: 15.86 kB / 0.7544 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.4168, allocations: 4.312 kB / 0.7544 GB, free: 6.555 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 0.0001716/0.4169, allocations: 105 kB / 0.7545 GB, free: 6.445 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.383e-05/0.417, allocations: 7.984 kB / 0.7545 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004485/0.4175, allocations: 78.31 kB / 0.7546 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.488e-06/0.4175, allocations: 4 kB / 0.7546 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.959e-06/0.4176, allocations: 0 / 0.7546 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.4176, allocations: 3.984 kB / 0.7546 GB, free: 6.344 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009037/0.4185, allocations: 334.5 kB / 0.7549 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.908e-06/0.4185, allocations: 0 / 0.7549 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001957/0.4188, allocations: 15.98 kB / 0.7549 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.4188, allocations: 0 / 0.7549 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.4188, allocations: 0 / 0.7549 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.181e-06/0.4189, allocations: 4 kB / 0.755 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.29e-06/0.4189, allocations: 3.953 kB / 0.755 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004807/0.4194, allocations: 175.5 kB / 0.7551 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.843e-05/0.4195, allocations: 77.11 kB / 0.7552 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.932e-05/0.4196, allocations: 0 / 0.7552 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003336/0.4199, allocations: 11.98 kB / 0.7552 GB, free: 5.645 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.032e-05/0.42, allocations: 11.95 kB / 0.7552 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.4201, allocations: 0 / 0.7552 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001206/0.4202, allocations: 91.27 kB / 0.7553 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.41e-06/0.4203, allocations: 3.938 kB / 0.7553 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008317/0.4211, allocations: 11.91 kB / 0.7553 GB, free: 5.527 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.0002544/0.4214, allocations: 103.3 kB / 0.7554 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003087/0.4217, allocations: 44.25 kB / 0.7555 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.543e-06/0.4218, allocations: 4.188 kB / 0.7555 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.4219, allocations: 16 kB / 0.7555 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004973/0.4225, allocations: 14.22 kB / 0.7555 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000523/0.423, allocations: 80.86 kB / 0.7556 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006356/0.4237, allocations: 0.6848 MB / 0.7562 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.389e-05/0.4238, allocations: 4.188 kB / 0.7562 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.716e-05/0.4239, allocations: 7.438 kB / 0.7563 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of SimCode: time 6.394e-06/0.4239, allocations: 4 kB / 0.7563 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of Templates: time 0.00609/0.43, allocations: 0.5409 MB / 0.7568 GB, free: 3.977 MB / 0.6355 GB