Running command: translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.RotationalSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.RotationalSample") Notification: Performance of loadModel(Modelica_Synchronous): time 2.131/2.131, allocations: 218.4 MB / 231.1 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.711e-05/3.722e-05, allocations: 4 kB / 284.3 MB, free: 8.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.105, allocations: 50.36 MB / 334.7 MB, free: 5.742 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3681/0.4732, allocations: 80.67 MB / 415.4 MB, free: 13.65 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/0.4735, allocations: 77.89 kB / 415.4 MB, free: 13.61 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01257/0.4861, allocations: 2.93 MB / 418.4 MB, free: 11.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.191e-06/0.4861, allocations: 0 / 418.4 MB, free: 11.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.853e-05/0.4861, allocations: 4 kB / 418.4 MB, free: 11.07 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009338/0.4871, allocations: 0.4983 MB / 418.9 MB, free: 10.53 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.4872, allocations: 12.03 kB / 418.9 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.786e-05/0.4872, allocations: 15.81 kB / 418.9 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004009/0.4877, allocations: 223.1 kB / 419.1 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.578e-05/0.4878, allocations: 45.67 kB / 419.2 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.267e-05/0.4878, allocations: 15.88 kB / 419.2 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006968/0.4885, allocations: 301.1 kB / 419.5 MB, free: 9.957 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.4886, allocations: 0 / 419.5 MB, free: 9.957 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.124e-05/0.4886, allocations: 7.938 kB / 419.5 MB, free: 9.953 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.4886, allocations: 4 kB / 419.5 MB, free: 9.949 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002745/0.4889, allocations: 99.05 kB / 419.6 MB, free: 9.887 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.49, allocations: 480.6 kB / 420.1 MB, free: 9.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003739/0.4904, allocations: 165.2 kB / 420.2 MB, free: 9.293 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000192/0.4906, allocations: 79.41 kB / 420.3 MB, free: 9.234 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.519e-05/0.4907, allocations: 11.12 kB / 420.3 MB, free: 9.227 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002579/0.4909, allocations: 96.94 kB / 420.4 MB, free: 9.133 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 6.163e-06/0.4909, allocations: 4 kB / 420.4 MB, free: 9.129 MB / 346.7 MB Notification: Performance of matching and sorting (n=23): time 0.0005072/0.4915, allocations: 172.6 kB / 420.6 MB, free: 8.992 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.738e-05/0.4916, allocations: 88.8 kB / 420.7 MB, free: 8.891 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.4918, allocations: 141.3 kB / 420.8 MB, free: 8.754 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.151e-05/0.4918, allocations: 29.02 kB / 420.8 MB, free: 8.723 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.992e-05/0.4919, allocations: 115.9 kB / 420.9 MB, free: 8.617 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.093e-05/0.492, allocations: 33.17 kB / 421 MB, free: 8.59 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.508e-05/0.492, allocations: 3.25 kB / 421 MB, free: 8.59 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.4922, allocations: 329.6 kB / 421.3 MB, free: 8.266 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.4924, allocations: 43.98 kB / 421.3 MB, free: 8.238 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.4926, allocations: 126.4 kB / 421.5 MB, free: 8.102 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.4928, allocations: 88.73 kB / 421.5 MB, free: 8.023 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.953e-06/0.4928, allocations: 0 / 421.5 MB, free: 8.023 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005494/0.4933, allocations: 232.9 kB / 421.8 MB, free: 7.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.216e-05/0.4934, allocations: 37.66 kB / 421.8 MB, free: 7.777 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.4934, allocations: 4 kB / 421.8 MB, free: 7.773 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.4935, allocations: 7.938 kB / 421.8 MB, free: 7.766 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003268/0.4938, allocations: 52.25 kB / 421.9 MB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.467e-05/0.4938, allocations: 7.984 kB / 421.9 MB, free: 7.707 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/0.4941, allocations: 30.95 kB / 421.9 MB, free: 7.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.799e-05/0.4941, allocations: 18.8 kB / 421.9 MB, free: 7.664 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 13 (rotationalClock.changed.y,rotationalClock.changed.u,$CLKPRE.rotationalClock.changed.u,rotationalClock.cast.y,rotationalClock.direction_changed,rotationalClock.direction,$whenCondition1,$PRE.trigger_interval_input.T_start,trigger_interval_input.T_start,$PRE.trigger_interval_input.count,trigger_interval_input.count,rotationalClock.less.y,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * 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.0001589/0.4943, allocations: 126 kB / 422.1 MB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002416/0.4946, allocations: 95.5 kB / 422.1 MB, free: 7.457 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.079e-05/0.4947, allocations: 33.81 kB / 422.2 MB, free: 7.434 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.549e-06/0.4947, allocations: 4 kB / 422.2 MB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.459e-06/0.4947, allocations: 0 / 422.2 MB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.104e-06/0.4947, allocations: 0 / 422.2 MB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007833/0.4955, allocations: 463.5 kB / 422.6 MB, free: 6.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.327e-06/0.4955, allocations: 3.984 kB / 422.6 MB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002918/0.4958, allocations: 43.42 kB / 422.7 MB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.899e-06/0.4959, allocations: 8 kB / 422.7 MB, free: 6.93 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.664e-05/0.4959, allocations: 3.25 kB / 422.7 MB, free: 6.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.855e-06/0.4959, allocations: 7.938 kB / 422.7 MB, free: 6.922 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.303e-06/0.4959, allocations: 0 / 422.7 MB, free: 6.922 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005025/0.4964, allocations: 293.8 kB / 423 MB, free: 6.648 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.568e-05/0.4965, allocations: 89 kB / 423.1 MB, free: 6.543 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.633e-05/0.4966, allocations: 14 kB / 423.1 MB, free: 6.535 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002622/0.4969, allocations: 19.48 kB / 423.1 MB, free: 6.52 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.166e-05/0.497, allocations: 15.97 kB / 423.1 MB, free: 6.504 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/0.497, allocations: 7.25 kB / 423.1 MB, free: 6.5 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001188/0.4971, allocations: 113.7 kB / 423.2 MB, free: 6.402 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.96e-07/0.4972, allocations: 0 / 423.2 MB, free: 6.402 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000469/0.4976, allocations: 42.78 kB / 423.3 MB, free: 6.367 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: 10 (rotationalClock.direction,rotationalClock.direction_changed,rotationalClock.cast.y,rotationalClock.changed.u,rotationalClock.changed.y,rotationalClock.less.y,$whenCondition1,trigger_interval_input.T_start,trigger_interval_input.count,$whenCondition2) * Number of discrete states: 1 (trigger_interval_input.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * 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.0001893/0.4978, allocations: 123 kB / 423.4 MB, free: 6.242 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004674/0.4983, allocations: 192.9 kB / 423.6 MB, free: 6.078 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.485e-06/0.4983, allocations: 0 / 423.6 MB, free: 6.078 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.4985, allocations: 49 kB / 423.6 MB, free: 6.043 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.4989, allocations: 53.77 kB / 423.7 MB, free: 6.004 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007406/0.4997, allocations: 234.4 kB / 423.9 MB, free: 5.789 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.5001, allocations: 0.7324 MB / 424.7 MB, free: 5.031 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00012/0.5003, allocations: 17.33 kB / 424.7 MB, free: 5.008 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.997e-05/0.5004, allocations: 23.42 kB / 424.7 MB, free: 4.988 MB / 346.7 MB Notification: Performance of SimCode: time 1.599e-06/0.5004, allocations: 0 / 424.7 MB, free: 4.988 MB / 346.7 MB Notification: Performance of Templates: time 0.006423/0.5068, allocations: 1.644 MB / 426.3 MB, free: 3.359 MB / 346.7 MB