Running command: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredSampler") Notification: Performance of loadModel(Buildings): time 3.907/3.907, allocations: 403.9 MB / 411 MB, free: 388 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.306e-05/3.324e-05, allocations: 4 kB / 0.4942 GB, free: 1.379 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5083/0.5084, allocations: 92.69 MB / 0.5847 GB, free: 2.379 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1814/0.6899, allocations: 120.9 MB / 0.7028 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/0.6902, allocations: 87.92 kB / 0.7029 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.004128/0.6943, allocations: 1.152 MB / 0.704 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.922e-06/0.6944, allocations: 3.938 kB / 0.704 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.187e-06/0.6944, allocations: 0 / 0.704 GB, free: 8.031 MB / 0.5886 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.0005137/0.6949, allocations: 366.4 kB / 0.7043 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.695, allocations: 20.02 kB / 0.7044 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.962e-05/0.695, allocations: 11.86 kB / 0.7044 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.6952, allocations: 167 kB / 0.7045 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.6952, allocations: 0 / 0.7045 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.6953, allocations: 7.938 kB / 0.7045 GB, free: 7.387 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001102/0.6954, allocations: 31.98 kB / 0.7046 GB, free: 7.355 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.6955, allocations: 53.62 kB / 0.7046 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.595e-06/0.6955, allocations: 0 / 0.7046 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.6956, allocations: 0 / 0.7046 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.879e-06/0.6956, allocations: 3.953 kB / 0.7046 GB, free: 7.293 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004923/0.6961, allocations: 285.3 kB / 0.7049 GB, free: 6.977 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.6962, allocations: 46.58 kB / 0.7049 GB, free: 6.922 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.534e-05/0.6963, allocations: 20.98 kB / 0.705 GB, free: 6.898 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.6963, allocations: 3.938 kB / 0.705 GB, free: 6.895 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/0.6965, allocations: 71.34 kB / 0.705 GB, free: 6.812 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 2.453e-06/0.6965, allocations: 4 kB / 0.705 GB, free: 6.809 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0002307/0.6967, allocations: 81.59 kB / 0.7051 GB, free: 6.723 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.6968, allocations: 55.39 kB / 0.7052 GB, free: 6.656 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.973e-05/0.6969, allocations: 105.1 kB / 0.7053 GB, free: 6.543 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.6969, allocations: 29.7 kB / 0.7053 GB, free: 6.508 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.533e-05/0.697, allocations: 96.12 kB / 0.7054 GB, free: 6.41 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.6971, allocations: 19.66 kB / 0.7054 GB, free: 6.391 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.873e-06/0.6971, allocations: 0 / 0.7054 GB, free: 6.391 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.6972, allocations: 318.8 kB / 0.7057 GB, free: 6.07 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.404e-05/0.6973, allocations: 23.94 kB / 0.7057 GB, free: 6.047 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.73e-05/0.6974, allocations: 48.34 kB / 0.7058 GB, free: 5.984 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.94e-05/0.6975, allocations: 23.97 kB / 0.7058 GB, free: 5.961 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.576e-06/0.6975, allocations: 0 / 0.7058 GB, free: 5.961 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002036/0.6977, allocations: 85.53 kB / 0.7059 GB, free: 5.871 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.6977, allocations: 4 kB / 0.7059 GB, free: 5.867 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.842e-06/0.6977, allocations: 4 kB / 0.7059 GB, free: 5.863 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.6977, allocations: 7.938 kB / 0.7059 GB, free: 5.855 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.6979, allocations: 24.06 kB / 0.7059 GB, free: 5.832 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.439e-06/0.6979, allocations: 3.984 kB / 0.7059 GB, free: 5.828 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.6981, allocations: 15.98 kB / 0.7059 GB, free: 5.812 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.6981, allocations: 4 kB / 0.706 GB, free: 5.809 MB / 0.5886 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 9.473e-05/0.6982, allocations: 105 kB / 0.7061 GB, free: 5.699 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.975e-05/0.6982, allocations: 3.906 kB / 0.7061 GB, free: 5.695 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002231/0.6985, allocations: 98.22 kB / 0.7061 GB, free: 5.594 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.436e-06/0.6985, allocations: 4 kB / 0.7062 GB, free: 5.59 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.213e-06/0.6985, allocations: 7.953 kB / 0.7062 GB, free: 5.582 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.357e-06/0.6985, allocations: 0 / 0.7062 GB, free: 5.582 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004983/0.699, allocations: 339 kB / 0.7065 GB, free: 5.207 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.699, allocations: 3.984 kB / 0.7065 GB, free: 5.203 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.489e-05/0.6991, allocations: 16 kB / 0.7065 GB, free: 5.188 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.015e-06/0.6992, allocations: 0 / 0.7065 GB, free: 5.188 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.6992, allocations: 0 / 0.7065 GB, free: 5.188 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.894e-06/0.6992, allocations: 11.94 kB / 0.7065 GB, free: 5.176 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.432e-06/0.6992, allocations: 0 / 0.7065 GB, free: 5.176 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.6994, allocations: 171.5 kB / 0.7067 GB, free: 4.992 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.205e-05/0.6995, allocations: 81.39 kB / 0.7068 GB, free: 4.895 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.6995, allocations: 7.984 kB / 0.7068 GB, free: 4.887 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.6997, allocations: 19.98 kB / 0.7068 GB, free: 4.867 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.343e-05/0.6998, allocations: 11.94 kB / 0.7068 GB, free: 4.855 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.776e-06/0.6998, allocations: 3.938 kB / 0.7068 GB, free: 4.852 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.015e-05/0.6999, allocations: 87.28 kB / 0.7069 GB, free: 4.766 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.36e-07/0.6999, allocations: 3.938 kB / 0.7069 GB, free: 4.762 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000324/0.7002, allocations: 12 kB / 0.7069 GB, free: 4.75 MB / 0.5886 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.000131/0.7004, allocations: 111.2 kB / 0.707 GB, free: 4.633 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001631/0.7005, allocations: 51.88 kB / 0.7071 GB, free: 4.582 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.699e-06/0.7006, allocations: 0 / 0.7071 GB, free: 4.582 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.16e-05/0.7007, allocations: 24 kB / 0.7071 GB, free: 4.559 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.7009, allocations: 16.61 kB / 0.7071 GB, free: 4.543 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003492/0.7013, allocations: 101.2 kB / 0.7072 GB, free: 4.422 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.7016, allocations: 0.6963 MB / 0.7079 GB, free: 3.699 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.533e-05/0.7017, allocations: 4 kB / 0.7079 GB, free: 3.695 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.119e-05/0.7017, allocations: 11.44 kB / 0.7079 GB, free: 3.684 MB / 0.5886 GB Notification: Performance of SimCode: time 1.194e-06/0.7018, allocations: 0 / 0.7079 GB, free: 3.684 MB / 0.5886 GB Notification: Performance of Templates: time 0.003427/0.7052, allocations: 0.7343 MB / 0.7086 GB, free: 2.957 MB / 0.5886 GB