Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2") Notification: Performance of loadModel(Modelica_Synchronous): time 2/2, allocations: 218.4 MB / 231.1 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.911e-05/4.927e-05, allocations: 4 kB / 284.3 MB, free: 8.203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09958/0.09967, allocations: 50.36 MB / 334.7 MB, free: 5.738 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3617/0.4615, allocations: 78 MB / 412.7 MB, free: 280 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/0.4617, allocations: 74.59 kB / 412.8 MB, free: 240 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003814/0.4656, allocations: 1.126 MB / 413.9 MB, free: 15.23 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.4656, allocations: 0 / 413.9 MB, free: 15.23 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.4656, allocations: 4 kB / 413.9 MB, free: 15.23 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003869/0.466, allocations: 342.3 kB / 414.2 MB, free: 14.86 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.4661, allocations: 8.031 kB / 414.3 MB, free: 14.85 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.4661, allocations: 7.906 kB / 414.3 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.4664, allocations: 198.5 kB / 414.5 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.4664, allocations: 0 / 414.5 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.4664, allocations: 7.953 kB / 414.5 MB, free: 14.6 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002693/0.4667, allocations: 113.5 kB / 414.6 MB, free: 14.49 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.578e-06/0.4667, allocations: 0 / 414.6 MB, free: 14.49 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.224e-06/0.4667, allocations: 0 / 414.6 MB, free: 14.49 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.686e-06/0.4668, allocations: 0 / 414.6 MB, free: 14.49 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.619e-05/0.4668, allocations: 15.88 kB / 414.6 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000419/0.4672, allocations: 269.2 kB / 414.9 MB, free: 14.17 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.4675, allocations: 126.3 kB / 415 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.875e-05/0.4676, allocations: 29.73 kB / 415 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.4676, allocations: 8 kB / 415 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.4676, allocations: 30.56 kB / 415 MB, free: 13.94 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.651e-06/0.4676, allocations: 0 / 415 MB, free: 13.94 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001885/0.4678, allocations: 53.39 kB / 415.1 MB, free: 13.89 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.842e-05/0.4679, allocations: 88.84 kB / 415.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.4681, allocations: 116.9 kB / 415.3 MB, free: 13.67 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.4681, allocations: 25.7 kB / 415.3 MB, free: 13.64 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.013e-05/0.4682, allocations: 92.05 kB / 415.4 MB, free: 13.55 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.467e-05/0.4682, allocations: 7.844 kB / 415.4 MB, free: 13.54 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-06/0.4682, allocations: 0 / 415.4 MB, free: 13.54 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.4684, allocations: 318.6 kB / 415.7 MB, free: 13.22 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.95e-05/0.4684, allocations: 4 kB / 415.7 MB, free: 13.22 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.929e-05/0.4685, allocations: 27.19 kB / 415.8 MB, free: 13.18 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.069e-05/0.4685, allocations: 11.95 kB / 415.8 MB, free: 13.17 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.319e-06/0.4685, allocations: 4 kB / 415.8 MB, free: 13.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001288/0.4687, allocations: 53.44 kB / 415.8 MB, free: 13.11 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.4687, allocations: 4 kB / 415.8 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.743e-06/0.4687, allocations: 4 kB / 415.8 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.4688, allocations: 4 kB / 415.8 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.381e-05/0.4689, allocations: 20.05 kB / 415.9 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.804e-06/0.4689, allocations: 0 / 415.9 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.504e-05/0.4689, allocations: 7.625 kB / 415.9 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.469, allocations: 3.938 kB / 415.9 MB, free: 13.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.767e-05/0.4691, allocations: 113.8 kB / 416 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.4692, allocations: 49.53 kB / 416 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.622e-05/0.4692, allocations: 7.844 kB / 416 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.468e-06/0.4692, allocations: 4 kB / 416 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.808e-06/0.4693, allocations: 4 kB / 416 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.861e-06/0.4693, allocations: 0 / 416 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.4695, allocations: 165.3 kB / 416.2 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.4695, allocations: 7.891 kB / 416.2 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.163e-05/0.4696, allocations: 11.98 kB / 416.2 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.246e-06/0.4696, allocations: 4 kB / 416.2 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.4697, allocations: 0 / 416.2 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.943e-06/0.4697, allocations: 0 / 416.2 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.857e-06/0.4697, allocations: 0 / 416.2 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001946/0.4699, allocations: 173.9 kB / 416.4 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.871e-05/0.47, allocations: 96.69 kB / 416.5 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.47, allocations: 0 / 416.5 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.564e-05/0.4701, allocations: 4 kB / 416.5 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.127e-05/0.4702, allocations: 3.984 kB / 416.5 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.895e-06/0.4702, allocations: 4 kB / 416.5 MB, free: 12.36 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.773e-05/0.4703, allocations: 103.1 kB / 416.6 MB, free: 12.27 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.31e-07/0.4703, allocations: 7.938 kB / 416.6 MB, free: 12.26 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003082/0.4706, allocations: 4 kB / 416.6 MB, free: 12.25 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: 0 () * 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.4708, allocations: 95.25 kB / 416.7 MB, free: 12.15 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.212e-05/0.4709, allocations: 15.44 kB / 416.7 MB, free: 12.14 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.764e-06/0.4709, allocations: 0 / 416.7 MB, free: 12.14 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.094e-05/0.4709, allocations: 7.875 kB / 416.7 MB, free: 12.14 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.4712, allocations: 28.09 kB / 416.8 MB, free: 12.11 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002716/0.4715, allocations: 98.28 kB / 416.9 MB, free: 12 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.4719, allocations: 0.6936 MB / 417.5 MB, free: 11.28 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.37e-05/0.4719, allocations: 4 kB / 417.6 MB, free: 11.28 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.124e-05/0.472, allocations: 11.44 kB / 417.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of SimCode: time 1.692e-06/0.472, allocations: 0 / 417.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of Templates: time 0.002891/0.4749, allocations: 456.3 kB / 418 MB, free: 10.84 MB / 346.7 MB