Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample") Notification: Performance of loadModel(Modelica): time 1.902/1.902, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.438e-05/3.444e-05, allocations: 11.98 kB / 292.1 MB, free: 8.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09015/0.09021, allocations: 50.41 MB / 342.5 MB, free: 6.395 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3519/0.4421, allocations: 79.58 MB / 422.1 MB, free: 14.54 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/0.4424, allocations: 77.27 kB / 422.2 MB, free: 14.49 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01173/0.4541, allocations: 2.976 MB / 425.2 MB, free: 11.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.101e-06/0.4542, allocations: 0 / 425.2 MB, free: 11.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.4542, allocations: 4 kB / 425.2 MB, free: 11.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.0008571/0.4551, allocations: 498.5 kB / 425.7 MB, free: 11.38 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.4551, allocations: 12.03 kB / 425.7 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.401e-05/0.4552, allocations: 23.67 kB / 425.7 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003927/0.4556, allocations: 230.3 kB / 425.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.941e-05/0.4557, allocations: 45.83 kB / 426 MB, free: 11.04 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.926e-05/0.4558, allocations: 11.94 kB / 426 MB, free: 11.04 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006648/0.4565, allocations: 302 kB / 426.3 MB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.4565, allocations: 4 kB / 426.3 MB, free: 10.79 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.4565, allocations: 7.891 kB / 426.3 MB, free: 10.79 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.239e-06/0.4566, allocations: 4 kB / 426.3 MB, free: 10.79 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002698/0.4568, allocations: 90.22 kB / 426.4 MB, free: 10.73 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009318/0.4578, allocations: 486.7 kB / 426.9 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003631/0.4582, allocations: 163 kB / 427 MB, free: 10.13 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.4584, allocations: 80.59 kB / 427.1 MB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.105e-05/0.4584, allocations: 8.188 kB / 427.1 MB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002301/0.4587, allocations: 94.86 kB / 427.2 MB, free: 9.977 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 3.23e-06/0.4587, allocations: 4 kB / 427.2 MB, free: 9.973 MB / 346.7 MB Notification: Performance of matching and sorting (n=23): time 0.0004662/0.4592, allocations: 168.2 kB / 427.4 MB, free: 9.836 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.459e-05/0.4593, allocations: 88.83 kB / 427.5 MB, free: 9.734 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.4594, allocations: 139.8 kB / 427.6 MB, free: 9.602 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.159e-05/0.4595, allocations: 29.58 kB / 427.6 MB, free: 9.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.4596, allocations: 178.6 kB / 427.8 MB, free: 9.402 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.487e-05/0.4597, allocations: 43.16 kB / 427.8 MB, free: 9.367 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.392e-05/0.4597, allocations: 3.438 kB / 427.8 MB, free: 9.367 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.4599, allocations: 326.7 kB / 428.2 MB, free: 9.043 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.46, allocations: 43.72 kB / 428.2 MB, free: 9.016 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/0.4602, allocations: 126.3 kB / 428.3 MB, free: 8.879 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.4604, allocations: 80.94 kB / 428.4 MB, free: 8.809 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.706e-06/0.4604, allocations: 0 / 428.4 MB, free: 8.809 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004868/0.4609, allocations: 221.4 kB / 428.6 MB, free: 8.617 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.371e-05/0.461, allocations: 35.11 kB / 428.7 MB, free: 8.578 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.134e-06/0.461, allocations: 4 kB / 428.7 MB, free: 8.574 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.461, allocations: 4 kB / 428.7 MB, free: 8.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/0.4613, allocations: 48.25 kB / 428.7 MB, free: 8.523 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.4614, allocations: 4 kB / 428.7 MB, free: 8.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.4616, allocations: 39.5 kB / 428.8 MB, free: 8.484 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.195e-05/0.4616, allocations: 11.88 kB / 428.8 MB, free: 8.477 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.0001343/0.4618, allocations: 128.4 kB / 428.9 MB, free: 8.352 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000221/0.462, allocations: 112.8 kB / 429 MB, free: 8.25 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.472e-05/0.4621, allocations: 24.38 kB / 429 MB, free: 8.238 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.4621, allocations: 8 kB / 429 MB, free: 8.23 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.687e-06/0.4621, allocations: 0 / 429 MB, free: 8.23 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.017e-06/0.4621, allocations: 0 / 429 MB, free: 8.23 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007175/0.4629, allocations: 463 kB / 429.5 MB, free: 7.781 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.649e-06/0.4629, allocations: 0 / 429.5 MB, free: 7.781 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002651/0.4632, allocations: 47.78 kB / 429.5 MB, free: 7.738 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.894e-06/0.4632, allocations: 4 kB / 429.5 MB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.4632, allocations: 7.984 kB / 429.5 MB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.4632, allocations: 0 / 429.5 MB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.445e-06/0.4633, allocations: 4 kB / 429.5 MB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004878/0.4638, allocations: 292 kB / 429.8 MB, free: 7.453 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.354e-05/0.4639, allocations: 96.72 kB / 429.9 MB, free: 7.344 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.826e-05/0.4639, allocations: 4 kB / 429.9 MB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/0.4642, allocations: 23.8 kB / 430 MB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.423e-05/0.4643, allocations: 23.73 kB / 430 MB, free: 7.301 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.593e-05/0.4643, allocations: 4 kB / 430 MB, free: 7.297 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001079/0.4644, allocations: 113.3 kB / 430.1 MB, free: 7.199 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.65e-07/0.4644, allocations: 0 / 430.1 MB, free: 7.199 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004218/0.4649, allocations: 47.47 kB / 430.1 MB, free: 7.16 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.0001735/0.4651, allocations: 123.4 kB / 430.3 MB, free: 7.035 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004179/0.4655, allocations: 200.5 kB / 430.5 MB, free: 6.867 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.153e-06/0.4655, allocations: 0 / 430.5 MB, free: 6.867 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.4656, allocations: 39.17 kB / 430.5 MB, free: 6.84 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.4661, allocations: 60.52 kB / 430.5 MB, free: 6.797 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006445/0.4667, allocations: 249.4 kB / 430.8 MB, free: 6.555 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004282/0.4672, allocations: 0.7324 MB / 431.5 MB, free: 5.797 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.677e-05/0.4673, allocations: 22.8 kB / 431.5 MB, free: 5.781 MB / 346.7 MB Notification: Performance of SimCode: time 1.397e-06/0.4673, allocations: 0 / 431.5 MB, free: 5.781 MB / 346.7 MB Notification: Performance of Templates: time 0.004796/0.4721, allocations: 2.081 MB / 433.6 MB, free: 3.73 MB / 346.7 MB