Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC") Notification: Performance of loadModel(Modelica_Synchronous): time 1.983/1.983, allocations: 218.4 MB / 231.5 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.133e-05/6.14e-05, allocations: 7.984 kB / 284.3 MB, free: 8.684 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09782/0.09792, allocations: 50.37 MB / 334.7 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3479/0.4459, allocations: 80.42 MB / 415.1 MB, free: 13.86 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001791/0.4461, allocations: 65.53 kB / 415.2 MB, free: 13.83 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02563/0.4718, allocations: 6.214 MB / 421.4 MB, free: 8.512 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.426e-06/0.4718, allocations: 0 / 421.4 MB, free: 8.512 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.612e-05/0.4719, allocations: 7.984 kB / 421.4 MB, free: 8.504 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.0008686/0.4727, allocations: 0.5202 MB / 421.9 MB, free: 7.957 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.4728, allocations: 12.03 kB / 421.9 MB, free: 7.945 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.544e-05/0.4729, allocations: 31.62 kB / 421.9 MB, free: 7.914 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007061/0.4736, allocations: 328.7 kB / 422.3 MB, free: 7.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.4737, allocations: 16.12 kB / 422.3 MB, free: 7.582 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.373e-05/0.4737, allocations: 19.5 kB / 422.3 MB, free: 7.566 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.4749, allocations: 0.5648 MB / 422.9 MB, free: 7.09 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.4749, allocations: 0 / 422.9 MB, free: 7.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.232e-05/0.4749, allocations: 7.688 kB / 422.9 MB, free: 7.086 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.4749, allocations: 4 kB / 422.9 MB, free: 7.082 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002875/0.4752, allocations: 113.7 kB / 423 MB, free: 7.004 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007993/0.4761, allocations: 0.5414 MB / 423.5 MB, free: 6.473 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008202/0.4769, allocations: 485.7 kB / 424 MB, free: 6.004 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003871/0.4773, allocations: 200.3 kB / 424.2 MB, free: 5.855 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007359/0.4781, allocations: 0.5856 MB / 424.8 MB, free: 5.141 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/0.4781, allocations: 42.38 kB / 424.8 MB, free: 5.094 MB / 346.7 MB Notification: Performance of pre-optimization done (n=44): time 3.203e-06/0.4781, allocations: 0 / 424.8 MB, free: 5.094 MB / 346.7 MB Notification: Performance of matching and sorting (n=44): time 0.0007085/0.4789, allocations: 291.6 kB / 425.1 MB, free: 4.867 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001455/0.479, allocations: 180.8 kB / 425.3 MB, free: 4.664 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/0.4793, allocations: 196.5 kB / 425.5 MB, free: 4.5 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.954e-05/0.4793, allocations: 33.2 kB / 425.5 MB, free: 4.465 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.4795, allocations: 188.5 kB / 425.7 MB, free: 4.305 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.651e-05/0.4795, allocations: 30.31 kB / 425.7 MB, free: 4.285 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.668e-05/0.4796, allocations: 10.38 kB / 425.7 MB, free: 4.281 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.4797, allocations: 329.9 kB / 426.1 MB, free: 3.957 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.4799, allocations: 51.38 kB / 426.1 MB, free: 3.918 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003532/0.4802, allocations: 333.4 kB / 426.4 MB, free: 3.488 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002244/0.4805, allocations: 111.3 kB / 426.5 MB, free: 3.402 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.732e-06/0.4805, allocations: 4 kB / 426.5 MB, free: 3.398 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006959/0.4812, allocations: 336.4 kB / 426.9 MB, free: 3.113 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.4812, allocations: 12.06 kB / 426.9 MB, free: 3.102 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.4813, allocations: 8 kB / 426.9 MB, free: 3.094 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.402e-05/0.4813, allocations: 16 kB / 426.9 MB, free: 3.078 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003568/0.4817, allocations: 94.97 kB / 427 MB, free: 2.988 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.786e-05/0.4817, allocations: 15.94 kB / 427 MB, free: 2.973 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002873/0.482, allocations: 41.73 kB / 427.1 MB, free: 2.938 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.493e-05/0.4821, allocations: 27.69 kB / 427.1 MB, free: 2.914 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.0001582/0.4822, allocations: 158.1 kB / 427.2 MB, free: 2.766 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005799/0.4828, allocations: 254.9 kB / 427.5 MB, free: 2.566 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006008/0.4835, allocations: 287.3 kB / 427.8 MB, free: 2.355 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.4835, allocations: 4 kB / 427.8 MB, free: 2.352 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.453e-06/0.4835, allocations: 3.953 kB / 427.8 MB, free: 2.348 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.924e-06/0.4835, allocations: 4 kB / 427.8 MB, free: 2.344 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004551/0.484, allocations: 300.3 kB / 428.1 MB, free: 2.047 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.243e-06/0.484, allocations: 0 / 428.1 MB, free: 2.047 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004257/0.4844, allocations: 83.89 kB / 428.2 MB, free: 1.965 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.54e-06/0.4845, allocations: 0 / 428.2 MB, free: 1.965 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.125e-05/0.4845, allocations: 14.55 kB / 428.2 MB, free: 1.957 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.873e-06/0.4845, allocations: 4 kB / 428.2 MB, free: 1.953 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.702e-06/0.4845, allocations: 3.938 kB / 428.2 MB, free: 1.949 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007138/0.4853, allocations: 0.5047 MB / 428.7 MB, free: 1.477 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.668e-05/0.4854, allocations: 112.6 kB / 428.8 MB, free: 1.348 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.831e-05/0.4854, allocations: 10.81 kB / 428.8 MB, free: 1.344 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003051/0.4858, allocations: 22.86 kB / 428.8 MB, free: 1.328 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.4858, allocations: 11.98 kB / 428.8 MB, free: 1.316 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.325e-05/0.4859, allocations: 15.56 kB / 428.8 MB, free: 1.305 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002013/0.4861, allocations: 162.9 kB / 429 MB, free: 1.172 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.63e-07/0.4861, allocations: 0 / 429 MB, free: 1.172 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006276/0.4867, allocations: 58.25 kB / 429.1 MB, free: 1.125 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.000211/0.487, allocations: 125.6 kB / 429.2 MB, free: 1 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000548/0.4875, allocations: 232.4 kB / 429.4 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4875, allocations: 3.938 kB / 429.4 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.259e-05/0.4876, allocations: 4 kB / 429.4 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008495/0.4884, allocations: 236.6 kB / 429.7 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.4897, allocations: 417.1 kB / 430.1 MB, free: 260 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005151/0.4902, allocations: 0.7981 MB / 430.9 MB, free: 15.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.789e-05/0.4903, allocations: 31.42 kB / 430.9 MB, free: 15.4 MB / 362.7 MB Notification: Performance of SimCode: time 1.315e-06/0.4903, allocations: 4 kB / 430.9 MB, free: 15.4 MB / 362.7 MB Notification: Performance of Templates: time 0.007244/0.4976, allocations: 3.506 MB / 434.4 MB, free: 11.93 MB / 362.7 MB