Running command: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep") Notification: Performance of loadModel(Modelica_Synchronous): time 2.056/2.056, allocations: 218.4 MB / 231.1 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.924e-05/3.948e-05, allocations: 8 kB / 284.3 MB, free: 8.191 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08972/0.08979, allocations: 50.37 MB / 334.7 MB, free: 5.73 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3742/0.464, allocations: 77.46 MB / 412.2 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.4643, allocations: 83.62 kB / 412.2 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002454/0.4668, allocations: 0.7321 MB / 413 MB, free: 112 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.632e-06/0.4668, allocations: 0 / 413 MB, free: 112 kB / 330.7 MB Notification: Performance of Transformations before backend: time 9.815e-06/0.4668, allocations: 0 / 413 MB, free: 112 kB / 330.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.00036/0.4672, allocations: 327.2 kB / 413.3 MB, free: 15.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.4672, allocations: 8.031 kB / 413.3 MB, free: 15.74 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.02e-05/0.4673, allocations: 4 kB / 413.3 MB, free: 15.74 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.4675, allocations: 178 kB / 413.5 MB, free: 15.53 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.4676, allocations: 7.984 kB / 413.5 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.4676, allocations: 7.953 kB / 413.5 MB, free: 15.51 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002409/0.4678, allocations: 95.19 kB / 413.6 MB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.837e-06/0.4679, allocations: 0 / 413.6 MB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.811e-06/0.4679, allocations: 4.75 kB / 413.6 MB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.966e-06/0.4679, allocations: 0 / 413.6 MB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.434e-05/0.468, allocations: 7.5 kB / 413.6 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001689/0.4681, allocations: 160.2 kB / 413.8 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.4683, allocations: 45.25 kB / 413.8 MB, free: 15.17 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.178e-05/0.4683, allocations: 16.27 kB / 413.8 MB, free: 15.15 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.4684, allocations: 3.953 kB / 413.8 MB, free: 15.15 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.4684, allocations: 34.5 kB / 413.9 MB, free: 15.11 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.973e-06/0.4684, allocations: 0 / 413.9 MB, free: 15.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001492/0.4686, allocations: 60.3 kB / 413.9 MB, free: 15.05 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.4686, allocations: 51.41 kB / 414 MB, free: 14.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.575e-05/0.4687, allocations: 104.5 kB / 414.1 MB, free: 14.88 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.4688, allocations: 25.7 kB / 414.1 MB, free: 14.85 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.759e-05/0.4688, allocations: 83.45 kB / 414.2 MB, free: 14.77 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.158e-05/0.4689, allocations: 0 / 414.2 MB, free: 14.77 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.079e-06/0.4689, allocations: 0 / 414.2 MB, free: 14.77 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.469, allocations: 318.2 kB / 414.5 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.19e-05/0.4691, allocations: 11.94 kB / 414.5 MB, free: 14.44 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.893e-05/0.4691, allocations: 27.12 kB / 414.5 MB, free: 14.4 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.872e-05/0.4692, allocations: 7.984 kB / 414.5 MB, free: 14.39 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.646e-06/0.4692, allocations: 0 / 414.5 MB, free: 14.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001249/0.4693, allocations: 67.41 kB / 414.6 MB, free: 14.33 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.4693, allocations: 7.953 kB / 414.6 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.008e-06/0.4694, allocations: 0 / 414.6 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.4694, allocations: 4 kB / 414.6 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.954e-05/0.4694, allocations: 7.938 kB / 414.6 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.4695, allocations: 0 / 414.6 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.053e-05/0.4695, allocations: 4 kB / 414.6 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.839e-06/0.4695, allocations: 0 / 414.6 MB, free: 14.3 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.513e-05/0.4696, allocations: 115.5 kB / 414.7 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.152e-05/0.4697, allocations: 52.38 kB / 414.8 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.944e-05/0.4698, allocations: 7.453 kB / 414.8 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.4698, allocations: 0 / 414.8 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4698, allocations: 0 / 414.8 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.448e-06/0.4698, allocations: 0 / 414.8 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.4699, allocations: 160.1 kB / 414.9 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.12e-06/0.47, allocations: 3.938 kB / 414.9 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.237e-05/0.47, allocations: 4 kB / 415 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.279e-06/0.47, allocations: 0 / 415 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.4701, allocations: 4.094 kB / 415 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.347e-06/0.4701, allocations: 11.94 kB / 415 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.812e-06/0.4701, allocations: 0 / 415 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.4702, allocations: 82.77 kB / 415 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.594e-05/0.4703, allocations: 77.11 kB / 415.1 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.4703, allocations: 3.125 kB / 415.1 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.544e-05/0.4704, allocations: 4 kB / 415.1 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.961e-06/0.4704, allocations: 3.953 kB / 415.1 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.131e-06/0.4704, allocations: 384 / 415.1 MB, free: 13.71 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.013e-05/0.4705, allocations: 94.77 kB / 415.2 MB, free: 13.62 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.31e-07/0.4705, allocations: 0 / 415.2 MB, free: 13.62 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002602/0.4708, allocations: 4 kB / 415.2 MB, free: 13.61 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.0001298/0.4709, allocations: 95.25 kB / 415.3 MB, free: 13.51 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001027/0.471, allocations: 22.94 kB / 415.3 MB, free: 13.49 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.718e-06/0.471, allocations: 0 / 415.3 MB, free: 13.49 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.676e-06/0.4711, allocations: 0 / 415.3 MB, free: 13.49 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001826/0.4712, allocations: 14 kB / 415.4 MB, free: 13.48 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002483/0.4715, allocations: 76.14 kB / 415.4 MB, free: 13.39 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.4719, allocations: 0.6887 MB / 416.1 MB, free: 12.68 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.178e-05/0.4719, allocations: 4 kB / 416.1 MB, free: 12.67 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.03e-05/0.472, allocations: 7.438 kB / 416.1 MB, free: 12.66 MB / 346.7 MB Notification: Performance of SimCode: time 1.688e-06/0.472, allocations: 7.875 kB / 416.1 MB, free: 12.66 MB / 346.7 MB Notification: Performance of Templates: time 0.002595/0.4746, allocations: 335.3 kB / 416.5 MB, free: 12.34 MB / 346.7 MB