Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC") Notification: Performance of loadModel(Modelica_Synchronous): time 2.115/2.115, allocations: 218.4 MB / 231.1 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.437e-05/5.472e-05, allocations: 4 kB / 284.3 MB, free: 8.203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1071, allocations: 50.36 MB / 334.7 MB, free: 5.742 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4259/0.533, allocations: 80.37 MB / 415.1 MB, free: 13.93 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003534/0.5335, allocations: 58.41 kB / 415.1 MB, free: 13.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02651/0.56, allocations: 6.212 MB / 421.3 MB, free: 8.594 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.708e-06/0.5601, allocations: 0 / 421.3 MB, free: 8.594 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.101e-05/0.5601, allocations: 8 kB / 421.3 MB, free: 8.586 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008835/0.561, allocations: 0.5238 MB / 421.9 MB, free: 8.039 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.5611, allocations: 11.97 kB / 421.9 MB, free: 8.027 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.269e-05/0.5612, allocations: 31.62 kB / 421.9 MB, free: 7.996 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007396/0.5619, allocations: 332.2 kB / 422.2 MB, free: 7.668 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/0.562, allocations: 15.5 kB / 422.3 MB, free: 7.66 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.02e-05/0.562, allocations: 18.75 kB / 422.3 MB, free: 7.648 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.5632, allocations: 0.5681 MB / 422.8 MB, free: 7.164 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.5632, allocations: 0 / 422.8 MB, free: 7.164 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.195e-05/0.5633, allocations: 6.312 kB / 422.8 MB, free: 7.164 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.5633, allocations: 8 kB / 422.9 MB, free: 7.156 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002881/0.5636, allocations: 108 kB / 423 MB, free: 7.082 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008547/0.5644, allocations: 0.5357 MB / 423.5 MB, free: 6.555 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00082/0.5653, allocations: 482.8 kB / 424 MB, free: 6.094 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003876/0.5657, allocations: 200.4 kB / 424.2 MB, free: 5.941 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007679/0.5665, allocations: 0.5926 MB / 424.8 MB, free: 5.223 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/0.5665, allocations: 42.03 kB / 424.8 MB, free: 5.176 MB / 346.7 MB Notification: Performance of pre-optimization done (n=44): time 3.827e-06/0.5666, allocations: 0 / 424.8 MB, free: 5.176 MB / 346.7 MB Notification: Performance of matching and sorting (n=44): time 0.0007532/0.5673, allocations: 295.1 kB / 425.1 MB, free: 4.945 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001544/0.5675, allocations: 180.6 kB / 425.3 MB, free: 4.742 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002821/0.5678, allocations: 197.1 kB / 425.5 MB, free: 4.574 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.5678, allocations: 32.52 kB / 425.5 MB, free: 4.543 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.568, allocations: 133 kB / 425.6 MB, free: 4.441 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.808e-05/0.568, allocations: 30.62 kB / 425.6 MB, free: 4.422 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.823e-05/0.568, allocations: 6.5 kB / 425.6 MB, free: 4.418 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.5682, allocations: 350.4 kB / 426 MB, free: 4.082 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.5684, allocations: 51.88 kB / 426 MB, free: 4.043 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003518/0.5687, allocations: 324.1 kB / 426.4 MB, free: 3.621 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/0.569, allocations: 119.5 kB / 426.5 MB, free: 3.527 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.569, allocations: 4 kB / 426.5 MB, free: 3.523 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007335/0.5697, allocations: 349.1 kB / 426.8 MB, free: 3.227 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.5698, allocations: 8 kB / 426.8 MB, free: 3.219 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/0.5698, allocations: 12 kB / 426.8 MB, free: 3.207 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.763e-05/0.5699, allocations: 12 kB / 426.9 MB, free: 3.195 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003717/0.5702, allocations: 99.53 kB / 426.9 MB, free: 3.102 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.476e-05/0.5703, allocations: 19.94 kB / 427 MB, free: 3.082 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002972/0.5706, allocations: 35.38 kB / 427 MB, free: 3.051 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-05/0.5706, allocations: 27.17 kB / 427 MB, free: 3.027 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 6 (sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[1],$CLKPRE.sample1.noise.seedState[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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.0001928/0.5708, allocations: 159.1 kB / 427.2 MB, free: 2.879 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005981/0.5715, allocations: 258.1 kB / 427.4 MB, free: 2.68 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006081/0.5721, allocations: 283 kB / 427.7 MB, free: 2.473 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.5721, allocations: 7.984 kB / 427.7 MB, free: 2.465 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.339e-05/0.5721, allocations: 7.953 kB / 427.7 MB, free: 2.457 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.236e-06/0.5722, allocations: 3.938 kB / 427.7 MB, free: 2.453 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004936/0.5727, allocations: 298.3 kB / 428 MB, free: 2.156 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.5727, allocations: 0 / 428 MB, free: 2.156 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004147/0.5731, allocations: 83.89 kB / 428.1 MB, free: 2.074 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.296e-05/0.5731, allocations: 4 kB / 428.1 MB, free: 2.07 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.921e-05/0.5732, allocations: 11.05 kB / 428.1 MB, free: 2.066 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.411e-06/0.5732, allocations: 4 kB / 428.1 MB, free: 2.062 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.709e-06/0.5732, allocations: 0 / 428.1 MB, free: 2.062 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007767/0.574, allocations: 0.5032 MB / 428.6 MB, free: 1.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.5741, allocations: 116.3 kB / 428.7 MB, free: 1.461 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.171e-05/0.5742, allocations: 14 kB / 428.8 MB, free: 1.453 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002976/0.5745, allocations: 18.61 kB / 428.8 MB, free: 1.441 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.5746, allocations: 8 kB / 428.8 MB, free: 1.434 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.584e-05/0.5746, allocations: 11.98 kB / 428.8 MB, free: 1.422 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002134/0.5748, allocations: 167.1 kB / 429 MB, free: 1.285 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-07/0.5749, allocations: 0 / 429 MB, free: 1.285 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006672/0.5755, allocations: 61.94 kB / 429 MB, free: 1.238 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002256/0.5758, allocations: 119.3 kB / 429.1 MB, free: 1.117 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005483/0.5763, allocations: 235.5 kB / 429.4 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.51e-06/0.5764, allocations: 0 / 429.4 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.418e-05/0.5764, allocations: 6.875 kB / 429.4 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008593/0.5773, allocations: 240.9 kB / 429.6 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.5786, allocations: 391.1 kB / 430 MB, free: 408 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005308/0.5791, allocations: 0.7913 MB / 430.8 MB, free: 15.58 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001338/0.5793, allocations: 30.97 kB / 430.8 MB, free: 15.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.786e-05/0.5794, allocations: 27.44 kB / 430.8 MB, free: 15.53 MB / 362.7 MB Notification: Performance of SimCode: time 1.601e-06/0.5794, allocations: 0 / 430.8 MB, free: 15.53 MB / 362.7 MB Notification: Performance of Templates: time 0.01016/0.5896, allocations: 3.179 MB / 434 MB, free: 12.37 MB / 362.7 MB