Running command: translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.RotationalSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.RotationalSample") Notification: Performance of loadModel(Modelica_Synchronous): time 2.038/2.038, allocations: 218.4 MB / 231.5 MB, free: 12.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.106e-05/3.113e-05, allocations: 4 kB / 284.3 MB, free: 8.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08473/0.08478, allocations: 50.36 MB / 334.7 MB, free: 6.238 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.356/0.4408, allocations: 80.73 MB / 415.4 MB, free: 13.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/0.4411, allocations: 77.95 kB / 415.5 MB, free: 13.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01179/0.453, allocations: 2.93 MB / 418.4 MB, free: 10.92 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.963e-06/0.453, allocations: 4 kB / 418.4 MB, free: 10.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.453, allocations: 0 / 418.4 MB, free: 10.91 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.0008887/0.4539, allocations: 0.4945 MB / 418.9 MB, free: 10.37 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.454, allocations: 8.031 kB / 418.9 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.387e-05/0.4541, allocations: 23.75 kB / 418.9 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003701/0.4545, allocations: 223.1 kB / 419.2 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.711e-05/0.4546, allocations: 45.86 kB / 419.2 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.238e-05/0.4546, allocations: 15.94 kB / 419.2 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006695/0.4553, allocations: 310.2 kB / 419.5 MB, free: 9.793 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.4553, allocations: 0 / 419.5 MB, free: 9.793 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.682e-05/0.4554, allocations: 3.875 kB / 419.5 MB, free: 9.793 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.4554, allocations: 4 kB / 419.5 MB, free: 9.789 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000269/0.4557, allocations: 98.84 kB / 419.6 MB, free: 9.723 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009711/0.4567, allocations: 479.4 kB / 420.1 MB, free: 9.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003567/0.457, allocations: 162.8 kB / 420.2 MB, free: 9.137 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/0.4572, allocations: 88.58 kB / 420.3 MB, free: 9.07 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.4573, allocations: 8.062 kB / 420.3 MB, free: 9.062 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002404/0.4575, allocations: 94.69 kB / 420.4 MB, free: 8.973 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 5.756e-06/0.4576, allocations: 4 kB / 420.4 MB, free: 8.969 MB / 346.7 MB Notification: Performance of matching and sorting (n=23): time 0.0004745/0.458, allocations: 172.2 kB / 420.6 MB, free: 8.828 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.043e-05/0.4581, allocations: 85.05 kB / 420.7 MB, free: 8.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.4583, allocations: 143.6 kB / 420.8 MB, free: 8.594 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.043e-05/0.4584, allocations: 37.52 kB / 420.9 MB, free: 8.555 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.4585, allocations: 176.3 kB / 421 MB, free: 8.391 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.748e-05/0.4585, allocations: 34.11 kB / 421.1 MB, free: 8.363 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.413e-05/0.4586, allocations: 2.438 kB / 421.1 MB, free: 8.363 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.4587, allocations: 326 kB / 421.4 MB, free: 8.039 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.4589, allocations: 46.42 kB / 421.4 MB, free: 8.012 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.4591, allocations: 119.9 kB / 421.6 MB, free: 7.879 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.4593, allocations: 85.67 kB / 421.6 MB, free: 7.805 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.843e-06/0.4593, allocations: 0 / 421.6 MB, free: 7.805 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004939/0.4598, allocations: 228 kB / 421.9 MB, free: 7.605 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.306e-05/0.4598, allocations: 37.66 kB / 421.9 MB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.4599, allocations: 4 kB / 421.9 MB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.4599, allocations: 4 kB / 421.9 MB, free: 7.555 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002781/0.4602, allocations: 51.75 kB / 422 MB, free: 7.508 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.4602, allocations: 7.938 kB / 422 MB, free: 7.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000245/0.4605, allocations: 31.02 kB / 422 MB, free: 7.473 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.298e-05/0.4605, allocations: 11.98 kB / 422 MB, free: 7.461 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.000137/0.4607, allocations: 126.4 kB / 422.1 MB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002209/0.4609, allocations: 95.22 kB / 422.2 MB, free: 7.254 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.693e-05/0.461, allocations: 34.62 kB / 422.3 MB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.791e-06/0.461, allocations: 4 kB / 422.3 MB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.461, allocations: 0 / 422.3 MB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.432e-06/0.461, allocations: 0 / 422.3 MB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007225/0.4618, allocations: 468.9 kB / 422.7 MB, free: 6.773 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.81e-06/0.4618, allocations: 0 / 422.7 MB, free: 6.773 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002669/0.462, allocations: 43.91 kB / 422.8 MB, free: 6.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.089e-05/0.4621, allocations: 11.98 kB / 422.8 MB, free: 6.719 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.4621, allocations: 3.562 kB / 422.8 MB, free: 6.719 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.606e-06/0.4621, allocations: 7.938 kB / 422.8 MB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.066e-06/0.4621, allocations: 0 / 422.8 MB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004772/0.4626, allocations: 296.6 kB / 423.1 MB, free: 6.438 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.734e-05/0.4627, allocations: 88.92 kB / 423.2 MB, free: 6.332 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.736e-05/0.4628, allocations: 15.11 kB / 423.2 MB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/0.463, allocations: 19.11 kB / 423.2 MB, free: 6.305 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.99e-05/0.4631, allocations: 19.41 kB / 423.2 MB, free: 6.289 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.73e-05/0.4632, allocations: 4 kB / 423.2 MB, free: 6.285 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001106/0.4633, allocations: 112.3 kB / 423.3 MB, free: 6.188 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.39e-07/0.4633, allocations: 0 / 423.3 MB, free: 6.188 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004568/0.4638, allocations: 40.69 kB / 423.4 MB, free: 6.156 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.0001688/0.464, allocations: 118 kB / 423.5 MB, free: 6.035 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004365/0.4644, allocations: 194.1 kB / 423.7 MB, free: 5.871 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4644, allocations: 0 / 423.7 MB, free: 5.871 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.4646, allocations: 49.12 kB / 423.7 MB, free: 5.836 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004127/0.465, allocations: 55.45 kB / 423.8 MB, free: 5.797 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000713/0.4657, allocations: 256.3 kB / 424 MB, free: 5.551 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004045/0.4662, allocations: 0.7319 MB / 424.8 MB, free: 4.797 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.99e-05/0.4663, allocations: 27.36 kB / 424.8 MB, free: 4.773 MB / 346.7 MB Notification: Performance of SimCode: time 1.685e-06/0.4663, allocations: 0 / 424.8 MB, free: 4.773 MB / 346.7 MB Notification: Performance of Templates: time 0.004959/0.4712, allocations: 2.079 MB / 426.9 MB, free: 2.723 MB / 346.7 MB