Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|shiftSample1.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample") Notification: Performance of loadModel(Modelica_Synchronous): time 2.292/2.292, allocations: 218.4 MB / 234.2 MB, free: 4.621 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.629e-05/3.631e-05, allocations: 4 kB / 287.6 MB, free: 15.08 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3332, allocations: 50.36 MB / 338 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.ShiftSample): time 0.002352/0.3356, allocations: 1.278 MB / 339.2 MB, free: 14.56 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.3368, allocations: 492 kB / 339.7 MB, free: 14.07 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.3369, allocations: 0 / 339.7 MB, free: 14.07 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.559e-05/0.337, allocations: 3.938 kB / 339.7 MB, free: 14.07 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001355/0.3371, allocations: 7.984 kB / 339.7 MB, free: 14.06 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003496/0.3375, allocations: 43.83 kB / 339.8 MB, free: 14.02 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.617e-05/0.3376, allocations: 23.91 kB / 339.8 MB, free: 14 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.34e-05/0.3377, allocations: 7.984 kB / 339.8 MB, free: 13.99 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.268e-05/0.3378, allocations: 15.98 kB / 339.8 MB, free: 13.97 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.276e-05/0.3379, allocations: 15.92 kB / 339.8 MB, free: 13.96 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.216e-05/0.3379, allocations: 8 kB / 339.9 MB, free: 13.95 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.338, allocations: 3.938 kB / 339.9 MB, free: 13.95 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.033e-05/0.338, allocations: 7.984 kB / 339.9 MB, free: 13.94 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.986e-05/0.3381, allocations: 4 kB / 339.9 MB, free: 13.93 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.3382, allocations: 31.94 kB / 339.9 MB, free: 13.9 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3382, allocations: 4 kB / 339.9 MB, free: 13.9 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.3382, allocations: 0 / 339.9 MB, free: 13.9 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.3383, allocations: 0 / 339.9 MB, free: 13.9 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005734/0.3388, allocations: 364.3 kB / 340.3 MB, free: 13.5 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.3389, allocations: 12.02 kB / 340.3 MB, free: 13.49 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.753e-05/0.339, allocations: 19.78 kB / 340.3 MB, free: 13.47 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.3392, allocations: 182.9 kB / 340.5 MB, free: 13.25 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.3393, allocations: 8 kB / 340.5 MB, free: 13.24 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.3393, allocations: 3.984 kB / 340.5 MB, free: 13.24 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003895/0.3397, allocations: 113.9 kB / 340.6 MB, free: 13.11 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.3397, allocations: 3.984 kB / 340.6 MB, free: 13.1 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.3398, allocations: 4 kB / 340.6 MB, free: 13.1 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.3398, allocations: 4 kB / 340.6 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/0.3399, allocations: 27.92 kB / 340.6 MB, free: 13.07 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000431/0.3404, allocations: 278.5 kB / 340.9 MB, free: 12.74 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.3406, allocations: 67.78 kB / 341 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.455e-05/0.3406, allocations: 8.062 kB / 341 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.193e-05/0.3407, allocations: 42.5 kB / 341 MB, free: 12.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 3.246e-06/0.3407, allocations: 0 / 341 MB, free: 12.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004241/0.3411, allocations: 85.86 kB / 341.1 MB, free: 12.5 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.764e-05/0.3412, allocations: 110.8 kB / 341.2 MB, free: 12.36 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.3414, allocations: 132.7 kB / 341.3 MB, free: 12.23 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.3414, allocations: 25.7 kB / 341.4 MB, free: 12.2 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.625e-05/0.3415, allocations: 162.5 kB / 341.5 MB, free: 12.04 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.3415, allocations: 3.984 kB / 341.5 MB, free: 12.03 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.3416, allocations: 0 / 341.5 MB, free: 12.03 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.3417, allocations: 314.8 kB / 341.8 MB, free: 11.71 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.746e-05/0.3418, allocations: 19.92 kB / 341.9 MB, free: 11.7 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.948e-05/0.3419, allocations: 31.44 kB / 341.9 MB, free: 11.65 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.559e-05/0.342, allocations: 19.92 kB / 341.9 MB, free: 11.63 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.342, allocations: 4 kB / 341.9 MB, free: 11.63 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002724/0.3423, allocations: 69.61 kB / 342 MB, free: 11.55 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.3423, allocations: 8 kB / 342 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.3423, allocations: 0 / 342 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.3424, allocations: 0 / 342 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.3425, allocations: 11.94 kB / 342 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.3425, allocations: 8.125 kB / 342 MB, free: 11.53 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.078e-05/0.3426, allocations: 11.89 kB / 342 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.3426, allocations: 3.953 kB / 342 MB, free: 11.51 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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.0001186/0.3428, allocations: 113.8 kB / 342.1 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.3429, allocations: 57.53 kB / 342.2 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.81e-05/0.343, allocations: 15.83 kB / 342.2 MB, free: 11.31 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.343, allocations: 0 / 342.2 MB, free: 11.31 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.343, allocations: 0 / 342.2 MB, free: 11.31 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.343, allocations: 4.062 kB / 342.2 MB, free: 11.31 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.3433, allocations: 177.6 kB / 342.4 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3433, allocations: 0 / 342.4 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.3434, allocations: 11.94 kB / 342.4 MB, free: 11.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.335e-06/0.3434, allocations: 4 kB / 342.4 MB, free: 11.07 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.3434, allocations: 0 / 342.4 MB, free: 11.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.3434, allocations: 0 / 342.4 MB, free: 11.07 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.3435, allocations: 4 kB / 342.4 MB, free: 11.07 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003233/0.3438, allocations: 212.5 kB / 342.6 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.968e-05/0.3439, allocations: 93 kB / 342.7 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/0.3439, allocations: 0 / 342.7 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.344, allocations: 8 kB / 342.7 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.3441, allocations: 3.953 kB / 342.7 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.3441, allocations: 4 kB / 342.7 MB, free: 10.7 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000113/0.3442, allocations: 114 kB / 342.8 MB, free: 10.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.3443, allocations: 0 / 342.8 MB, free: 10.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002927/0.3446, allocations: 8 kB / 342.8 MB, free: 10.58 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001386/0.3447, allocations: 99.19 kB / 342.9 MB, free: 10.47 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002214/0.3449, allocations: 39.91 kB / 343 MB, free: 10.43 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.345, allocations: 0 / 343 MB, free: 10.43 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.578e-05/0.345, allocations: 12 kB / 343 MB, free: 10.42 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/0.3454, allocations: 31.89 kB / 343 MB, free: 10.39 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005244/0.346, allocations: 220.8 kB / 343.2 MB, free: 10.14 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.3464, allocations: 0.7004 MB / 343.9 MB, free: 9.41 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.219e-05/0.3464, allocations: 7.438 kB / 343.9 MB, free: 9.402 MB / 282.7 MB Notification: Performance of SimCode: time 1.042e-06/0.3464, allocations: 0 / 343.9 MB, free: 9.402 MB / 282.7 MB Notification: Performance of Templates: time 0.003076/0.3495, allocations: 0.8404 MB / 344.8 MB, free: 8.57 MB / 282.7 MB