Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked") Notification: Performance of loadModel(Modelica_Synchronous): time 1.965/1.965, allocations: 218.4 MB / 231.1 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.565e-05/3.584e-05, allocations: 4 kB / 284.3 MB, free: 8.203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09025/0.09031, allocations: 50.36 MB / 334.7 MB, free: 5.738 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3563/0.4467, allocations: 78.36 MB / 413.1 MB, free: 15.92 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/0.4469, allocations: 78.45 kB / 413.1 MB, free: 15.88 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005103/0.4521, allocations: 1.345 MB / 414.5 MB, free: 14.7 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.284e-06/0.4521, allocations: 0 / 414.5 MB, free: 14.7 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.4521, allocations: 3.938 kB / 414.5 MB, free: 14.7 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.000415/0.4526, allocations: 354.7 kB / 414.8 MB, free: 14.32 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.4526, allocations: 12.03 kB / 414.8 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.4527, allocations: 3.906 kB / 414.9 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.4529, allocations: 186.8 kB / 415 MB, free: 14.08 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.4529, allocations: 7.203 kB / 415 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.4529, allocations: 0 / 415 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/0.4532, allocations: 91.36 kB / 415.1 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.211e-06/0.4532, allocations: 0 / 415.1 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.495e-06/0.4532, allocations: 0 / 415.1 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.259e-06/0.4532, allocations: 4 kB / 415.1 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.628e-05/0.4533, allocations: 15.67 kB / 415.1 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004359/0.4537, allocations: 267.3 kB / 415.4 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.76e-05/0.4538, allocations: 36.66 kB / 415.4 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.067e-05/0.4539, allocations: 18.91 kB / 415.5 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.4539, allocations: 0 / 415.5 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.454, allocations: 34.5 kB / 415.5 MB, free: 13.54 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.928e-06/0.454, allocations: 8 kB / 415.5 MB, free: 13.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.000171/0.4542, allocations: 45.03 kB / 415.5 MB, free: 13.49 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/0.4542, allocations: 85.05 kB / 415.6 MB, free: 13.39 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.4544, allocations: 122.5 kB / 415.8 MB, free: 13.27 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.4544, allocations: 25.7 kB / 415.8 MB, free: 13.24 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.912e-05/0.4545, allocations: 91.56 kB / 415.9 MB, free: 13.15 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.4545, allocations: 3.906 kB / 415.9 MB, free: 13.14 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-06/0.4545, allocations: 4.062 kB / 415.9 MB, free: 13.14 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.4547, allocations: 314.2 kB / 416.2 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.113e-05/0.4547, allocations: 4 kB / 416.2 MB, free: 12.82 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.958e-05/0.4548, allocations: 17.28 kB / 416.2 MB, free: 12.8 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.123e-05/0.4548, allocations: 11.94 kB / 416.2 MB, free: 12.79 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.33e-06/0.4548, allocations: 0 / 416.2 MB, free: 12.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001096/0.455, allocations: 45.02 kB / 416.3 MB, free: 12.75 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.455, allocations: 8 kB / 416.3 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.939e-06/0.455, allocations: 7.922 kB / 416.3 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.455, allocations: 0 / 416.3 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.005e-05/0.4551, allocations: 7.984 kB / 416.3 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.4551, allocations: 4 kB / 416.3 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.805e-05/0.4552, allocations: 0 / 416.3 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.4552, allocations: 4 kB / 416.3 MB, free: 12.71 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: 0 () * 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.931e-05/0.4553, allocations: 112.8 kB / 416.4 MB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.263e-05/0.4554, allocations: 48.41 kB / 416.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.27e-05/0.4555, allocations: 7.344 kB / 416.5 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.984e-06/0.4555, allocations: 4 kB / 416.5 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.385e-06/0.4555, allocations: 0 / 416.5 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.315e-06/0.4555, allocations: 0 / 416.5 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/0.4558, allocations: 164 kB / 416.6 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.562e-06/0.4558, allocations: 3.953 kB / 416.6 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.449e-05/0.4559, allocations: 11.94 kB / 416.6 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.502e-06/0.4559, allocations: 7.984 kB / 416.6 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.081e-06/0.4559, allocations: 4.031 kB / 416.6 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.198e-06/0.4559, allocations: 0 / 416.6 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.847e-06/0.4559, allocations: 4 kB / 416.6 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.4561, allocations: 160.2 kB / 416.8 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.7e-05/0.4562, allocations: 91.62 kB / 416.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.4563, allocations: 4.031 kB / 416.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.4564, allocations: 4 kB / 416.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.708e-05/0.4564, allocations: 0 / 416.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.903e-06/0.4564, allocations: 4 kB / 416.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001009/0.4565, allocations: 107.2 kB / 417 MB, free: 11.92 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.2e-07/0.4565, allocations: 0 / 417 MB, free: 11.92 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002976/0.4569, allocations: 4 kB / 417 MB, free: 11.92 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 (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.0001179/0.457, allocations: 99.19 kB / 417.1 MB, free: 11.81 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.104e-05/0.4571, allocations: 19.17 kB / 417.1 MB, free: 11.79 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.739e-06/0.4571, allocations: 0 / 417.1 MB, free: 11.79 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.57e-05/0.4571, allocations: 4 kB / 417.1 MB, free: 11.79 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.4574, allocations: 15.3 kB / 417.1 MB, free: 11.78 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002839/0.4577, allocations: 92.95 kB / 417.2 MB, free: 11.67 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.4581, allocations: 0.7003 MB / 417.9 MB, free: 10.94 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.124e-05/0.4582, allocations: 8.281 kB / 417.9 MB, free: 10.93 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.212e-05/0.4582, allocations: 14.55 kB / 418 MB, free: 10.92 MB / 346.7 MB Notification: Performance of SimCode: time 1.551e-06/0.4582, allocations: 4 kB / 418 MB, free: 10.92 MB / 346.7 MB Notification: Performance of Templates: time 0.002903/0.4611, allocations: 418.9 kB / 418.4 MB, free: 10.52 MB / 346.7 MB