Running command: translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample") Notification: Performance of loadModel(Modelica_Synchronous): time 1.928/1.928, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.864e-05/2.885e-05, allocations: 4 kB / 284.3 MB, free: 8.688 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08542/0.08547, allocations: 50.36 MB / 334.7 MB, free: 6.23 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3536/0.4391, allocations: 78.52 MB / 413.2 MB, free: 15.72 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.4394, allocations: 82.19 kB / 413.3 MB, free: 15.68 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007649/0.447, allocations: 1.973 MB / 415.2 MB, free: 14 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.87e-06/0.4471, allocations: 0 / 415.2 MB, free: 14 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.589e-05/0.4471, allocations: 4 kB / 415.3 MB, free: 14 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.0004216/0.4475, allocations: 354.3 kB / 415.6 MB, free: 13.61 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.4476, allocations: 15.97 kB / 415.6 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.581e-05/0.4476, allocations: 11.84 kB / 415.6 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.4479, allocations: 186.7 kB / 415.8 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.4479, allocations: 4 kB / 415.8 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.448, allocations: 3.812 kB / 415.8 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002529/0.4482, allocations: 100.7 kB / 415.9 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.402e-06/0.4482, allocations: 0 / 415.9 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.286e-06/0.4483, allocations: 0 / 415.9 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.92e-06/0.4483, allocations: 0 / 415.9 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.705e-05/0.4483, allocations: 15.73 kB / 415.9 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004289/0.4488, allocations: 276.9 kB / 416.2 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.471e-05/0.4489, allocations: 37.16 kB / 416.2 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.744e-05/0.4489, allocations: 13.78 kB / 416.2 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.449, allocations: 3.984 kB / 416.3 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.449, allocations: 38.5 kB / 416.3 MB, free: 12.81 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 5.367e-06/0.449, allocations: 3.984 kB / 416.3 MB, free: 12.81 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001775/0.4492, allocations: 45.56 kB / 416.3 MB, free: 12.76 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.4493, allocations: 77.11 kB / 416.4 MB, free: 12.67 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.4494, allocations: 126.5 kB / 416.5 MB, free: 12.55 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.4495, allocations: 25.7 kB / 416.6 MB, free: 12.52 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.495e-05/0.4496, allocations: 166.3 kB / 416.7 MB, free: 12.36 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.356e-05/0.4496, allocations: 8.062 kB / 416.7 MB, free: 12.35 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-06/0.4496, allocations: 0 / 416.7 MB, free: 12.35 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.4498, allocations: 322.7 kB / 417 MB, free: 12.03 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.186e-05/0.4498, allocations: 4 kB / 417.1 MB, free: 12.02 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.913e-05/0.4498, allocations: 9.719 kB / 417.1 MB, free: 12.01 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.16e-05/0.4499, allocations: 7.938 kB / 417.1 MB, free: 12 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.467e-06/0.4499, allocations: 3.938 kB / 417.1 MB, free: 12 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001037/0.45, allocations: 45.75 kB / 417.1 MB, free: 11.95 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.45, allocations: 4 kB / 417.1 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.925e-06/0.4501, allocations: 3.938 kB / 417.1 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.4501, allocations: 0 / 417.1 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.659e-05/0.4502, allocations: 8 kB / 417.1 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.4502, allocations: 0 / 417.1 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.747e-05/0.4503, allocations: 11.92 kB / 417.1 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.202e-06/0.4503, allocations: 3.812 kB / 417.1 MB, free: 11.92 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.116e-05/0.4504, allocations: 112.8 kB / 417.3 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.311e-05/0.4505, allocations: 37.61 kB / 417.3 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.377e-05/0.4505, allocations: 11.28 kB / 417.3 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.752e-06/0.4505, allocations: 0 / 417.3 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.301e-06/0.4505, allocations: 0 / 417.3 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.774e-06/0.4506, allocations: 7.984 kB / 417.3 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.4508, allocations: 173.5 kB / 417.5 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.4508, allocations: 3.938 kB / 417.5 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.174e-05/0.4509, allocations: 4 kB / 417.5 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.542e-06/0.4509, allocations: 4.031 kB / 417.5 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.4509, allocations: 4 kB / 417.5 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.399e-06/0.4509, allocations: 3.938 kB / 417.5 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.687e-06/0.451, allocations: 0 / 417.5 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.4511, allocations: 161.7 kB / 417.7 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.24e-05/0.4512, allocations: 97.03 kB / 417.8 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.4513, allocations: 0 / 417.8 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.4514, allocations: 4 kB / 417.8 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.745e-05/0.4514, allocations: 3.984 kB / 417.8 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.512e-06/0.4514, allocations: 0 / 417.8 MB, free: 11.22 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001002/0.4516, allocations: 115 kB / 417.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.67e-07/0.4516, allocations: 0 / 417.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000302/0.4519, allocations: 7.953 kB / 417.9 MB, free: 11.12 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.0001067/0.452, allocations: 99.25 kB / 418 MB, free: 11.01 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.227e-05/0.4521, allocations: 15.75 kB / 418 MB, free: 11 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.518e-06/0.4521, allocations: 0 / 418 MB, free: 11 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.117e-05/0.4521, allocations: 0 / 418 MB, free: 11 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.4524, allocations: 22.89 kB / 418 MB, free: 10.98 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003113/0.4528, allocations: 124 kB / 418.1 MB, free: 10.83 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.4531, allocations: 0.6929 MB / 418.8 MB, free: 10.11 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.199e-05/0.4532, allocations: 7.438 kB / 418.8 MB, free: 10.11 MB / 346.7 MB Notification: Performance of SimCode: time 3.383e-06/0.4532, allocations: 4 kB / 418.8 MB, free: 10.11 MB / 346.7 MB Notification: Performance of Templates: time 0.002304/0.4555, allocations: 0.7094 MB / 419.6 MB, free: 9.398 MB / 346.7 MB