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_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked") Notification: Performance of loadModel(Modelica_Synchronous): time 2.053/2.053, allocations: 218.4 MB / 231.5 MB, free: 12.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.573e-05/3.59e-05, allocations: 8 kB / 284.3 MB, free: 8.68 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09357/0.09363, allocations: 50.36 MB / 334.7 MB, free: 6.223 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3872/0.4809, allocations: 77.81 MB / 412.5 MB, free: 376 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/0.4812, allocations: 78 kB / 412.6 MB, free: 332 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003463/0.4847, allocations: 0.9963 MB / 413.6 MB, free: 15.44 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.163e-06/0.4847, allocations: 0 / 413.6 MB, free: 15.44 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.4847, allocations: 3.938 kB / 413.6 MB, free: 15.44 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.00037/0.4851, allocations: 329.7 kB / 413.9 MB, free: 15.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.4852, allocations: 15.97 kB / 413.9 MB, free: 15.06 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.021e-05/0.4852, allocations: 19.89 kB / 413.9 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.4855, allocations: 186.2 kB / 414.1 MB, free: 14.82 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/0.4855, allocations: 0 / 414.1 MB, free: 14.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.4855, allocations: 3.953 kB / 414.1 MB, free: 14.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.4858, allocations: 83.12 kB / 414.2 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.915e-06/0.4858, allocations: 0 / 414.2 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.4858, allocations: 7.984 kB / 414.2 MB, free: 14.72 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.663e-06/0.4858, allocations: 0 / 414.2 MB, free: 14.72 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.515e-05/0.4859, allocations: 10.62 kB / 414.2 MB, free: 14.71 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004015/0.4863, allocations: 263.3 kB / 414.5 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.959e-05/0.4864, allocations: 36.41 kB / 414.5 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.273e-05/0.4864, allocations: 18.84 kB / 414.5 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.4864, allocations: 3.984 kB / 414.5 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.4865, allocations: 38 kB / 414.6 MB, free: 14.29 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 2.979e-06/0.4865, allocations: 0 / 414.6 MB, free: 14.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001595/0.4867, allocations: 37.64 kB / 414.6 MB, free: 14.25 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.117e-05/0.4867, allocations: 81.17 kB / 414.7 MB, free: 14.15 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.4869, allocations: 125.8 kB / 414.8 MB, free: 14.03 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.4869, allocations: 28.52 kB / 414.8 MB, free: 14 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.017e-05/0.487, allocations: 154.6 kB / 415 MB, free: 13.84 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.297e-06/0.487, allocations: 0 / 415 MB, free: 13.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.893e-06/0.4871, allocations: 0 / 415 MB, free: 13.84 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.4872, allocations: 313.7 kB / 415.3 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.472e-05/0.4872, allocations: 0 / 415.3 MB, free: 13.53 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.03e-05/0.4873, allocations: 25.03 kB / 415.3 MB, free: 13.5 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.232e-05/0.4873, allocations: 4 kB / 415.3 MB, free: 13.5 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.074e-06/0.4873, allocations: 3.953 kB / 415.3 MB, free: 13.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.278e-05/0.4874, allocations: 37.69 kB / 415.3 MB, free: 13.45 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.4875, allocations: 4 kB / 415.3 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.828e-06/0.4875, allocations: 4 kB / 415.4 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.4875, allocations: 0 / 415.4 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.633e-05/0.4875, allocations: 2.938 kB / 415.4 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.272e-06/0.4876, allocations: 4.125 kB / 415.4 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.461e-05/0.4876, allocations: 7.938 kB / 415.4 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.32e-06/0.4876, allocations: 0 / 415.4 MB, free: 13.43 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 8.16e-05/0.4877, allocations: 106.6 kB / 415.5 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.736e-05/0.4878, allocations: 49.48 kB / 415.5 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.662e-05/0.4879, allocations: 10.91 kB / 415.5 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.4879, allocations: 0 / 415.5 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.073e-06/0.4879, allocations: 0 / 415.5 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.665e-06/0.4879, allocations: 4.031 kB / 415.5 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002162/0.4881, allocations: 164.5 kB / 415.7 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.451e-06/0.4882, allocations: 0 / 415.7 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.574e-05/0.4882, allocations: 7.953 kB / 415.7 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.484e-06/0.4882, allocations: 0 / 415.7 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.4882, allocations: 0 / 415.7 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.487e-06/0.4882, allocations: 0 / 415.7 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.711e-06/0.4882, allocations: 0 / 415.7 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.4884, allocations: 164.8 kB / 415.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.163e-05/0.4885, allocations: 89 kB / 415.9 MB, free: 12.76 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.4885, allocations: 15.31 kB / 416 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.977e-05/0.4886, allocations: 0 / 416 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/0.4887, allocations: 0 / 416 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.4887, allocations: 4 kB / 416 MB, free: 12.75 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.109e-05/0.4888, allocations: 98.2 kB / 416.1 MB, free: 12.66 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.93e-07/0.4888, allocations: 4 kB / 416.1 MB, free: 12.65 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002895/0.4891, allocations: 4.031 kB / 416.1 MB, free: 12.65 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.0001155/0.4892, allocations: 95.25 kB / 416.2 MB, free: 12.55 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.986e-05/0.4893, allocations: 15.31 kB / 416.2 MB, free: 12.54 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.6e-06/0.4893, allocations: 0 / 416.2 MB, free: 12.54 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.005e-05/0.4894, allocations: 4 kB / 416.2 MB, free: 12.53 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.4897, allocations: 12.06 kB / 416.2 MB, free: 12.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000294/0.49, allocations: 130.8 kB / 416.3 MB, free: 12.37 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.4903, allocations: 0.6887 MB / 417 MB, free: 11.66 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.987e-05/0.4904, allocations: 11.42 kB / 417 MB, free: 11.64 MB / 346.7 MB Notification: Performance of SimCode: time 1.458e-06/0.4904, allocations: 0 / 417 MB, free: 11.64 MB / 346.7 MB Notification: Performance of Templates: time 0.002173/0.4926, allocations: 0.6094 MB / 417.6 MB, free: 11.04 MB / 346.7 MB