Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling") Notification: Performance of loadModel(Modelica_Synchronous): time 2.523/2.523, allocations: 218.4 MB / 234.2 MB, free: 5.578 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.135e-05/4.117e-05, allocations: 7.984 kB / 287.6 MB, free: 48 kB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3536, allocations: 50.36 MB / 338 MB, free: 15.98 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling): time 0.003256/0.3569, allocations: 1.387 MB / 339.3 MB, free: 14.58 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.3586, allocations: 0.5467 MB / 339.9 MB, free: 14.02 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.3588, allocations: 3.938 kB / 339.9 MB, free: 14.02 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.359, allocations: 11.88 kB / 339.9 MB, free: 14.01 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002535/0.3592, allocations: 27.89 kB / 339.9 MB, free: 13.98 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007216/0.36, allocations: 91.7 kB / 340 MB, free: 13.89 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000191/0.3602, allocations: 63.88 kB / 340.1 MB, free: 13.83 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.3603, allocations: 15.97 kB / 340.1 MB, free: 13.81 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.3605, allocations: 51.84 kB / 340.2 MB, free: 13.76 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.3607, allocations: 51.83 kB / 340.2 MB, free: 13.71 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.756e-05/0.3608, allocations: 4 kB / 340.2 MB, free: 13.71 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.307e-05/0.3608, allocations: 4 kB / 340.2 MB, free: 13.7 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.3609, allocations: 31.91 kB / 340.2 MB, free: 13.67 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.807e-05/0.361, allocations: 8 kB / 340.3 MB, free: 13.66 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.3613, allocations: 101.6 kB / 340.4 MB, free: 13.57 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3613, allocations: 0 / 340.4 MB, free: 13.57 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.3613, allocations: 0 / 340.4 MB, free: 13.57 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.3613, allocations: 0 / 340.4 MB, free: 13.57 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0009921/0.3623, allocations: 407 kB / 340.8 MB, free: 13.12 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.891e-05/0.3624, allocations: 12.03 kB / 340.8 MB, free: 13.11 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.023e-05/0.3625, allocations: 15.81 kB / 340.8 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004352/0.3629, allocations: 226.5 kB / 341 MB, free: 12.83 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.176e-05/0.363, allocations: 12 kB / 341 MB, free: 12.82 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.574e-05/0.3631, allocations: 12 kB / 341 MB, free: 12.81 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001771/0.3649, allocations: 470.6 kB / 341.5 MB, free: 12.33 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.3649, allocations: 3.938 kB / 341.5 MB, free: 12.32 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.56e-05/0.365, allocations: 8 kB / 341.5 MB, free: 12.32 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.365, allocations: 0 / 341.5 MB, free: 12.32 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007018/0.3657, allocations: 123.9 kB / 341.6 MB, free: 12.2 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006888/0.3664, allocations: 330.3 kB / 341.9 MB, free: 11.82 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009262/0.3674, allocations: 207.8 kB / 342.1 MB, free: 11.59 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.569e-05/0.3675, allocations: 4.406 kB / 342.1 MB, free: 11.58 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.892e-05/0.3675, allocations: 46.64 kB / 342.2 MB, free: 11.53 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 3.186e-06/0.3675, allocations: 0 / 342.2 MB, free: 11.53 MB / 282.7 MB Notification: Performance of matching and sorting (n=29): time 0.00141/0.369, allocations: 284.3 kB / 342.5 MB, free: 11.25 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001578/0.3691, allocations: 126.7 kB / 342.6 MB, free: 11.1 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.3693, allocations: 121.2 kB / 342.7 MB, free: 10.97 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.023e-05/0.3694, allocations: 29.7 kB / 342.7 MB, free: 10.94 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.956e-05/0.3695, allocations: 159.1 kB / 342.9 MB, free: 10.78 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.594e-05/0.3696, allocations: 47.81 kB / 342.9 MB, free: 10.73 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.07e-05/0.3696, allocations: 4 kB / 342.9 MB, free: 10.73 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.3698, allocations: 322.8 kB / 343.3 MB, free: 10.41 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/0.3701, allocations: 56.62 kB / 343.3 MB, free: 10.35 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004415/0.3705, allocations: 250 kB / 343.6 MB, free: 10.02 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003483/0.3709, allocations: 92.3 kB / 343.6 MB, free: 9.926 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.134e-05/0.3709, allocations: 4 kB / 343.7 MB, free: 9.922 MB / 282.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001017/0.3719, allocations: 305.7 kB / 344 MB, free: 9.617 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.372, allocations: 8 kB / 344 MB, free: 9.609 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.946e-05/0.372, allocations: 11.94 kB / 344 MB, free: 9.598 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.102e-05/0.3721, allocations: 12 kB / 344 MB, free: 9.586 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004911/0.3726, allocations: 71.84 kB / 344.1 MB, free: 9.516 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-05/0.3726, allocations: 11.94 kB / 344.1 MB, free: 9.504 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002999/0.3729, allocations: 31.69 kB / 344.1 MB, free: 9.473 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.107e-05/0.373, allocations: 20 kB / 344.1 MB, free: 9.453 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 11 (movingAverage.first,$CLKPRE.movingAverage.first,superSampleIpo1.ticks,$CLKPRE.superSampleIpo1.ticks,superSampleIpo1.usedFactor,upSample1.b_super,$CLKPRE.upSample1.b_super,superSampleIpo1.first,$CLKPRE.superSampleIpo1.first,upSample1.b,$CLKPRE.upSample1.b) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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.0002304/0.3733, allocations: 145.6 kB / 344.3 MB, free: 9.301 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007713/0.374, allocations: 189.3 kB / 344.4 MB, free: 9.109 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.729e-05/0.3742, allocations: 29.17 kB / 344.5 MB, free: 9.078 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.3742, allocations: 4 kB / 344.5 MB, free: 9.074 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.3742, allocations: 11.89 kB / 344.5 MB, free: 9.062 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.3742, allocations: 0 / 344.5 MB, free: 9.062 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004069/0.3746, allocations: 217.4 kB / 344.7 MB, free: 8.801 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.3747, allocations: 0 / 344.7 MB, free: 8.801 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005008/0.3752, allocations: 43.97 kB / 344.7 MB, free: 8.758 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/0.3752, allocations: 4 kB / 344.7 MB, free: 8.754 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/0.3753, allocations: 4 kB / 344.7 MB, free: 8.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.177e-05/0.3753, allocations: 7.938 kB / 344.8 MB, free: 8.742 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.3753, allocations: 3.984 kB / 344.8 MB, free: 8.738 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.3763, allocations: 355.2 kB / 345.1 MB, free: 8.359 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.849e-05/0.3764, allocations: 100.8 kB / 345.2 MB, free: 8.242 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.3766, allocations: 19.98 kB / 345.2 MB, free: 8.223 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002603/0.3768, allocations: 8 kB / 345.2 MB, free: 8.215 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.3769, allocations: 0 / 345.2 MB, free: 8.215 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.401e-05/0.3769, allocations: 15.98 kB / 345.2 MB, free: 8.199 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001103/0.3771, allocations: 95.27 kB / 345.3 MB, free: 8.105 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.3771, allocations: 0 / 345.3 MB, free: 8.105 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007824/0.3779, allocations: 36 kB / 345.4 MB, free: 8.07 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: 6 (upSample1.b_super,superSampleIpo1.usedFactor,superSampleIpo1.ticks,movingAverage.first,upSample1.b,superSampleIpo1.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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.0001944/0.3781, allocations: 115.2 kB / 345.5 MB, free: 7.949 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009037/0.379, allocations: 197.3 kB / 345.7 MB, free: 7.758 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/0.379, allocations: 4 kB / 345.7 MB, free: 7.754 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.3792, allocations: 8.312 kB / 345.7 MB, free: 7.746 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009311/0.3801, allocations: 143.8 kB / 345.8 MB, free: 7.605 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.3818, allocations: 441.8 kB / 346.3 MB, free: 7.137 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004924/0.3823, allocations: 0.7443 MB / 347 MB, free: 6.367 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.3825, allocations: 23.42 kB / 347 MB, free: 6.344 MB / 282.7 MB Notification: Performance of SimCode: time 1.192e-06/0.3825, allocations: 4 kB / 347 MB, free: 6.34 MB / 282.7 MB Notification: Performance of Templates: time 0.007902/0.3904, allocations: 2.193 MB / 349.2 MB, free: 4.148 MB / 282.7 MB