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.487/2.487, allocations: 218.4 MB / 234.2 MB, free: 5.578 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.266e-05/3.279e-05, allocations: 7.938 kB / 287.6 MB, free: 44 kB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3615, allocations: 50.36 MB / 338 MB, free: 15.98 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.BackSample): time 0.002331/0.3639, allocations: 1.313 MB / 339.3 MB, free: 14.66 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.3652, allocations: 0.496 MB / 339.8 MB, free: 14.15 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.3653, allocations: 4 kB / 339.8 MB, free: 14.15 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.335e-05/0.3654, allocations: 3.938 kB / 339.8 MB, free: 14.14 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001399/0.3655, allocations: 11.97 kB / 339.8 MB, free: 14.13 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000332/0.3659, allocations: 47.81 kB / 339.8 MB, free: 14.09 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.366, allocations: 27.91 kB / 339.9 MB, free: 14.06 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.377e-05/0.3661, allocations: 11.98 kB / 339.9 MB, free: 14.05 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.508e-05/0.3662, allocations: 19.92 kB / 339.9 MB, free: 14.03 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.546e-05/0.3663, allocations: 23.92 kB / 339.9 MB, free: 14 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.038e-05/0.3663, allocations: 4 kB / 339.9 MB, free: 14 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.3664, allocations: 0 / 339.9 MB, free: 14 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.409e-05/0.3664, allocations: 15.92 kB / 339.9 MB, free: 13.98 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.997e-05/0.3665, allocations: 4 kB / 339.9 MB, free: 13.98 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.789e-05/0.3666, allocations: 43.86 kB / 340 MB, free: 13.94 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3666, allocations: 3.938 kB / 340 MB, free: 13.93 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.3666, allocations: 0 / 340 MB, free: 13.93 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.3666, allocations: 0 / 340 MB, free: 13.93 MB / 282.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.0005643/0.3672, allocations: 369.1 kB / 340.4 MB, free: 13.53 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.3672, allocations: 12.03 kB / 340.4 MB, free: 13.52 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.41e-05/0.3673, allocations: 11.81 kB / 340.4 MB, free: 13.5 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/0.3676, allocations: 202.6 kB / 340.6 MB, free: 13.27 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.3676, allocations: 4 kB / 340.6 MB, free: 13.26 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.3677, allocations: 8 kB / 340.6 MB, free: 13.25 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004447/0.3681, allocations: 142.7 kB / 340.7 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3681, allocations: 0 / 340.7 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.3682, allocations: 0 / 340.7 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3682, allocations: 3.938 kB / 340.7 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.3683, allocations: 31.92 kB / 340.8 MB, free: 13.05 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004551/0.3688, allocations: 287.5 kB / 341 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.369, allocations: 98.41 kB / 341.1 MB, free: 12.58 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.3691, allocations: 4.062 kB / 341.1 MB, free: 12.58 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.323e-05/0.3691, allocations: 38.5 kB / 341.2 MB, free: 12.53 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.013e-06/0.3691, allocations: 0 / 341.2 MB, free: 12.53 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004529/0.3696, allocations: 117.3 kB / 341.3 MB, free: 12.41 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.602e-05/0.3697, allocations: 132.5 kB / 341.4 MB, free: 12.25 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.3699, allocations: 138.1 kB / 341.6 MB, free: 12.11 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.3699, allocations: 25.7 kB / 341.6 MB, free: 12.07 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.943e-05/0.3701, allocations: 162.7 kB / 341.7 MB, free: 11.91 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.3701, allocations: 0 / 341.7 MB, free: 11.91 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.189e-05/0.3701, allocations: 8 kB / 341.7 MB, free: 11.91 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.3703, allocations: 314.8 kB / 342.1 MB, free: 11.59 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.904e-05/0.3704, allocations: 15.98 kB / 342.1 MB, free: 11.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.3705, allocations: 57.08 kB / 342.1 MB, free: 11.5 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.237e-05/0.3706, allocations: 16 kB / 342.1 MB, free: 11.48 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3706, allocations: 0 / 342.1 MB, free: 11.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002539/0.3709, allocations: 85.55 kB / 342.2 MB, free: 11.39 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.3709, allocations: 4 kB / 342.2 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.3709, allocations: 4 kB / 342.2 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.3709, allocations: 0 / 342.2 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.3711, allocations: 19.92 kB / 342.3 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.3711, allocations: 0 / 342.3 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.199e-05/0.3712, allocations: 12.09 kB / 342.3 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.3712, allocations: 4 kB / 342.3 MB, free: 11.35 MB / 282.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.0001253/0.3714, allocations: 133.7 kB / 342.4 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/0.3715, allocations: 65.53 kB / 342.5 MB, free: 11.14 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.715e-05/0.3716, allocations: 15.83 kB / 342.5 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3716, allocations: 0 / 342.5 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.3716, allocations: 4 kB / 342.5 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.3716, allocations: 0 / 342.5 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.3719, allocations: 185.7 kB / 342.7 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.3719, allocations: 0 / 342.7 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.3721, allocations: 19.92 kB / 342.7 MB, free: 10.87 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.3721, allocations: 0 / 342.7 MB, free: 10.87 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.3721, allocations: 4 kB / 342.7 MB, free: 10.87 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.3721, allocations: 0 / 342.7 MB, free: 10.87 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/0.3721, allocations: 4 kB / 342.7 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/0.3725, allocations: 235.1 kB / 342.9 MB, free: 10.59 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.3726, allocations: 97.19 kB / 343 MB, free: 10.48 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.3726, allocations: 7.984 kB / 343 MB, free: 10.47 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.3728, allocations: 12 kB / 343 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.3728, allocations: 4 kB / 343 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.3728, allocations: 0 / 343 MB, free: 10.45 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001318/0.373, allocations: 119.9 kB / 343.2 MB, free: 10.34 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.373, allocations: 0 / 343.2 MB, free: 10.34 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003445/0.3733, allocations: 12 kB / 343.2 MB, free: 10.32 MB / 282.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.0001372/0.3735, allocations: 99.19 kB / 343.3 MB, free: 10.21 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000246/0.3737, allocations: 51.91 kB / 343.3 MB, free: 10.16 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3738, allocations: 0 / 343.3 MB, free: 10.16 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.684e-05/0.3738, allocations: 8 kB / 343.3 MB, free: 10.16 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004375/0.3743, allocations: 43.95 kB / 343.4 MB, free: 10.11 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000578/0.3749, allocations: 250 kB / 343.6 MB, free: 9.828 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.3753, allocations: 0.7082 MB / 344.3 MB, free: 9.094 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.91e-05/0.3753, allocations: 11.44 kB / 344.3 MB, free: 9.082 MB / 282.7 MB Notification: Performance of SimCode: time 7.52e-07/0.3754, allocations: 3.938 kB / 344.3 MB, free: 9.078 MB / 282.7 MB Notification: Performance of Templates: time 0.003411/0.3788, allocations: 0.9916 MB / 345.3 MB, free: 8.094 MB / 282.7 MB