Running command: translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|subSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SubSample") Notification: Performance of loadModel(Modelica_Synchronous): time 2.033/2.033, allocations: 218.4 MB / 231.1 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.509e-05/3.526e-05, allocations: 4 kB / 284.3 MB, free: 8.195 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08956/0.08963, allocations: 50.36 MB / 334.7 MB, free: 5.734 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4364/0.5261, allocations: 82 MB / 416.7 MB, free: 12.35 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/0.5264, allocations: 85.19 kB / 416.8 MB, free: 12.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02709/0.5535, allocations: 6.417 MB / 423.2 MB, free: 6.914 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5535, allocations: 0 / 423.2 MB, free: 6.914 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.214e-05/0.5536, allocations: 4 kB / 423.2 MB, free: 6.91 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007414/0.5543, allocations: 499.3 kB / 423.7 MB, free: 6.383 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.5544, allocations: 12.03 kB / 423.7 MB, free: 6.371 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.514e-05/0.5545, allocations: 23.7 kB / 423.7 MB, free: 6.348 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005672/0.5551, allocations: 287.3 kB / 424 MB, free: 6.051 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.5551, allocations: 7.891 kB / 424 MB, free: 6.043 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/0.5552, allocations: 15.19 kB / 424 MB, free: 6.031 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004865/0.5557, allocations: 151.5 kB / 424.2 MB, free: 5.879 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.5557, allocations: 0 / 424.2 MB, free: 5.879 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.642e-05/0.5557, allocations: 0 / 424.2 MB, free: 5.879 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.5558, allocations: 0 / 424.2 MB, free: 5.879 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002012/0.556, allocations: 38.05 kB / 424.2 MB, free: 5.852 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.557, allocations: 411 kB / 424.6 MB, free: 5.445 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003784/0.5574, allocations: 110.5 kB / 424.7 MB, free: 5.328 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.5576, allocations: 44.27 kB / 424.8 MB, free: 5.285 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.244e-05/0.5577, allocations: 3.188 kB / 424.8 MB, free: 5.285 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000294/0.558, allocations: 82.56 kB / 424.8 MB, free: 5.203 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 4.968e-06/0.558, allocations: 0 / 424.8 MB, free: 5.203 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006277/0.5587, allocations: 121.4 kB / 425 MB, free: 5.098 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001855/0.5589, allocations: 162.2 kB / 425.1 MB, free: 4.902 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008466/0.5598, allocations: 292.1 kB / 425.4 MB, free: 4.66 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.413e-05/0.5599, allocations: 32.83 kB / 425.4 MB, free: 4.625 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.56, allocations: 129.2 kB / 425.6 MB, free: 4.523 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.107e-05/0.5601, allocations: 19 kB / 425.6 MB, free: 4.508 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.068e-05/0.5601, allocations: 0 / 425.6 MB, free: 4.508 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002404/0.5604, allocations: 344.3 kB / 425.9 MB, free: 4.172 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.5605, allocations: 24.62 kB / 425.9 MB, free: 4.156 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.5608, allocations: 84.17 kB / 426 MB, free: 4.062 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.5609, allocations: 34.8 kB / 426.1 MB, free: 4.035 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.304e-06/0.5609, allocations: 0 / 426.1 MB, free: 4.035 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004497/0.5614, allocations: 120.5 kB / 426.2 MB, free: 3.93 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/0.5614, allocations: 7.984 kB / 426.2 MB, free: 3.922 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.5615, allocations: 0 / 426.2 MB, free: 3.922 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.5615, allocations: 4 kB / 426.2 MB, free: 3.918 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/0.5617, allocations: 15.75 kB / 426.2 MB, free: 3.906 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.117e-05/0.5618, allocations: 7.938 kB / 426.2 MB, free: 3.898 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.562, allocations: 12.11 kB / 426.2 MB, free: 3.887 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.562, allocations: 4 kB / 426.2 MB, free: 3.883 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,subSample.y,subSample.u,sample.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001559/0.5622, allocations: 115.7 kB / 426.3 MB, free: 3.766 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/0.5624, allocations: 68.84 kB / 426.4 MB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005067/0.563, allocations: 124.3 kB / 426.5 MB, free: 3.598 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.563, allocations: 4 kB / 426.5 MB, free: 3.594 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/0.563, allocations: 64 / 426.5 MB, free: 3.594 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.724e-06/0.5631, allocations: 4 kB / 426.5 MB, free: 3.59 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005237/0.5636, allocations: 262.8 kB / 426.8 MB, free: 3.316 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.521e-06/0.5636, allocations: 0 / 426.8 MB, free: 3.316 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.5638, allocations: 8 kB / 426.8 MB, free: 3.309 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.496e-06/0.5638, allocations: 4 kB / 426.8 MB, free: 3.305 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/0.5639, allocations: 7.922 kB / 426.8 MB, free: 3.297 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.27e-05/0.5639, allocations: 7.938 kB / 426.8 MB, free: 3.289 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.286e-06/0.5639, allocations: 0 / 426.8 MB, free: 3.289 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005101/0.5644, allocations: 195.5 kB / 427 MB, free: 3.086 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002473/0.5647, allocations: 127.2 kB / 427.1 MB, free: 2.953 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.809e-05/0.5648, allocations: 4 kB / 427.1 MB, free: 2.949 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.565, allocations: 7.75 kB / 427.2 MB, free: 2.945 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.383e-05/0.5651, allocations: 7.984 kB / 427.2 MB, free: 2.938 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.5651, allocations: 8 kB / 427.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005687/0.5657, allocations: 242.9 kB / 427.4 MB, free: 2.738 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.18e-06/0.5657, allocations: 0 / 427.4 MB, free: 2.738 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007431/0.5665, allocations: 54.95 kB / 427.5 MB, free: 2.691 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: 7 ($whenCondition1,sample.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample.y,sample.y,subSample.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002285/0.5688, allocations: 398.5 kB / 427.8 MB, free: 2.348 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004624/0.5693, allocations: 88.53 kB / 427.9 MB, free: 2.281 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.425e-06/0.5694, allocations: 7.938 kB / 427.9 MB, free: 2.273 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.5695, allocations: 26.67 kB / 428 MB, free: 2.254 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006764/0.5702, allocations: 61 kB / 428 MB, free: 2.211 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.5714, allocations: 278.9 kB / 428.3 MB, free: 1.945 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006314/0.572, allocations: 0.7501 MB / 429 MB, free: 1.176 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002182/0.5723, allocations: 29.47 kB / 429.1 MB, free: 1.145 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.5724, allocations: 23.42 kB / 429.1 MB, free: 1.121 MB / 346.7 MB Notification: Performance of SimCode: time 2.929e-06/0.5725, allocations: 0 / 429.1 MB, free: 1.121 MB / 346.7 MB Notification: Performance of Templates: time 0.01495/0.5874, allocations: 2.73 MB / 431.8 MB, free: 14.41 MB / 362.7 MB