Running command: translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample") Notification: Performance of loadModel(Modelica_LinearSystems2): time 2.515/2.515, allocations: 251.5 MB / 266 MB, free: 0.6914 MB / 218.7 MB Notification: Performance of loadModel(Modelica_Synchronous): time 0.101/0.101, allocations: 12.6 MB / 336.6 MB, free: 14.75 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.669e-05/3.675e-05, allocations: 4 kB / 399.8 MB, free: 15.49 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3983/0.3984, allocations: 59.43 MB / 459.2 MB, free: 28.65 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample): time 0.001757/0.4002, allocations: 1.251 MB / 460.4 MB, free: 27.38 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008161/0.401, allocations: 464.1 kB / 460.9 MB, free: 26.92 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.51e-05/0.4011, allocations: 0 / 460.9 MB, free: 26.92 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.843e-05/0.4012, allocations: 7.922 kB / 460.9 MB, free: 26.91 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.4013, allocations: 11.98 kB / 460.9 MB, free: 26.9 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.4016, allocations: 43.83 kB / 461 MB, free: 26.86 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 7.474e-05/0.4017, allocations: 23.91 kB / 461 MB, free: 26.84 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.733e-05/0.4017, allocations: 12 kB / 461 MB, free: 26.82 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.92e-05/0.4018, allocations: 15.98 kB / 461 MB, free: 26.81 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.641e-05/0.4019, allocations: 11.92 kB / 461 MB, free: 26.8 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.56e-05/0.4019, allocations: 4 kB / 461 MB, free: 26.79 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.4019, allocations: 3.984 kB / 461 MB, free: 26.79 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.104e-05/0.402, allocations: 11.94 kB / 461 MB, free: 26.78 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.585e-05/0.402, allocations: 4 kB / 461 MB, free: 26.77 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 6.963e-05/0.4021, allocations: 31.94 kB / 461.1 MB, free: 26.74 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.4021, allocations: 0 / 461.1 MB, free: 26.74 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.4021, allocations: 4 kB / 461.1 MB, free: 26.74 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.465e-06/0.4021, allocations: 0 / 461.1 MB, free: 26.74 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.000391/0.4025, allocations: 361.9 kB / 461.4 MB, free: 26.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.4026, allocations: 8.031 kB / 461.4 MB, free: 26.33 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.822e-05/0.4026, allocations: 11.86 kB / 461.4 MB, free: 26.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.4028, allocations: 194.9 kB / 461.6 MB, free: 26.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/0.4028, allocations: 0 / 461.6 MB, free: 26.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.4029, allocations: 4 kB / 461.6 MB, free: 26.09 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002929/0.4032, allocations: 109 kB / 461.7 MB, free: 25.96 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.4032, allocations: 0 / 461.7 MB, free: 25.96 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.4032, allocations: 0 / 461.7 MB, free: 25.96 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.4032, allocations: 3.953 kB / 461.8 MB, free: 25.96 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.4034, allocations: 23.98 kB / 461.8 MB, free: 25.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003117/0.4037, allocations: 261.7 kB / 462 MB, free: 25.62 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.4038, allocations: 45.2 kB / 462.1 MB, free: 25.56 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.4038, allocations: 4 kB / 462.1 MB, free: 25.56 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.4039, allocations: 34.5 kB / 462.1 MB, free: 25.52 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.663e-06/0.4039, allocations: 0 / 462.1 MB, free: 25.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003152/0.4042, allocations: 77.59 kB / 462.2 MB, free: 25.43 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.4043, allocations: 89.3 kB / 462.3 MB, free: 25.33 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.4044, allocations: 126.8 kB / 462.4 MB, free: 25.2 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.948e-06/0.4044, allocations: 25.7 kB / 462.4 MB, free: 25.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.341e-05/0.4045, allocations: 96.12 kB / 462.5 MB, free: 25.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/0.4045, allocations: 3.906 kB / 462.5 MB, free: 25.06 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.4045, allocations: 0 / 462.5 MB, free: 25.06 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.814e-05/0.4046, allocations: 310.8 kB / 462.8 MB, free: 24.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.449e-05/0.4046, allocations: 19.98 kB / 462.8 MB, free: 24.73 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.298e-05/0.4047, allocations: 21.66 kB / 462.9 MB, free: 24.7 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.666e-05/0.4048, allocations: 15.98 kB / 462.9 MB, free: 24.69 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4048, allocations: 0 / 462.9 MB, free: 24.69 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001706/0.405, allocations: 61.69 kB / 462.9 MB, free: 24.62 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.151e-05/0.4051, allocations: 5.094 kB / 462.9 MB, free: 24.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.4051, allocations: 3.953 kB / 463 MB, free: 24.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.4051, allocations: 4 kB / 463 MB, free: 24.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.4052, allocations: 7.984 kB / 463 MB, free: 24.6 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.4052, allocations: 4 kB / 463 MB, free: 24.6 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.882e-05/0.4053, allocations: 4 kB / 463 MB, free: 24.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.4053, allocations: 0 / 463 MB, free: 24.59 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 7.541e-05/0.4054, allocations: 113.9 kB / 463.1 MB, free: 24.47 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.016e-05/0.4055, allocations: 49.53 kB / 463.1 MB, free: 24.42 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.631e-05/0.4055, allocations: 7.875 kB / 463.1 MB, free: 24.41 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.4056, allocations: 3.953 kB / 463.1 MB, free: 24.41 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4056, allocations: 0 / 463.1 MB, free: 24.41 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4056, allocations: 0 / 463.1 MB, free: 24.41 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.4058, allocations: 169.7 kB / 463.3 MB, free: 24.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.4058, allocations: 0 / 463.3 MB, free: 24.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.287e-05/0.4059, allocations: 7.984 kB / 463.3 MB, free: 24.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.4059, allocations: 4.031 kB / 463.3 MB, free: 24.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.4059, allocations: 7.984 kB / 463.3 MB, free: 24.17 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.4059, allocations: 0 / 463.3 MB, free: 24.17 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.4059, allocations: 3.953 kB / 463.3 MB, free: 24.17 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/0.4061, allocations: 182 kB / 463.5 MB, free: 23.96 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.065e-05/0.4062, allocations: 89.02 kB / 463.6 MB, free: 23.86 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.4062, allocations: 3.984 kB / 463.6 MB, free: 23.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.4064, allocations: 7.953 kB / 463.6 MB, free: 23.85 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.4064, allocations: 0 / 463.6 MB, free: 23.85 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.4064, allocations: 0 / 463.6 MB, free: 23.85 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.315e-05/0.4065, allocations: 109 kB / 463.7 MB, free: 23.74 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.4065, allocations: 4 kB / 463.7 MB, free: 23.74 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002752/0.4068, allocations: 4.031 kB / 463.7 MB, free: 23.73 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 9.636e-05/0.4069, allocations: 95.25 kB / 463.8 MB, free: 23.63 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001914/0.4071, allocations: 27.98 kB / 463.8 MB, free: 23.6 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4071, allocations: 7.875 kB / 463.9 MB, free: 23.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.508e-05/0.4072, allocations: 15.92 kB / 463.9 MB, free: 23.58 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.4076, allocations: 14.09 kB / 463.9 MB, free: 23.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003793/0.408, allocations: 177.7 kB / 464.1 MB, free: 23.37 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001492/0.4081, allocations: 0.6927 MB / 464.7 MB, free: 22.65 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.193e-05/0.4082, allocations: 8 kB / 464.8 MB, free: 22.64 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.893e-05/0.4082, allocations: 7.438 kB / 464.8 MB, free: 22.63 MB / 346.7 MB Notification: Performance of SimCode: time 1.223e-06/0.4082, allocations: 0 / 464.8 MB, free: 22.63 MB / 346.7 MB Notification: Performance of Templates: time 0.003419/0.4117, allocations: 486 kB / 465.2 MB, free: 22.17 MB / 346.7 MB