Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="backSample1.y|sample.y|shiftSample1.y|time",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample") Notification: Performance of loadModel(Modelica_Synchronous): time 2.001/2.001, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.301e-05/3.321e-05, allocations: 4 kB / 284.3 MB, free: 8.68 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08807/0.08813, allocations: 50.36 MB / 334.7 MB, free: 6.215 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3922/0.4804, allocations: 78.62 MB / 413.3 MB, free: 15.62 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004118/0.4808, allocations: 81.06 kB / 413.4 MB, free: 15.58 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01011/0.491, allocations: 1.555 MB / 414.9 MB, free: 14.23 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.053e-06/0.4911, allocations: 0 / 414.9 MB, free: 14.23 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.94e-05/0.4911, allocations: 3.625 kB / 414.9 MB, free: 14.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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007102/0.4918, allocations: 370 kB / 415.3 MB, free: 13.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.287e-05/0.4919, allocations: 8.031 kB / 415.3 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.602e-05/0.492, allocations: 7.906 kB / 415.3 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004303/0.4925, allocations: 206.6 kB / 415.5 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.4925, allocations: 3.953 kB / 415.5 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.46e-05/0.4926, allocations: 15.92 kB / 415.5 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005174/0.4931, allocations: 118.1 kB / 415.6 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.4931, allocations: 4 kB / 415.7 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.4932, allocations: 7.672 kB / 415.7 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.079e-06/0.4932, allocations: 3.938 kB / 415.7 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.4933, allocations: 19.81 kB / 415.7 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007521/0.4941, allocations: 290.8 kB / 416 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/0.4944, allocations: 86 kB / 416.1 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/0.4945, allocations: 43.42 kB / 416.1 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.17e-05/0.4946, allocations: 4 kB / 416.1 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.222e-05/0.4947, allocations: 38.44 kB / 416.1 MB, free: 12.86 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 4.251e-06/0.4947, allocations: 0 / 416.1 MB, free: 12.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004389/0.4952, allocations: 73.25 kB / 416.2 MB, free: 12.79 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001504/0.4953, allocations: 136.5 kB / 416.3 MB, free: 12.63 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000274/0.4956, allocations: 137.5 kB / 416.5 MB, free: 12.5 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.131e-05/0.4957, allocations: 29.33 kB / 416.5 MB, free: 12.46 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.4959, allocations: 158.7 kB / 416.7 MB, free: 12.31 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.4959, allocations: 4 kB / 416.7 MB, free: 12.3 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.546e-06/0.496, allocations: 0 / 416.7 MB, free: 12.3 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002148/0.4962, allocations: 314.3 kB / 417 MB, free: 11.99 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.686e-05/0.4963, allocations: 11.86 kB / 417 MB, free: 11.98 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.4964, allocations: 45.09 kB / 417 MB, free: 11.93 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.973e-05/0.4965, allocations: 11.95 kB / 417 MB, free: 11.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.135e-05/0.4965, allocations: 0 / 417 MB, free: 11.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003035/0.4968, allocations: 73.12 kB / 417.1 MB, free: 11.84 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.4969, allocations: 4 kB / 417.1 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/0.4969, allocations: 8.109 kB / 417.1 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.955e-05/0.497, allocations: 4 kB / 417.1 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/0.4972, allocations: 12 kB / 417.1 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.668e-05/0.4972, allocations: 3.938 kB / 417.1 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.4974, allocations: 11.89 kB / 417.1 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.067e-05/0.4975, allocations: 4 kB / 417.2 MB, free: 11.8 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 0.0001406/0.4976, allocations: 128.5 kB / 417.3 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002699/0.4979, allocations: 61.47 kB / 417.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.647e-05/0.498, allocations: 11.47 kB / 417.3 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.176e-06/0.498, allocations: 0 / 417.3 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/0.4981, allocations: 4 kB / 417.4 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.813e-06/0.4981, allocations: 0 / 417.4 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004693/0.4986, allocations: 177.2 kB / 417.5 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.571e-06/0.4986, allocations: 7.891 kB / 417.5 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.4988, allocations: 20.08 kB / 417.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.435e-06/0.4988, allocations: 0 / 417.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.4989, allocations: 4 kB / 417.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.4989, allocations: 0 / 417.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/0.4989, allocations: 4 kB / 417.6 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004129/0.4994, allocations: 222.3 kB / 417.8 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/0.4995, allocations: 96.98 kB / 417.9 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.818e-05/0.4996, allocations: 3.75 kB / 417.9 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/0.4999, allocations: 4 kB / 417.9 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.4999, allocations: 4 kB / 417.9 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.5, allocations: 0 / 417.9 MB, free: 10.99 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002027/0.5002, allocations: 127.4 kB / 418 MB, free: 10.88 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.152e-06/0.5002, allocations: 0 / 418 MB, free: 10.88 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007434/0.501, allocations: 7.953 kB / 418 MB, free: 10.87 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.000195/0.5012, allocations: 103.2 kB / 418.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002271/0.5014, allocations: 27.38 kB / 418.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.354e-06/0.5015, allocations: 3.938 kB / 418.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.438e-05/0.5015, allocations: 4.375 kB / 418.2 MB, free: 10.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006611/0.5022, allocations: 43.28 kB / 418.2 MB, free: 10.7 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006447/0.5029, allocations: 165.5 kB / 418.4 MB, free: 10.51 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005704/0.5035, allocations: 0.7003 MB / 419.1 MB, free: 9.785 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.766e-05/0.5036, allocations: 11.44 kB / 419.1 MB, free: 9.773 MB / 346.7 MB Notification: Performance of SimCode: time 2.27e-06/0.5036, allocations: 0 / 419.1 MB, free: 9.773 MB / 346.7 MB Notification: Performance of Templates: time 0.005311/0.5089, allocations: 0.9873 MB / 420.1 MB, free: 8.797 MB / 346.7 MB