Running command: translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.ShiftSample") Notification: Performance of loadModel(Modelica_Synchronous): time 2.056/2.056, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.612e-05/2.627e-05, allocations: 4 kB / 284.3 MB, free: 8.688 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08432/0.08436, allocations: 50.35 MB / 334.7 MB, free: 6.234 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3707/0.4551, allocations: 78.51 MB / 413.2 MB, free: 15.7 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/0.4553, allocations: 78.7 kB / 413.3 MB, free: 15.65 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005396/0.4608, allocations: 1.45 MB / 414.7 MB, free: 14.39 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.98e-06/0.4608, allocations: 0 / 414.7 MB, free: 14.39 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.879e-05/0.4608, allocations: 8 kB / 414.7 MB, free: 14.38 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.0004036/0.4612, allocations: 342.3 kB / 415 MB, free: 14 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.4613, allocations: 12.03 kB / 415.1 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.564e-05/0.4613, allocations: 7.906 kB / 415.1 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.4616, allocations: 190.5 kB / 415.3 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.4616, allocations: 0 / 415.3 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.4616, allocations: 4 kB / 415.3 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.4619, allocations: 104.6 kB / 415.4 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.048e-06/0.4619, allocations: 0 / 415.4 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.833e-06/0.4619, allocations: 0 / 415.4 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.196e-06/0.462, allocations: 0 / 415.4 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.383e-05/0.462, allocations: 7.938 kB / 415.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004374/0.4625, allocations: 287.4 kB / 415.6 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.01e-05/0.4625, allocations: 36.59 kB / 415.7 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.619e-05/0.4626, allocations: 13.78 kB / 415.7 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.4626, allocations: 0 / 415.7 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.4627, allocations: 42.5 kB / 415.7 MB, free: 13.2 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.881e-06/0.4627, allocations: 0 / 415.7 MB, free: 13.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.000171/0.4629, allocations: 48.78 kB / 415.8 MB, free: 13.15 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.617e-05/0.4629, allocations: 80.42 kB / 415.9 MB, free: 13.06 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.4631, allocations: 132 kB / 416 MB, free: 12.93 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.4631, allocations: 25.7 kB / 416 MB, free: 12.9 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.19e-05/0.4632, allocations: 158.5 kB / 416.2 MB, free: 12.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.4632, allocations: 8.047 kB / 416.2 MB, free: 12.74 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-06/0.4633, allocations: 0 / 416.2 MB, free: 12.74 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.4634, allocations: 318.4 kB / 416.5 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.147e-05/0.4635, allocations: 7.938 kB / 416.5 MB, free: 12.42 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.74e-05/0.4635, allocations: 13.72 kB / 416.5 MB, free: 12.4 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.507e-05/0.4635, allocations: 3.375 kB / 416.5 MB, free: 12.4 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.183e-06/0.4635, allocations: 64 / 416.5 MB, free: 12.4 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001131/0.4637, allocations: 53 kB / 416.6 MB, free: 12.34 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.4637, allocations: 4 kB / 416.6 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.695e-06/0.4637, allocations: 0 / 416.6 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.4637, allocations: 4 kB / 416.6 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.385e-05/0.4638, allocations: 4 kB / 416.6 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.4639, allocations: 0 / 416.6 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.655e-05/0.4639, allocations: 11.92 kB / 416.6 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.435e-06/0.4639, allocations: 0 / 416.6 MB, free: 12.32 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.258e-05/0.464, allocations: 116.8 kB / 416.7 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.295e-05/0.4641, allocations: 33.61 kB / 416.7 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.692e-05/0.4642, allocations: 10.72 kB / 416.7 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.4642, allocations: 3.984 kB / 416.8 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.401e-06/0.4642, allocations: 0 / 416.8 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.854e-06/0.4642, allocations: 4 kB / 416.8 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.4645, allocations: 170.2 kB / 416.9 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.519e-06/0.4645, allocations: 0 / 416.9 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.973e-05/0.4646, allocations: 11.94 kB / 416.9 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.991e-06/0.4646, allocations: 4.031 kB / 416.9 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.677e-06/0.4646, allocations: 0 / 416.9 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.701e-06/0.4646, allocations: 0 / 416.9 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.4646, allocations: 0 / 416.9 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.4648, allocations: 171.7 kB / 417.1 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.296e-05/0.4649, allocations: 96.22 kB / 417.2 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.4649, allocations: 0 / 417.2 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.4651, allocations: 7.984 kB / 417.2 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.927e-05/0.4651, allocations: 0 / 417.2 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.236e-06/0.4651, allocations: 4 kB / 417.2 MB, free: 11.62 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001032/0.4652, allocations: 109.2 kB / 417.3 MB, free: 11.52 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.86e-07/0.4652, allocations: 0 / 417.3 MB, free: 11.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000304/0.4656, allocations: 11.95 kB / 417.3 MB, free: 11.51 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.0001103/0.4657, allocations: 98.38 kB / 417.4 MB, free: 11.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.866e-05/0.4658, allocations: 11.94 kB / 417.4 MB, free: 11.39 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.719e-06/0.4658, allocations: 3.938 kB / 417.4 MB, free: 11.39 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.591e-05/0.4658, allocations: 7.5 kB / 417.4 MB, free: 11.39 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.4661, allocations: 15.2 kB / 417.5 MB, free: 11.38 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000307/0.4664, allocations: 130.6 kB / 417.6 MB, free: 11.22 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.4668, allocations: 0.6968 MB / 418.3 MB, free: 10.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/0.4669, allocations: 15.42 kB / 418.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of SimCode: time 1.296e-06/0.4669, allocations: 0 / 418.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of Templates: time 0.002211/0.4691, allocations: 0.7239 MB / 419 MB, free: 9.77 MB / 346.7 MB