Running command: translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep") Notification: Performance of loadModel(Modelica_Synchronous): time 1.947/1.947, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.638e-05/3.66e-05, allocations: 4 kB / 284.3 MB, free: 8.676 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08896/0.08902, allocations: 50.36 MB / 334.7 MB, free: 6.215 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3883/0.4773, allocations: 77.52 MB / 412.2 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002279/0.4776, allocations: 70.83 kB / 412.3 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002549/0.4802, allocations: 0.7727 MB / 413 MB, free: 15.95 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.216e-06/0.4802, allocations: 0 / 413 MB, free: 15.95 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.4802, allocations: 4 kB / 413 MB, free: 15.95 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003601/0.4806, allocations: 331.7 kB / 413.4 MB, free: 15.58 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.4807, allocations: 8.031 kB / 413.4 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.847e-05/0.4807, allocations: 7.984 kB / 413.4 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.4809, allocations: 179 kB / 413.6 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.481, allocations: 4 kB / 413.6 MB, free: 15.35 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.481, allocations: 11.52 kB / 413.6 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.4812, allocations: 88.64 kB / 413.7 MB, free: 15.26 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.003e-06/0.4813, allocations: 0 / 413.7 MB, free: 15.26 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.4813, allocations: 0 / 413.7 MB, free: 15.26 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.067e-06/0.4813, allocations: 4 kB / 413.7 MB, free: 15.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.921e-05/0.4813, allocations: 11.17 kB / 413.7 MB, free: 15.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001655/0.4815, allocations: 164.1 kB / 413.8 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.4817, allocations: 44.91 kB / 413.9 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.606e-05/0.4817, allocations: 16.17 kB / 413.9 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.4818, allocations: 7.891 kB / 413.9 MB, free: 14.97 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.4818, allocations: 30.56 kB / 413.9 MB, free: 14.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.093e-06/0.4818, allocations: 0 / 413.9 MB, free: 14.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001546/0.482, allocations: 55.64 kB / 414 MB, free: 14.88 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.738e-05/0.4821, allocations: 58.66 kB / 414 MB, free: 14.81 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.81e-05/0.4822, allocations: 96.19 kB / 414.1 MB, free: 14.71 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.4822, allocations: 25.7 kB / 414.2 MB, free: 14.68 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.416e-05/0.4823, allocations: 150.6 kB / 414.3 MB, free: 14.54 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.4823, allocations: 11.08 kB / 414.3 MB, free: 14.53 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-06/0.4823, allocations: 7.938 kB / 414.3 MB, free: 14.52 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.4825, allocations: 310.8 kB / 414.6 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.806e-05/0.4825, allocations: 11.5 kB / 414.6 MB, free: 14.2 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.965e-05/0.4826, allocations: 26.44 kB / 414.7 MB, free: 14.16 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.098e-05/0.4826, allocations: 4 kB / 414.7 MB, free: 14.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4826, allocations: 0 / 414.7 MB, free: 14.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001206/0.4828, allocations: 63.31 kB / 414.7 MB, free: 14.1 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.4828, allocations: 7.953 kB / 414.7 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.719e-06/0.4828, allocations: 0 / 414.7 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.4828, allocations: 4 kB / 414.7 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.601e-05/0.4829, allocations: 11.98 kB / 414.8 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.924e-06/0.4829, allocations: 3.938 kB / 414.8 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.808e-05/0.483, allocations: 0 / 414.8 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.483, allocations: 4 kB / 414.8 MB, free: 14.07 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (step.counter,$CLKPRE.step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.906e-05/0.4831, allocations: 112.3 kB / 414.9 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.4832, allocations: 49.19 kB / 414.9 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.27e-05/0.4832, allocations: 11.36 kB / 414.9 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.674e-06/0.4833, allocations: 0 / 414.9 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.988e-06/0.4833, allocations: 96 / 414.9 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.805e-06/0.4833, allocations: 3.984 kB / 414.9 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.4834, allocations: 164.8 kB / 415.1 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.09e-06/0.4834, allocations: 0 / 415.1 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.751e-05/0.4835, allocations: 8 kB / 415.1 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.629e-06/0.4836, allocations: 4 kB / 415.1 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.773e-06/0.4836, allocations: 0 / 415.1 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.511e-06/0.4836, allocations: 7.953 kB / 415.1 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.906e-06/0.4836, allocations: 3.938 kB / 415.1 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.4837, allocations: 76.17 kB / 415.2 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.703e-05/0.4838, allocations: 77.11 kB / 415.3 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.4838, allocations: 7.5 kB / 415.3 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.074e-05/0.4839, allocations: 4 kB / 415.3 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.08e-05/0.4839, allocations: 3.953 kB / 415.3 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.4839, allocations: 8 kB / 415.3 MB, free: 13.46 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.669e-05/0.484, allocations: 91.14 kB / 415.4 MB, free: 13.37 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.28e-07/0.484, allocations: 0 / 415.4 MB, free: 13.37 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002503/0.4843, allocations: 4 kB / 415.4 MB, free: 13.37 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001195/0.4844, allocations: 95.25 kB / 415.5 MB, free: 13.27 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.155e-05/0.4845, allocations: 22.06 kB / 415.5 MB, free: 13.25 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.548e-06/0.4845, allocations: 4 kB / 415.5 MB, free: 13.25 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.4846, allocations: 0 / 415.5 MB, free: 13.25 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.4848, allocations: 15.69 kB / 415.5 MB, free: 13.23 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002354/0.485, allocations: 107.6 kB / 415.6 MB, free: 13.11 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.4854, allocations: 0.6848 MB / 416.3 MB, free: 12.4 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.417e-05/0.4854, allocations: 7.438 kB / 416.3 MB, free: 12.39 MB / 346.7 MB Notification: Performance of SimCode: time 1.536e-06/0.4854, allocations: 0 / 416.3 MB, free: 12.39 MB / 346.7 MB Notification: Performance of Templates: time 0.002159/0.4876, allocations: 0.6058 MB / 416.9 MB, free: 11.79 MB / 346.7 MB