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.016/2.016, allocations: 218.4 MB / 231.5 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.079e-05/3.088e-05, allocations: 0 / 284.3 MB, free: 8.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09211/0.09217, allocations: 50.37 MB / 334.7 MB, free: 6.227 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4048/0.497, allocations: 79.31 MB / 414 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00021/0.4973, allocations: 72.06 kB / 414.1 MB, free: 14.96 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02223/0.5195, allocations: 5.108 MB / 419.2 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.5196, allocations: 0 / 419.2 MB, free: 10.73 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.499e-05/0.5196, allocations: 8 kB / 419.2 MB, free: 10.73 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006008/0.5202, allocations: 409.8 kB / 419.6 MB, free: 10.29 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.5202, allocations: 8.031 kB / 419.6 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.943e-05/0.5203, allocations: 15.81 kB / 419.6 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004343/0.5208, allocations: 237.7 kB / 419.8 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.265e-05/0.5208, allocations: 15.7 kB / 419.8 MB, free: 9.996 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.96e-05/0.5209, allocations: 23.94 kB / 419.9 MB, free: 9.977 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008548/0.5217, allocations: 424 kB / 420.3 MB, free: 9.637 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.5218, allocations: 0 / 420.3 MB, free: 9.637 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.379e-05/0.5218, allocations: 7.875 kB / 420.3 MB, free: 9.633 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.879e-06/0.5218, allocations: 3.984 kB / 420.3 MB, free: 9.629 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002494/0.5221, allocations: 102.1 kB / 420.4 MB, free: 9.551 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005132/0.5226, allocations: 337.3 kB / 420.7 MB, free: 9.191 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003903/0.523, allocations: 182.6 kB / 420.9 MB, free: 9.023 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002082/0.5232, allocations: 101.7 kB / 421 MB, free: 8.941 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.362e-05/0.5233, allocations: 12.2 kB / 421 MB, free: 8.934 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.5233, allocations: 38.52 kB / 421 MB, free: 8.887 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 2.729e-06/0.5233, allocations: 0 / 421 MB, free: 8.887 MB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.0004945/0.5239, allocations: 190.4 kB / 421.2 MB, free: 8.73 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.524, allocations: 135.9 kB / 421.4 MB, free: 8.582 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.5241, allocations: 116.7 kB / 421.5 MB, free: 8.465 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.5242, allocations: 32.45 kB / 421.5 MB, free: 8.434 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.899e-05/0.5243, allocations: 154.3 kB / 421.7 MB, free: 8.285 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.32e-05/0.5243, allocations: 39.38 kB / 421.7 MB, free: 8.254 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.513e-05/0.5243, allocations: 7.562 kB / 421.7 MB, free: 8.25 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.5245, allocations: 325.4 kB / 422 MB, free: 7.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.5247, allocations: 47.41 kB / 422.1 MB, free: 7.895 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002521/0.5249, allocations: 230.8 kB / 422.3 MB, free: 7.605 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.5251, allocations: 93.2 kB / 422.4 MB, free: 7.531 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.905e-06/0.5251, allocations: 0 / 422.4 MB, free: 7.531 MB / 346.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005777/0.5257, allocations: 274.7 kB / 422.7 MB, free: 7.297 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.5258, allocations: 8 kB / 422.7 MB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.5258, allocations: 4 kB / 422.7 MB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.68e-05/0.5258, allocations: 15.95 kB / 422.7 MB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002836/0.5261, allocations: 67.84 kB / 422.7 MB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.986e-05/0.5262, allocations: 15.98 kB / 422.8 MB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.5263, allocations: 23.72 kB / 422.8 MB, free: 7.172 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-05/0.5264, allocations: 19.69 kB / 422.8 MB, free: 7.156 MB / 346.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.0001333/0.5265, allocations: 139 kB / 422.9 MB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004125/0.527, allocations: 188.2 kB / 423.1 MB, free: 6.867 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.021e-05/0.527, allocations: 23.12 kB / 423.1 MB, free: 6.855 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.5271, allocations: 7.984 kB / 423.2 MB, free: 6.848 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.903e-06/0.5271, allocations: 0 / 423.2 MB, free: 6.848 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.684e-06/0.5271, allocations: 4 kB / 423.2 MB, free: 6.844 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002864/0.5274, allocations: 219.9 kB / 423.4 MB, free: 6.598 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.238e-06/0.5274, allocations: 0 / 423.4 MB, free: 6.598 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002841/0.5277, allocations: 47.91 kB / 423.4 MB, free: 6.551 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.127e-06/0.5277, allocations: 0 / 423.4 MB, free: 6.551 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.5278, allocations: 7.812 kB / 423.4 MB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.186e-06/0.5278, allocations: 4 kB / 423.4 MB, free: 6.543 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.981e-06/0.5278, allocations: 0 / 423.4 MB, free: 6.543 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005058/0.5283, allocations: 336.6 kB / 423.8 MB, free: 6.227 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.618e-05/0.5284, allocations: 96.94 kB / 423.9 MB, free: 6.113 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.622e-05/0.5285, allocations: 11.44 kB / 423.9 MB, free: 6.105 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.5287, allocations: 11.58 kB / 423.9 MB, free: 6.098 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.74e-05/0.5287, allocations: 7.984 kB / 423.9 MB, free: 6.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/0.5287, allocations: 6.875 kB / 423.9 MB, free: 6.086 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.637e-05/0.5288, allocations: 105.6 kB / 424 MB, free: 5.988 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.26e-07/0.5289, allocations: 0 / 424 MB, free: 5.988 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004783/0.5293, allocations: 38.56 kB / 424 MB, free: 5.961 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: 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.0001395/0.5295, allocations: 103.2 kB / 424.1 MB, free: 5.855 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004038/0.5299, allocations: 170.5 kB / 424.3 MB, free: 5.723 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.224e-06/0.5299, allocations: 4.375 kB / 424.3 MB, free: 5.719 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.562e-05/0.53, allocations: 7.562 kB / 424.3 MB, free: 5.715 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005517/0.5305, allocations: 127.5 kB / 424.4 MB, free: 5.617 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006287/0.5312, allocations: 265.2 kB / 424.7 MB, free: 5.363 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004247/0.5316, allocations: 0.7514 MB / 425.4 MB, free: 4.59 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.903e-05/0.5317, allocations: 23.8 kB / 425.5 MB, free: 4.566 MB / 346.7 MB Notification: Performance of SimCode: time 1.595e-06/0.5317, allocations: 0 / 425.5 MB, free: 4.566 MB / 346.7 MB Notification: Performance of Templates: time 0.004842/0.5366, allocations: 2.174 MB / 427.6 MB, free: 2.414 MB / 346.7 MB