Running command: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked") Notification: Performance of loadModel(Modelica_Synchronous): time 2.104/2.104, allocations: 218.4 MB / 231.1 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.945e-05/3.977e-05, allocations: 4 kB / 284.3 MB, free: 8.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0891/0.08916, allocations: 50.37 MB / 334.7 MB, free: 5.742 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3564/0.4456, allocations: 77.75 MB / 412.4 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/0.4459, allocations: 74.77 kB / 412.5 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003375/0.4493, allocations: 0.9992 MB / 413.5 MB, free: 15.68 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4493, allocations: 3.938 kB / 413.5 MB, free: 15.68 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.823e-06/0.4493, allocations: 0 / 413.5 MB, free: 15.68 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003662/0.4497, allocations: 334.3 kB / 413.9 MB, free: 15.31 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.4498, allocations: 12.03 kB / 413.9 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.984e-05/0.4498, allocations: 15.66 kB / 413.9 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.4501, allocations: 189.2 kB / 414.1 MB, free: 15.06 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.4501, allocations: 4 kB / 414.1 MB, free: 15.06 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.4501, allocations: 7.266 kB / 414.1 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002088/0.4503, allocations: 84.8 kB / 414.2 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.4504, allocations: 0 / 414.2 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.755e-06/0.4504, allocations: 4 kB / 414.2 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.602e-06/0.4504, allocations: 0 / 414.2 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.279e-05/0.4504, allocations: 7.812 kB / 414.2 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000381/0.4508, allocations: 253.4 kB / 414.4 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.824e-05/0.4509, allocations: 41.59 kB / 414.5 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.335e-05/0.451, allocations: 17.84 kB / 414.5 MB, free: 14.58 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.451, allocations: 3.984 kB / 414.5 MB, free: 14.58 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.451, allocations: 34.31 kB / 414.5 MB, free: 14.54 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 2.574e-06/0.4511, allocations: 4 kB / 414.5 MB, free: 14.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001591/0.4512, allocations: 37.64 kB / 414.6 MB, free: 14.49 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.461e-05/0.4513, allocations: 88.92 kB / 414.6 MB, free: 14.39 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.4515, allocations: 124.3 kB / 414.8 MB, free: 14.27 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.4515, allocations: 25.7 kB / 414.8 MB, free: 14.24 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.517e-05/0.4516, allocations: 83.77 kB / 414.9 MB, free: 14.16 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.43e-05/0.4516, allocations: 4 kB / 414.9 MB, free: 14.15 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.732e-06/0.4516, allocations: 0 / 414.9 MB, free: 14.15 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001996/0.4519, allocations: 314.8 kB / 415.2 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.965e-05/0.4519, allocations: 4 kB / 415.2 MB, free: 13.84 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.412e-05/0.452, allocations: 17.66 kB / 415.2 MB, free: 13.81 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.385e-05/0.452, allocations: 4 kB / 415.2 MB, free: 13.81 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.452, allocations: 3.953 kB / 415.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001533/0.4522, allocations: 41.5 kB / 415.2 MB, free: 13.76 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.4523, allocations: 8 kB / 415.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.143e-06/0.4523, allocations: 0.875 kB / 415.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.4523, allocations: 0 / 415.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.224e-05/0.4524, allocations: 4.125 kB / 415.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.4524, allocations: 4 kB / 415.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.167e-05/0.4525, allocations: 0 / 415.3 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.4525, allocations: 3.938 kB / 415.3 MB, free: 13.74 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample.u,sample.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001123/0.4527, allocations: 112.7 kB / 415.4 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.4528, allocations: 44.98 kB / 415.4 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.163e-05/0.4529, allocations: 7.656 kB / 415.4 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.364e-06/0.4529, allocations: 0 / 415.4 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.805e-06/0.4529, allocations: 4 kB / 415.4 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.552e-06/0.453, allocations: 4.031 kB / 415.4 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003655/0.4533, allocations: 165.1 kB / 415.6 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.103e-06/0.4534, allocations: 4 kB / 415.6 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.831e-05/0.4534, allocations: 3.953 kB / 415.6 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.526e-06/0.4534, allocations: 0 / 415.6 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.4535, allocations: 0 / 415.6 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.177e-06/0.4535, allocations: 4 kB / 415.6 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.867e-06/0.4535, allocations: 0 / 415.6 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000245/0.4537, allocations: 170.7 kB / 415.8 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.4539, allocations: 85.09 kB / 415.9 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.873e-05/0.4539, allocations: 0 / 415.9 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.4541, allocations: 0 / 415.9 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/0.4542, allocations: 4 kB / 415.9 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.74e-06/0.4542, allocations: 0 / 415.9 MB, free: 13.06 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001506/0.4544, allocations: 102.7 kB / 416 MB, free: 12.96 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.068e-06/0.4544, allocations: 4.031 kB / 416 MB, free: 12.96 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006157/0.4551, allocations: 4 kB / 416 MB, free: 12.96 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample.u,sample.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001628/0.4552, allocations: 98.81 kB / 416.1 MB, free: 12.86 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001172/0.4554, allocations: 11.88 kB / 416.1 MB, free: 12.84 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.418e-06/0.4554, allocations: 0 / 416.1 MB, free: 12.84 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.535e-05/0.4555, allocations: 7.984 kB / 416.1 MB, free: 12.84 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004289/0.4559, allocations: 11.91 kB / 416.1 MB, free: 12.83 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000418/0.4563, allocations: 102 kB / 416.2 MB, free: 12.71 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004631/0.4568, allocations: 0.6887 MB / 416.9 MB, free: 12 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.221e-05/0.4569, allocations: 3.984 kB / 416.9 MB, free: 11.99 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.656e-05/0.457, allocations: 11.44 kB / 416.9 MB, free: 11.98 MB / 346.7 MB Notification: Performance of SimCode: time 2.225e-06/0.457, allocations: 0 / 416.9 MB, free: 11.98 MB / 346.7 MB Notification: Performance of Templates: time 0.003009/0.46, allocations: 396.5 kB / 417.3 MB, free: 11.61 MB / 346.7 MB