Running command: translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked") Notification: Performance of loadModel(Modelica_Synchronous): time 2.052/2.052, allocations: 218.4 MB / 231.1 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.44e-05/3.459e-05, allocations: 8 kB / 284.3 MB, free: 8.203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09076/0.09082, allocations: 50.36 MB / 334.7 MB, free: 5.738 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3815/0.4723, allocations: 77.79 MB / 412.5 MB, free: 68 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/0.4726, allocations: 74.58 kB / 412.6 MB, free: 24 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003692/0.4763, allocations: 1.069 MB / 413.6 MB, free: 15.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.146e-06/0.4764, allocations: 0 / 413.6 MB, free: 15.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.4764, allocations: 0 / 413.6 MB, free: 15.07 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003939/0.4768, allocations: 341.5 kB / 414 MB, free: 14.7 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.4769, allocations: 8.031 kB / 414 MB, free: 14.69 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.668e-05/0.4769, allocations: 7.906 kB / 414 MB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.4771, allocations: 181.4 kB / 414.1 MB, free: 14.47 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.4772, allocations: 3.984 kB / 414.2 MB, free: 14.47 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.4772, allocations: 11.89 kB / 414.2 MB, free: 14.46 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.4774, allocations: 85.38 kB / 414.2 MB, free: 14.37 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.333e-06/0.4775, allocations: 0 / 414.2 MB, free: 14.37 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.951e-06/0.4775, allocations: 4 kB / 414.3 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.4775, allocations: 3.984 kB / 414.3 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.413e-05/0.4775, allocations: 7.938 kB / 414.3 MB, free: 14.35 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004062/0.478, allocations: 271 kB / 414.5 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.905e-05/0.478, allocations: 33.91 kB / 414.6 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/0.4781, allocations: 20.84 kB / 414.6 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.4781, allocations: 0 / 414.6 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.4782, allocations: 30.56 kB / 414.6 MB, free: 13.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.877e-06/0.4782, allocations: 4 kB / 414.6 MB, free: 13.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001788/0.4784, allocations: 44.92 kB / 414.7 MB, free: 13.88 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.492e-05/0.4785, allocations: 81.05 kB / 414.7 MB, free: 13.79 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.4786, allocations: 127.4 kB / 414.9 MB, free: 13.66 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.4786, allocations: 25.7 kB / 414.9 MB, free: 13.63 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.521e-05/0.4787, allocations: 83.27 kB / 415 MB, free: 13.55 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.4787, allocations: 7.984 kB / 415 MB, free: 13.54 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-06/0.4788, allocations: 4.062 kB / 415 MB, free: 13.54 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.4789, allocations: 314.3 kB / 415.3 MB, free: 13.22 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.393e-05/0.4789, allocations: 0 / 415.3 MB, free: 13.22 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.829e-05/0.479, allocations: 17.7 kB / 415.3 MB, free: 13.2 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.786e-05/0.479, allocations: 11.27 kB / 415.3 MB, free: 13.19 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.538e-06/0.479, allocations: 0 / 415.3 MB, free: 13.19 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.459e-05/0.4791, allocations: 45.61 kB / 415.4 MB, free: 13.14 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.4792, allocations: 8 kB / 415.4 MB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.862e-06/0.4792, allocations: 0 / 415.4 MB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.4792, allocations: 3.938 kB / 415.4 MB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.888e-05/0.4793, allocations: 7.984 kB / 415.4 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.871e-06/0.4793, allocations: 7.938 kB / 415.4 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.915e-05/0.4794, allocations: 0 / 415.4 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.4794, allocations: 4 kB / 415.4 MB, free: 13.11 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample.u,sample.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.84e-05/0.4795, allocations: 117.3 kB / 415.5 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.223e-05/0.4796, allocations: 33.7 kB / 415.5 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.818e-05/0.4796, allocations: 10.77 kB / 415.5 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.094e-06/0.4797, allocations: 3.938 kB / 415.6 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.531e-06/0.4797, allocations: 4 kB / 415.6 MB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.64e-06/0.4797, allocations: 0 / 415.6 MB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.4799, allocations: 164 kB / 415.7 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/0.4799, allocations: 3.953 kB / 415.7 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.833e-05/0.48, allocations: 4 kB / 415.7 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.641e-06/0.48, allocations: 4 kB / 415.7 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.48, allocations: 4.031 kB / 415.7 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.537e-06/0.4801, allocations: 4 kB / 415.7 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4801, allocations: 0 / 415.7 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.4802, allocations: 160.9 kB / 415.9 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.347e-05/0.4803, allocations: 89 kB / 416 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.4804, allocations: 8.031 kB / 416 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.712e-05/0.4805, allocations: 0 / 416 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.405e-05/0.4805, allocations: 7.625 kB / 416 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.4805, allocations: 0 / 416 MB, free: 12.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.369e-05/0.4806, allocations: 106.5 kB / 416.1 MB, free: 12.33 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.4807, allocations: 0 / 416.1 MB, free: 12.33 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002953/0.481, allocations: 4 kB / 416.1 MB, free: 12.32 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: 2 (sample.u,sample.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001161/0.4811, allocations: 95.25 kB / 416.2 MB, free: 12.22 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.752e-05/0.4812, allocations: 11.98 kB / 416.2 MB, free: 12.21 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.4812, allocations: 3.938 kB / 416.2 MB, free: 12.21 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.99e-05/0.4812, allocations: 4 kB / 416.2 MB, free: 12.2 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.4815, allocations: 19.3 kB / 416.2 MB, free: 12.19 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002586/0.4818, allocations: 96.95 kB / 416.3 MB, free: 12.08 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/0.4822, allocations: 0.6887 MB / 417 MB, free: 11.36 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.347e-05/0.4822, allocations: 8.281 kB / 417 MB, free: 11.36 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.671e-05/0.4823, allocations: 7.438 kB / 417 MB, free: 11.35 MB / 346.7 MB Notification: Performance of SimCode: time 1.366e-06/0.4823, allocations: 0 / 417 MB, free: 11.35 MB / 346.7 MB Notification: Performance of Templates: time 0.002815/0.4851, allocations: 402.7 kB / 417.4 MB, free: 10.97 MB / 346.7 MB