Running command: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.Effects.SuperSampling,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_Effects_SuperSampling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.168/2.168, allocations: 218.4 MB / 231.1 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.2e-05/4.206e-05, allocations: 4 kB / 284.4 MB, free: 8.098 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1081, allocations: 50.37 MB / 334.8 MB, free: 5.633 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5017/0.6098, allocations: 79.27 MB / 414.1 MB, free: 14.71 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/0.6101, allocations: 63.72 kB / 414.1 MB, free: 14.68 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02371/0.6338, allocations: 5.121 MB / 419.2 MB, free: 10.45 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6339, allocations: 4 kB / 419.3 MB, free: 10.44 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.603e-05/0.6339, allocations: 4 kB / 419.3 MB, free: 10.44 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.0007037/0.6346, allocations: 403.8 kB / 419.7 MB, free: 10.01 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.6347, allocations: 15.97 kB / 419.7 MB, free: 9.992 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.576e-05/0.6348, allocations: 50.8 kB / 419.7 MB, free: 9.945 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.353e-05/0.6348, allocations: 19.72 kB / 419.7 MB, free: 9.926 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00044/0.6353, allocations: 228.5 kB / 420 MB, free: 9.672 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.261e-05/0.6353, allocations: 19.08 kB / 420 MB, free: 9.656 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.6354, allocations: 13.94 kB / 420 MB, free: 9.648 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009689/0.6364, allocations: 428.4 kB / 420.4 MB, free: 9.301 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.6364, allocations: 3.938 kB / 420.4 MB, free: 9.297 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.6364, allocations: 3.938 kB / 420.4 MB, free: 9.297 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.6364, allocations: 8 kB / 420.4 MB, free: 9.289 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002933/0.6368, allocations: 92.77 kB / 420.5 MB, free: 9.223 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005365/0.6373, allocations: 335.4 kB / 420.8 MB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004369/0.6378, allocations: 193.8 kB / 421 MB, free: 8.684 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002313/0.638, allocations: 102.5 kB / 421.1 MB, free: 8.605 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.987e-05/0.6381, allocations: 8.406 kB / 421.1 MB, free: 8.598 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.6381, allocations: 46.5 kB / 421.2 MB, free: 8.543 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 2.254e-06/0.6381, allocations: 0 / 421.2 MB, free: 8.543 MB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005504/0.6387, allocations: 191.4 kB / 421.4 MB, free: 8.387 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/0.6388, allocations: 127.6 kB / 421.5 MB, free: 8.246 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.639, allocations: 119.7 kB / 421.6 MB, free: 8.129 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.639, allocations: 33.52 kB / 421.6 MB, free: 8.094 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.707e-05/0.6391, allocations: 92.5 kB / 421.7 MB, free: 8.004 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.688e-05/0.6391, allocations: 34.52 kB / 421.8 MB, free: 7.98 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.558e-05/0.6392, allocations: 11.84 kB / 421.8 MB, free: 7.973 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.6393, allocations: 329.8 kB / 422.1 MB, free: 7.648 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.6395, allocations: 46.53 kB / 422.2 MB, free: 7.613 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002773/0.6397, allocations: 229.8 kB / 422.4 MB, free: 7.324 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002167/0.64, allocations: 89.27 kB / 422.5 MB, free: 7.254 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/0.64, allocations: 4 kB / 422.5 MB, free: 7.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006076/0.6406, allocations: 275.4 kB / 422.7 MB, free: 7.016 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.6407, allocations: 8.906 kB / 422.7 MB, free: 7.008 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.6407, allocations: 4.094 kB / 422.7 MB, free: 7.004 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.787e-05/0.6407, allocations: 19.89 kB / 422.8 MB, free: 6.984 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003622/0.6411, allocations: 71.34 kB / 422.8 MB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.18e-05/0.6411, allocations: 11.98 kB / 422.8 MB, free: 6.906 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.6413, allocations: 27.19 kB / 422.9 MB, free: 6.883 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.791e-05/0.6414, allocations: 23.44 kB / 422.9 MB, free: 6.863 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.0001244/0.6415, allocations: 134.8 kB / 423 MB, free: 6.734 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004542/0.642, allocations: 179.6 kB / 423.2 MB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.406e-05/0.6421, allocations: 25.06 kB / 423.2 MB, free: 6.574 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.6421, allocations: 4 kB / 423.2 MB, free: 6.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.6421, allocations: 4 kB / 423.2 MB, free: 6.566 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.6421, allocations: 3.984 kB / 423.2 MB, free: 6.562 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002771/0.6424, allocations: 213.2 kB / 423.4 MB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.6424, allocations: 4 kB / 423.5 MB, free: 6.316 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003664/0.6428, allocations: 50.97 kB / 423.5 MB, free: 6.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.6428, allocations: 0 / 423.5 MB, free: 6.27 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.6428, allocations: 7.25 kB / 423.5 MB, free: 6.266 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.6429, allocations: 0 / 423.5 MB, free: 6.266 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.6429, allocations: 4 kB / 423.5 MB, free: 6.262 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005384/0.6434, allocations: 330 kB / 423.8 MB, free: 5.949 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.324e-05/0.6435, allocations: 92.86 kB / 423.9 MB, free: 5.84 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.792e-05/0.6436, allocations: 23.44 kB / 423.9 MB, free: 5.824 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.6438, allocations: 7.125 kB / 424 MB, free: 5.82 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.188e-05/0.6438, allocations: 11.98 kB / 424 MB, free: 5.809 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.6438, allocations: 7 kB / 424 MB, free: 5.805 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.226e-05/0.6439, allocations: 97.89 kB / 424.1 MB, free: 5.715 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6439, allocations: 0 / 424.1 MB, free: 5.715 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005043/0.6445, allocations: 38.44 kB / 424.1 MB, free: 5.684 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.001172/0.6456, allocations: 1.119 MB / 425.2 MB, free: 4.617 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004599/0.6461, allocations: 172.8 kB / 425.4 MB, free: 4.48 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.6461, allocations: 3.938 kB / 425.4 MB, free: 4.477 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.706e-05/0.6462, allocations: 10.44 kB / 425.4 MB, free: 4.469 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005854/0.6468, allocations: 125.3 kB / 425.5 MB, free: 4.375 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.6478, allocations: 317.4 kB / 425.8 MB, free: 4.074 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.6482, allocations: 0.7473 MB / 426.6 MB, free: 3.305 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.176e-05/0.6483, allocations: 18.06 kB / 426.6 MB, free: 3.281 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.6485, allocations: 48.73 kB / 426.7 MB, free: 3.258 MB / 346.7 MB Notification: Performance of SimCode: time 9.32e-07/0.6485, allocations: 0 / 426.7 MB, free: 3.258 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03071/0.6792, allocations: 3.525 MB / 430.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002509/0.6795, allocations: 179.6 kB / 430.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.449/3.129, allocations: 4 kB / 430.4 MB, free: 15.56 MB / 362.7 MB