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_LinearSystems2): time 2.342/2.342, allocations: 251.5 MB / 266 MB, free: 0.6758 MB / 218.7 MB Notification: Performance of loadModel(Modelica_Synchronous): time 0.1199/0.1199, allocations: 12.6 MB / 336.6 MB, free: 14.73 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.372e-05/3.362e-05, allocations: 4 kB / 399.8 MB, free: 15.46 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.3867, allocations: 59.43 MB / 459.2 MB, free: 28.61 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.RotationalSample): time 0.002275/0.3891, allocations: 1.624 MB / 460.8 MB, free: 26.97 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.3902, allocations: 0.5894 MB / 461.4 MB, free: 26.38 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.857e-05/0.3903, allocations: 8 kB / 461.4 MB, free: 26.37 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 3.525e-05/0.3904, allocations: 15.86 kB / 461.4 MB, free: 26.35 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.959e-05/0.3905, allocations: 15.95 kB / 461.4 MB, free: 26.34 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003761/0.3909, allocations: 79.78 kB / 461.5 MB, free: 26.26 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.391, allocations: 88.22 kB / 461.6 MB, free: 26.17 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.3912, allocations: 57.39 kB / 461.7 MB, free: 26.12 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.3914, allocations: 51.83 kB / 461.7 MB, free: 26.07 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.3915, allocations: 59.81 kB / 461.8 MB, free: 26.01 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.882e-05/0.3915, allocations: 12 kB / 461.8 MB, free: 26 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.3916, allocations: 4 kB / 461.8 MB, free: 25.99 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.505e-05/0.3916, allocations: 27.84 kB / 461.8 MB, free: 25.96 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.43e-05/0.3916, allocations: 8 kB / 461.8 MB, free: 25.96 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.3918, allocations: 142.4 kB / 462 MB, free: 25.82 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3918, allocations: 0 / 462 MB, free: 25.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3919, allocations: 0 / 462 MB, free: 25.82 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.3919, allocations: 0 / 462 MB, free: 25.82 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.0008827/0.3928, allocations: 0.4885 MB / 462.4 MB, free: 25.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.3928, allocations: 12.03 kB / 462.5 MB, free: 25.26 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.673e-05/0.3929, allocations: 19.77 kB / 462.5 MB, free: 25.24 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.3932, allocations: 237.5 kB / 462.7 MB, free: 24.97 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.545e-05/0.3932, allocations: 42.03 kB / 462.8 MB, free: 24.92 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.349e-05/0.3933, allocations: 16 kB / 462.8 MB, free: 24.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009133/0.3942, allocations: 338.2 kB / 463.1 MB, free: 24.56 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.3942, allocations: 4 kB / 463.1 MB, free: 24.56 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.979e-05/0.3943, allocations: 8 kB / 463.1 MB, free: 24.55 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.3943, allocations: 7.953 kB / 463.1 MB, free: 24.54 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006939/0.395, allocations: 144.4 kB / 463.3 MB, free: 24.4 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000745/0.3958, allocations: 473.9 kB / 463.7 MB, free: 23.89 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007393/0.3965, allocations: 213.1 kB / 463.9 MB, free: 23.66 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.3966, allocations: 4 kB / 463.9 MB, free: 23.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000388/0.397, allocations: 119.3 kB / 464.1 MB, free: 23.53 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 2.295e-06/0.397, allocations: 0 / 464.1 MB, free: 23.53 MB / 346.7 MB Notification: Performance of matching and sorting (n=23): time 0.001197/0.3982, allocations: 314.3 kB / 464.4 MB, free: 23.21 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/0.3983, allocations: 89.11 kB / 464.4 MB, free: 23.11 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.3984, allocations: 135.5 kB / 464.6 MB, free: 22.97 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.3984, allocations: 29.7 kB / 464.6 MB, free: 22.93 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.002e-05/0.3985, allocations: 120.4 kB / 464.7 MB, free: 22.81 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.3985, allocations: 35.67 kB / 464.8 MB, free: 22.78 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.665e-05/0.3986, allocations: 8 kB / 464.8 MB, free: 22.77 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.095e-05/0.3986, allocations: 322.8 kB / 465.1 MB, free: 22.45 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003248/0.399, allocations: 80.19 kB / 465.2 MB, free: 22.37 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003418/0.3993, allocations: 150.7 kB / 465.3 MB, free: 22.18 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003304/0.3997, allocations: 105.6 kB / 465.4 MB, free: 22.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.3997, allocations: 0 / 465.4 MB, free: 22.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008192/0.4005, allocations: 292.8 kB / 465.7 MB, free: 21.78 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.207e-05/0.4006, allocations: 37.69 kB / 465.7 MB, free: 21.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.4006, allocations: 4 kB / 465.7 MB, free: 21.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.4006, allocations: 4 kB / 465.7 MB, free: 21.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003145/0.4009, allocations: 48.31 kB / 465.8 MB, free: 21.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.599e-06/0.401, allocations: 7.938 kB / 465.8 MB, free: 21.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002746/0.4012, allocations: 31.83 kB / 465.8 MB, free: 21.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/0.4013, allocations: 12 kB / 465.8 MB, free: 21.63 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.0001315/0.4014, allocations: 147.6 kB / 466 MB, free: 21.48 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002473/0.4017, allocations: 109.4 kB / 466.1 MB, free: 21.36 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.485e-05/0.4018, allocations: 24.7 kB / 466.1 MB, free: 21.34 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.4018, allocations: 8 kB / 466.1 MB, free: 21.33 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.4018, allocations: 0 / 466.1 MB, free: 21.33 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.4018, allocations: 0 / 466.1 MB, free: 21.33 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009411/0.4028, allocations: 0.5059 MB / 466.6 MB, free: 20.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.4028, allocations: 4 kB / 466.6 MB, free: 20.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000321/0.4031, allocations: 39.91 kB / 466.7 MB, free: 20.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.4031, allocations: 4 kB / 466.7 MB, free: 20.72 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.4032, allocations: 7.984 kB / 466.7 MB, free: 20.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.4032, allocations: 11.94 kB / 466.7 MB, free: 20.7 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4032, allocations: 0 / 466.7 MB, free: 20.7 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008164/0.404, allocations: 346.3 kB / 467 MB, free: 20.34 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.4041, allocations: 96.84 kB / 467.1 MB, free: 20.23 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.656e-05/0.4041, allocations: 4 kB / 467.1 MB, free: 20.22 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002974/0.4044, allocations: 23.98 kB / 467.2 MB, free: 20.2 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.216e-05/0.4045, allocations: 15.97 kB / 467.2 MB, free: 20.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.647e-05/0.4046, allocations: 15.98 kB / 467.2 MB, free: 20.17 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.728e-05/0.4046, allocations: 105.5 kB / 467.3 MB, free: 20.07 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4047, allocations: 0 / 467.3 MB, free: 20.07 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003588/0.405, allocations: 39.95 kB / 467.3 MB, free: 20.03 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.0001166/0.4052, allocations: 115.2 kB / 467.4 MB, free: 19.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008008/0.406, allocations: 257.1 kB / 467.7 MB, free: 19.64 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.406, allocations: 0 / 467.7 MB, free: 19.64 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003046/0.4063, allocations: 68.59 kB / 467.8 MB, free: 19.58 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004515/0.4068, allocations: 67.92 kB / 467.8 MB, free: 19.51 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009885/0.4078, allocations: 375.3 kB / 468.2 MB, free: 19.12 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.4081, allocations: 0.7325 MB / 468.9 MB, free: 18.36 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000222/0.4083, allocations: 13.42 kB / 468.9 MB, free: 18.35 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.4085, allocations: 19.44 kB / 469 MB, free: 18.33 MB / 346.7 MB Notification: Performance of SimCode: time 8.22e-07/0.4085, allocations: 3.938 kB / 469 MB, free: 18.32 MB / 346.7 MB Notification: Performance of Templates: time 0.00833/0.4168, allocations: 1.647 MB / 470.6 MB, free: 16.69 MB / 346.7 MB