Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|subSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample") Notification: Performance of loadModel(Modelica_LinearSystems2): time 2.333/2.333, allocations: 251.5 MB / 266 MB, free: 0.6836 MB / 218.7 MB Notification: Performance of loadModel(Modelica_Synchronous): time 0.09674/0.09674, allocations: 12.6 MB / 336.6 MB, free: 14.74 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.448e-05/3.499e-05, allocations: 4 kB / 399.8 MB, free: 15.48 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3712, allocations: 59.43 MB / 459.2 MB, free: 28.63 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample): time 0.001808/0.3731, allocations: 1.283 MB / 460.5 MB, free: 27.33 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008305/0.3739, allocations: 460.1 kB / 460.9 MB, free: 26.88 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.107e-05/0.374, allocations: 7.938 kB / 460.9 MB, free: 26.87 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.871e-05/0.374, allocations: 3.984 kB / 460.9 MB, free: 26.86 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001371/0.3742, allocations: 11.92 kB / 461 MB, free: 26.85 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002871/0.3745, allocations: 43.89 kB / 461 MB, free: 26.81 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 8.531e-05/0.3746, allocations: 27.91 kB / 461 MB, free: 26.78 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.902e-05/0.3747, allocations: 7.984 kB / 461 MB, free: 26.77 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.702e-05/0.3748, allocations: 19.92 kB / 461 MB, free: 26.75 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.176e-05/0.3749, allocations: 15.92 kB / 461.1 MB, free: 26.74 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.542e-05/0.3749, allocations: 4 kB / 461.1 MB, free: 26.73 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.3749, allocations: 0 / 461.1 MB, free: 26.73 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.122e-05/0.3749, allocations: 11.98 kB / 461.1 MB, free: 26.72 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.585e-05/0.375, allocations: 4 kB / 461.1 MB, free: 26.72 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 7.31e-05/0.3751, allocations: 39.88 kB / 461.1 MB, free: 26.68 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.3751, allocations: 0 / 461.1 MB, free: 26.68 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.3751, allocations: 0 / 461.1 MB, free: 26.68 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.3751, allocations: 3.938 kB / 461.1 MB, free: 26.68 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.0003892/0.3755, allocations: 353.9 kB / 461.5 MB, free: 26.29 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.3755, allocations: 8.031 kB / 461.5 MB, free: 26.28 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.968e-05/0.3756, allocations: 15.86 kB / 461.5 MB, free: 26.26 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.3758, allocations: 187 kB / 461.7 MB, free: 26.04 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-06/0.3758, allocations: 8 kB / 461.7 MB, free: 26.03 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.3758, allocations: 0 / 461.7 MB, free: 26.03 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002856/0.3761, allocations: 113.9 kB / 461.8 MB, free: 25.9 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3762, allocations: 4 kB / 461.8 MB, free: 25.89 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.3762, allocations: 4 kB / 461.8 MB, free: 25.89 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.3762, allocations: 7.953 kB / 461.8 MB, free: 25.88 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.3763, allocations: 27.92 kB / 461.8 MB, free: 25.86 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002812/0.3766, allocations: 278.5 kB / 462.1 MB, free: 25.53 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.3768, allocations: 63.8 kB / 462.2 MB, free: 25.44 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.3768, allocations: 11.98 kB / 462.2 MB, free: 25.43 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.3768, allocations: 38.56 kB / 462.2 MB, free: 25.38 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.3768, allocations: 0 / 462.2 MB, free: 25.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003318/0.3772, allocations: 89.47 kB / 462.3 MB, free: 25.29 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.3772, allocations: 111.1 kB / 462.4 MB, free: 25.15 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.3774, allocations: 131 kB / 462.5 MB, free: 25.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.3774, allocations: 29.64 kB / 462.6 MB, free: 24.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.821e-05/0.3774, allocations: 92.12 kB / 462.7 MB, free: 24.89 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.397e-05/0.3775, allocations: 4 kB / 462.7 MB, free: 24.89 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.229e-06/0.3775, allocations: 0 / 462.7 MB, free: 24.89 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.604e-05/0.3775, allocations: 318.8 kB / 463 MB, free: 24.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.642e-05/0.3776, allocations: 15.98 kB / 463 MB, free: 24.55 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.948e-05/0.3777, allocations: 39.42 kB / 463 MB, free: 24.5 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.026e-05/0.3778, allocations: 8 kB / 463 MB, free: 24.49 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3778, allocations: 0 / 463 MB, free: 24.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001934/0.378, allocations: 85.45 kB / 463.1 MB, free: 24.4 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.378, allocations: 8 kB / 463.1 MB, free: 24.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.378, allocations: 3.953 kB / 463.1 MB, free: 24.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.3781, allocations: 96 / 463.1 MB, free: 24.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.3782, allocations: 11.98 kB / 463.1 MB, free: 24.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.3782, allocations: 7.984 kB / 463.2 MB, free: 24.37 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.387e-05/0.3783, allocations: 4.109 kB / 463.2 MB, free: 24.37 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.3783, allocations: 8 kB / 463.2 MB, free: 24.36 MB / 346.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 7.06e-05/0.3784, allocations: 113.8 kB / 463.3 MB, free: 24.24 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.594e-05/0.3785, allocations: 57.53 kB / 463.3 MB, free: 24.18 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.251e-05/0.3785, allocations: 7.875 kB / 463.3 MB, free: 24.17 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.3785, allocations: 7.953 kB / 463.4 MB, free: 24.16 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3786, allocations: 7.984 kB / 463.4 MB, free: 24.15 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3786, allocations: 0 / 463.4 MB, free: 24.15 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.3787, allocations: 169.7 kB / 463.5 MB, free: 23.94 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3787, allocations: 4.062 kB / 463.5 MB, free: 23.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.998e-05/0.3788, allocations: 11.98 kB / 463.5 MB, free: 23.92 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.3789, allocations: 4 kB / 463.5 MB, free: 23.92 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.3789, allocations: 0 / 463.5 MB, free: 23.92 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.3789, allocations: 0 / 463.5 MB, free: 23.92 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.3789, allocations: 3.953 kB / 463.5 MB, free: 23.91 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/0.3791, allocations: 208.5 kB / 463.8 MB, free: 23.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.914e-05/0.3792, allocations: 96.95 kB / 463.8 MB, free: 23.56 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.3792, allocations: 0 / 463.8 MB, free: 23.56 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.3793, allocations: 4 kB / 463.9 MB, free: 23.56 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.248e-05/0.3794, allocations: 3.984 kB / 463.9 MB, free: 23.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.3794, allocations: 8 kB / 463.9 MB, free: 23.55 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.252e-05/0.3795, allocations: 104.8 kB / 464 MB, free: 23.45 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3795, allocations: 0 / 464 MB, free: 23.45 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002762/0.3798, allocations: 8 kB / 464 MB, free: 23.44 MB / 346.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 8.598e-05/0.3799, allocations: 103.2 kB / 464.1 MB, free: 23.32 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001943/0.3801, allocations: 40.05 kB / 464.1 MB, free: 23.29 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3801, allocations: 4.062 kB / 464.1 MB, free: 23.28 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.52e-05/0.3802, allocations: 15.88 kB / 464.1 MB, free: 23.27 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.3805, allocations: 28.02 kB / 464.2 MB, free: 23.24 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003721/0.3809, allocations: 198.8 kB / 464.4 MB, free: 23.02 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/0.3811, allocations: 0.6926 MB / 465 MB, free: 22.3 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.794e-05/0.3811, allocations: 8.172 kB / 465.1 MB, free: 22.29 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.942e-05/0.3812, allocations: 11.38 kB / 465.1 MB, free: 22.28 MB / 346.7 MB Notification: Performance of SimCode: time 6.42e-07/0.3812, allocations: 0 / 465.1 MB, free: 22.28 MB / 346.7 MB Notification: Performance of Templates: time 0.003221/0.3844, allocations: 0.5188 MB / 465.6 MB, free: 21.77 MB / 346.7 MB