Running command: translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadModel(Modelica_Synchronous): time 1.921/1.921, allocations: 218.4 MB / 231.5 MB, free: 12.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.449e-05/5.474e-05, allocations: 4 kB / 284.3 MB, free: 8.684 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1074, allocations: 50.37 MB / 334.7 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4242/0.5317, allocations: 78.53 MB / 413.2 MB, free: 15.69 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/0.5319, allocations: 78.02 kB / 413.3 MB, free: 15.64 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00782/0.5398, allocations: 1.981 MB / 415.3 MB, free: 13.96 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.561e-06/0.5398, allocations: 0 / 415.3 MB, free: 13.96 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.5398, allocations: 4 kB / 415.3 MB, free: 13.96 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004171/0.5403, allocations: 354.6 kB / 415.6 MB, free: 13.58 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.5403, allocations: 8.031 kB / 415.6 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/0.5404, allocations: 7.906 kB / 415.6 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.5406, allocations: 198.1 kB / 415.8 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.5407, allocations: 0 / 415.8 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.5407, allocations: 4 kB / 415.8 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/0.5409, allocations: 98.48 kB / 415.9 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.668e-06/0.541, allocations: 0 / 415.9 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.541, allocations: 3.562 kB / 415.9 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.497e-06/0.541, allocations: 4 kB / 415.9 MB, free: 13.22 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.016e-05/0.541, allocations: 4 kB / 415.9 MB, free: 13.22 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004104/0.5415, allocations: 278.3 kB / 416.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.119e-05/0.5416, allocations: 40.83 kB / 416.2 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.626e-05/0.5416, allocations: 17.78 kB / 416.3 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.887e-05/0.5416, allocations: 0 / 416.3 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.5417, allocations: 42.5 kB / 416.3 MB, free: 12.78 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.858e-06/0.5417, allocations: 0 / 416.3 MB, free: 12.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001794/0.5419, allocations: 41.31 kB / 416.3 MB, free: 12.73 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.477e-05/0.542, allocations: 83.3 kB / 416.4 MB, free: 12.64 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.5421, allocations: 124.7 kB / 416.5 MB, free: 12.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.5422, allocations: 25.7 kB / 416.6 MB, free: 12.48 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.674e-05/0.5423, allocations: 162 kB / 416.7 MB, free: 12.33 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.5423, allocations: 4 kB / 416.7 MB, free: 12.32 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.915e-06/0.5423, allocations: 3.938 kB / 416.7 MB, free: 12.32 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.5425, allocations: 317.8 kB / 417 MB, free: 12 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.397e-05/0.5425, allocations: 7.984 kB / 417.1 MB, free: 12 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.95e-05/0.5425, allocations: 16.22 kB / 417.1 MB, free: 11.98 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.986e-05/0.5426, allocations: 4 kB / 417.1 MB, free: 11.97 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.249e-06/0.5426, allocations: 8 kB / 417.1 MB, free: 11.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001064/0.5427, allocations: 37.33 kB / 417.1 MB, free: 11.93 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.5427, allocations: 7.984 kB / 417.1 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.393e-06/0.5428, allocations: 4 kB / 417.1 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.5428, allocations: 0 / 417.1 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-05/0.5429, allocations: 7.938 kB / 417.1 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.649e-06/0.5429, allocations: 0 / 417.1 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.47e-05/0.543, allocations: 7.938 kB / 417.1 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.006e-06/0.543, allocations: 64 / 417.1 MB, free: 11.9 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.678e-05/0.5431, allocations: 124.1 kB / 417.3 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.252e-05/0.5432, allocations: 37.61 kB / 417.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.141e-05/0.5432, allocations: 11.41 kB / 417.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.982e-06/0.5433, allocations: 0 / 417.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.634e-06/0.5433, allocations: 7.984 kB / 417.3 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.5433, allocations: 0 / 417.3 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.5435, allocations: 168.4 kB / 417.5 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.248e-06/0.5435, allocations: 0 / 417.5 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.41e-05/0.5436, allocations: 16.02 kB / 417.5 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.585e-06/0.5436, allocations: 0 / 417.5 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.156e-06/0.5436, allocations: 0 / 417.5 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.405e-06/0.5437, allocations: 3.938 kB / 417.5 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.5437, allocations: 0 / 417.5 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.5439, allocations: 164.4 kB / 417.7 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.38e-05/0.544, allocations: 96.22 kB / 417.8 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.544, allocations: 0 / 417.8 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.965e-05/0.5441, allocations: 4 kB / 417.8 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.103e-05/0.5441, allocations: 3.984 kB / 417.8 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.961e-06/0.5442, allocations: 7.938 kB / 417.8 MB, free: 11.19 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.963e-05/0.5443, allocations: 109.4 kB / 417.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.12e-07/0.5443, allocations: 0 / 417.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003183/0.5446, allocations: 7.953 kB / 417.9 MB, free: 11.09 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.0001124/0.5447, allocations: 99.95 kB / 418 MB, free: 10.98 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.463e-05/0.5448, allocations: 15.44 kB / 418 MB, free: 10.96 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.5448, allocations: 0 / 418 MB, free: 10.96 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.416e-05/0.5449, allocations: 4 kB / 418 MB, free: 10.96 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.5452, allocations: 19.69 kB / 418 MB, free: 10.95 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002889/0.5455, allocations: 119 kB / 418.1 MB, free: 10.8 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.5459, allocations: 0.6929 MB / 418.8 MB, free: 10.08 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.263e-05/0.5459, allocations: 14.75 kB / 418.9 MB, free: 10.07 MB / 346.7 MB Notification: Performance of SimCode: time 1.305e-06/0.5459, allocations: 0 / 418.9 MB, free: 10.07 MB / 346.7 MB Notification: Performance of Templates: time 0.002291/0.5482, allocations: 0.7062 MB / 419.6 MB, free: 9.367 MB / 346.7 MB