Running command: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_WorkInProgress_Tests_Effects_SuperSampling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.131/2.131, allocations: 218.4 MB / 231.5 MB, free: 12.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.184e-05/4.204e-05, allocations: 8 kB / 284.4 MB, free: 8.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1082, allocations: 50.36 MB / 334.8 MB, free: 6.121 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4782/0.5864, allocations: 79.32 MB / 414.1 MB, free: 14.6 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/0.5867, allocations: 62.66 kB / 414.2 MB, free: 14.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02402/0.6108, allocations: 5.122 MB / 419.3 MB, free: 10.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.6108, allocations: 8 kB / 419.3 MB, free: 10.33 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.622e-05/0.6109, allocations: 4 kB / 419.3 MB, free: 10.32 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.0007097/0.6116, allocations: 410.5 kB / 419.7 MB, free: 9.891 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.6116, allocations: 12.03 kB / 419.7 MB, free: 9.879 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.442e-05/0.6117, allocations: 48.05 kB / 419.7 MB, free: 9.832 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.269e-05/0.6118, allocations: 19.72 kB / 419.8 MB, free: 9.812 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004268/0.6122, allocations: 224.9 kB / 420 MB, free: 9.562 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.298e-05/0.6123, allocations: 22.89 kB / 420 MB, free: 9.547 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.635e-05/0.6123, allocations: 10.56 kB / 420 MB, free: 9.539 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009773/0.6133, allocations: 435.8 kB / 420.4 MB, free: 9.188 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.6134, allocations: 0 / 420.4 MB, free: 9.188 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/0.6134, allocations: 3.812 kB / 420.4 MB, free: 9.188 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.6134, allocations: 8 kB / 420.5 MB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002946/0.6137, allocations: 94.69 kB / 420.5 MB, free: 9.109 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005666/0.6143, allocations: 333.6 kB / 420.9 MB, free: 8.75 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004487/0.6148, allocations: 182 kB / 421.1 MB, free: 8.582 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002408/0.615, allocations: 101.2 kB / 421.1 MB, free: 8.504 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.809e-05/0.6151, allocations: 4.422 kB / 421.2 MB, free: 8.5 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.802e-05/0.6151, allocations: 49.94 kB / 421.2 MB, free: 8.445 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 4.088e-06/0.6151, allocations: 3.984 kB / 421.2 MB, free: 8.441 MB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005548/0.6157, allocations: 191.3 kB / 421.4 MB, free: 8.285 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/0.6159, allocations: 131.4 kB / 421.5 MB, free: 8.141 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.616, allocations: 117 kB / 421.6 MB, free: 8.023 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.6161, allocations: 32.58 kB / 421.7 MB, free: 7.988 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.438e-05/0.6161, allocations: 158.2 kB / 421.8 MB, free: 7.84 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.176e-05/0.6162, allocations: 34.77 kB / 421.9 MB, free: 7.812 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.299e-05/0.6162, allocations: 7.719 kB / 421.9 MB, free: 7.809 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.6164, allocations: 325.2 kB / 422.2 MB, free: 7.488 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.6165, allocations: 53.2 kB / 422.2 MB, free: 7.445 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002782/0.6168, allocations: 229.7 kB / 422.5 MB, free: 7.156 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/0.617, allocations: 88.97 kB / 422.5 MB, free: 7.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-05/0.6171, allocations: 4 kB / 422.5 MB, free: 7.086 MB / 346.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006106/0.6177, allocations: 274.5 kB / 422.8 MB, free: 6.852 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.6177, allocations: 8.906 kB / 422.8 MB, free: 6.844 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/0.6177, allocations: 8 kB / 422.8 MB, free: 6.836 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.799e-05/0.6178, allocations: 11.95 kB / 422.8 MB, free: 6.824 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003784/0.6182, allocations: 71.84 kB / 422.9 MB, free: 6.754 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.557e-05/0.6182, allocations: 15.92 kB / 422.9 MB, free: 6.738 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.6184, allocations: 30.77 kB / 423 MB, free: 6.715 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.225e-05/0.6185, allocations: 16 kB / 423 MB, free: 6.699 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.0001449/0.6186, allocations: 134 kB / 423.1 MB, free: 6.574 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004571/0.6191, allocations: 184 kB / 423.3 MB, free: 6.422 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.23e-05/0.6192, allocations: 17.31 kB / 423.3 MB, free: 6.414 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.6192, allocations: 8 kB / 423.3 MB, free: 6.406 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/0.6192, allocations: 8 kB / 423.3 MB, free: 6.398 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.6192, allocations: 3.984 kB / 423.3 MB, free: 6.395 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002907/0.6195, allocations: 212.6 kB / 423.5 MB, free: 6.156 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.6196, allocations: 0 / 423.5 MB, free: 6.156 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003854/0.62, allocations: 51.91 kB / 423.6 MB, free: 6.105 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/0.62, allocations: 0 / 423.6 MB, free: 6.105 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.873e-05/0.62, allocations: 14.42 kB / 423.6 MB, free: 6.098 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.62, allocations: 0 / 423.6 MB, free: 6.098 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.62, allocations: 0 / 423.6 MB, free: 6.098 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005607/0.6206, allocations: 337.8 kB / 423.9 MB, free: 5.777 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.71e-05/0.6207, allocations: 88.95 kB / 424 MB, free: 5.672 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.268e-05/0.6208, allocations: 22.94 kB / 424 MB, free: 5.656 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.621, allocations: 7.312 kB / 424 MB, free: 5.652 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.1e-05/0.621, allocations: 4 kB / 424 MB, free: 5.648 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.037e-05/0.6211, allocations: 15.55 kB / 424.1 MB, free: 5.637 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.553e-05/0.6212, allocations: 90.47 kB / 424.1 MB, free: 5.551 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6212, allocations: 0 / 424.1 MB, free: 5.551 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005225/0.6217, allocations: 43.03 kB / 424.2 MB, free: 5.52 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.001297/0.623, allocations: 1.121 MB / 425.3 MB, free: 4.445 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005311/0.6236, allocations: 178 kB / 425.5 MB, free: 4.309 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.6236, allocations: 0.75 kB / 425.5 MB, free: 4.309 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.667e-05/0.6236, allocations: 8 kB / 425.5 MB, free: 4.301 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006103/0.6243, allocations: 114 kB / 425.6 MB, free: 4.219 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.6254, allocations: 347.1 kB / 425.9 MB, free: 3.883 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004055/0.6258, allocations: 0.7398 MB / 426.7 MB, free: 3.121 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.626, allocations: 58.66 kB / 426.7 MB, free: 3.09 MB / 346.7 MB Notification: Performance of SimCode: time 1.012e-06/0.626, allocations: 0 / 426.7 MB, free: 3.09 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.414/3.04, allocations: 2.956 MB / 429.7 MB, free: 168 kB / 346.7 MB