Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") Notification: Performance of loadModel(Buildings): time 4.356/4.356, allocations: 460.5 MB / 472.6 MB, free: 5.391 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.706e-05/2.711e-05, allocations: 0 / 0.5681 GB, free: 10.17 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1905, allocations: 106.2 MB / 0.6718 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6967/0.8873, allocations: 131.6 MB / 0.8004 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/0.8875, allocations: 70.52 kB / 0.8004 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003863/0.8914, allocations: 1.127 MB / 0.8015 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.052e-06/0.8915, allocations: 0 / 0.8015 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.57e-05/0.8915, allocations: 4 kB / 0.8015 GB, free: 12.78 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004184/0.8919, allocations: 378.9 kB / 0.8019 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.892, allocations: 7.688 kB / 0.8019 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.892, allocations: 7.75 kB / 0.8019 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.8921, allocations: 176.1 kB / 0.8021 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.8922, allocations: 11.84 kB / 0.8021 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.8922, allocations: 3.875 kB / 0.8021 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.8924, allocations: 59.89 kB / 0.8022 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.966e-06/0.8924, allocations: 3.844 kB / 0.8022 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.8924, allocations: 5.172 kB / 0.8022 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.918e-06/0.8924, allocations: 0 / 0.8022 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.908e-05/0.8925, allocations: 28 kB / 0.8022 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004502/0.893, allocations: 311.5 kB / 0.8025 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.8931, allocations: 50.05 kB / 0.8025 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.059e-05/0.8932, allocations: 23.89 kB / 0.8026 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.8932, allocations: 3.938 kB / 0.8026 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001453/0.8934, allocations: 73.27 kB / 0.8026 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 2.708e-06/0.8934, allocations: 0 / 0.8026 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0002258/0.8936, allocations: 89.67 kB / 0.8027 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.8937, allocations: 54.84 kB / 0.8028 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.409e-05/0.8938, allocations: 105.4 kB / 0.8029 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.8938, allocations: 33.88 kB / 0.8029 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.856e-05/0.8938, allocations: 91.47 kB / 0.803 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.8939, allocations: 20.48 kB / 0.803 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.316e-06/0.8939, allocations: 3.938 kB / 0.803 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.335e-05/0.8939, allocations: 324.3 kB / 0.8033 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.129e-05/0.894, allocations: 25.91 kB / 0.8033 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.393e-05/0.8941, allocations: 46.7 kB / 0.8034 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.848e-05/0.8942, allocations: 16.86 kB / 0.8034 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.74e-06/0.8942, allocations: 4 kB / 0.8034 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002124/0.8944, allocations: 92.97 kB / 0.8035 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.8944, allocations: 10.5 kB / 0.8035 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.8944, allocations: 0 / 0.8035 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.8945, allocations: 5.641 kB / 0.8035 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.8946, allocations: 22.23 kB / 0.8035 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.8946, allocations: 0 / 0.8035 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.8948, allocations: 31.02 kB / 0.8036 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.8948, allocations: 3.844 kB / 0.8036 GB, free: 11.06 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triSam1.y,triSam1.y,$PRE.triSam.y,triSam.y,$whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 6.288e-05/0.8949, allocations: 107.8 kB / 0.8037 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.747e-05/0.8949, allocations: 3.844 kB / 0.8037 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002161/0.8951, allocations: 101.6 kB / 0.8038 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.196e-06/0.8952, allocations: 3.906 kB / 0.8038 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.8952, allocations: 7.953 kB / 0.8038 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.938e-06/0.8952, allocations: 1.359 kB / 0.8038 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004439/0.8956, allocations: 369.2 kB / 0.8041 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.319e-06/0.8957, allocations: 3.844 kB / 0.8041 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.673e-05/0.8958, allocations: 10.94 kB / 0.8042 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.601e-06/0.8958, allocations: 0 / 0.8042 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.8958, allocations: 9.5 kB / 0.8042 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.134e-06/0.8958, allocations: 240 / 0.8042 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.8958, allocations: 3.844 kB / 0.8042 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001929/0.896, allocations: 184.2 kB / 0.8043 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.608e-05/0.8961, allocations: 83.12 kB / 0.8044 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.8961, allocations: 0 / 0.8044 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.8963, allocations: 26.8 kB / 0.8044 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.8964, allocations: 11.52 kB / 0.8045 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.8964, allocations: 5.156 kB / 0.8045 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.869e-05/0.8964, allocations: 93.89 kB / 0.8046 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.63e-07/0.8965, allocations: 3.938 kB / 0.8046 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003249/0.8968, allocations: 15.25 kB / 0.8046 GB, free: 10.26 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: 6 (booPul.y,$whenCondition2,$whenCondition1,booPul.pulseStart,triSam.y,triSam1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001001/0.8969, allocations: 99.88 kB / 0.8047 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001643/0.8971, allocations: 57.22 kB / 0.8047 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.8971, allocations: 0 / 0.8047 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.246e-05/0.8972, allocations: 26.28 kB / 0.8047 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.8974, allocations: 6.469 kB / 0.8048 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000325/0.8978, allocations: 104.4 kB / 0.8049 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004757/0.8983, allocations: 0.6987 MB / 0.8055 GB, free: 25.39 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.724e-05/0.8983, allocations: 9.375 kB / 0.8055 GB, free: 25.38 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.564e-05/0.8984, allocations: 11.31 kB / 0.8056 GB, free: 25.38 MB / 0.6511 GB Notification: Performance of SimCode: time 1.42e-06/0.8984, allocations: 0 / 0.8056 GB, free: 25.38 MB / 0.6511 GB Notification: Performance of Templates: time 0.003574/0.902, allocations: 0.7924 MB / 0.8063 GB, free: 25.29 MB / 0.6511 GB