Running command: translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects") Notification: Performance of loadModel(Modelica): time 2.266/2.266, allocations: 224.7 MB / 241.1 MB, free: 1.684 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.938e-05/3.949e-05, allocations: 7.984 kB / 294.6 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1473, allocations: 50.41 MB / 345 MB, free: 8.969 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.ClockedWith_AD_DA_Effects): time 0.005466/0.1528, allocations: 2.214 MB / 347.2 MB, free: 6.734 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00283/0.1557, allocations: 0.7872 MB / 348 MB, free: 5.945 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004204/0.1562, allocations: 19.94 kB / 348 MB, free: 5.926 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001339/0.1564, allocations: 23.72 kB / 348 MB, free: 5.902 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005113/0.1569, allocations: 71.69 kB / 348.1 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.1582, allocations: 199.5 kB / 348.3 MB, free: 5.637 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007625/0.159, allocations: 191.4 kB / 348.5 MB, free: 5.449 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003948/0.1594, allocations: 106.8 kB / 348.6 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002413/0.1596, allocations: 83.69 kB / 348.7 MB, free: 5.262 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002537/0.1599, allocations: 91.59 kB / 348.7 MB, free: 5.172 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002309/0.1602, allocations: 39.97 kB / 348.8 MB, free: 5.133 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.851e-05/0.1603, allocations: 8 kB / 348.8 MB, free: 5.125 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.1604, allocations: 59.7 kB / 348.8 MB, free: 5.066 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.366e-05/0.1605, allocations: 16 kB / 348.9 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006543/0.1612, allocations: 291.5 kB / 349.1 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1612, allocations: 0 / 349.1 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.1612, allocations: 0 / 349.1 MB, free: 4.766 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.117e-05/0.1613, allocations: 0 / 349.1 MB, free: 4.766 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001682/0.163, allocations: 0.5576 MB / 349.7 MB, free: 4.16 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.595e-05/0.1631, allocations: 12.03 kB / 349.7 MB, free: 4.148 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001791/0.1633, allocations: 35.53 kB / 349.8 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000856/0.1641, allocations: 314.7 kB / 350.1 MB, free: 3.766 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.337e-05/0.1642, allocations: 24.56 kB / 350.1 MB, free: 3.742 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.1643, allocations: 28 kB / 350.1 MB, free: 3.715 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003269/0.1676, allocations: 0.7717 MB / 350.9 MB, free: 2.918 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.275e-05/0.1677, allocations: 0 / 350.9 MB, free: 2.918 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.808e-05/0.1678, allocations: 12 kB / 350.9 MB, free: 2.906 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.287e-05/0.1679, allocations: 8 kB / 350.9 MB, free: 2.898 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/0.1693, allocations: 239.8 kB / 351.1 MB, free: 2.664 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001755/0.1711, allocations: 0.7758 MB / 351.9 MB, free: 1.809 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002622/0.1738, allocations: 0.6624 MB / 352.6 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00127/0.1751, allocations: 0.5857 MB / 353.2 MB, free: 364 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.065e-05/0.1752, allocations: 38.56 kB / 353.2 MB, free: 316 kB / 282.7 MB Notification: Performance of pre-optimization done (n=52): time 5.51e-06/0.1753, allocations: 3.938 kB / 353.2 MB, free: 312 kB / 282.7 MB Notification: Performance of matching and sorting (n=52): time 0.003129/0.1784, allocations: 0.6401 MB / 353.8 MB, free: 15.64 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002681/0.1787, allocations: 224.1 kB / 354.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005426/0.1793, allocations: 217.8 kB / 354.3 MB, free: 15.17 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.641e-05/0.1794, allocations: 37.7 kB / 354.3 MB, free: 15.12 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.1796, allocations: 203.2 kB / 354.5 MB, free: 14.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.1797, allocations: 59.56 kB / 354.6 MB, free: 14.87 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.334e-05/0.1798, allocations: 8 kB / 354.6 MB, free: 14.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000209/0.18, allocations: 330.8 kB / 354.9 MB, free: 14.53 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004455/0.1805, allocations: 93.06 kB / 355 MB, free: 14.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008084/0.1813, allocations: 435 kB / 355.4 MB, free: 13.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006463/0.182, allocations: 159.8 kB / 355.6 MB, free: 13.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-05/0.182, allocations: 4 kB / 355.6 MB, free: 13.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001903/0.1839, allocations: 489.8 kB / 356 MB, free: 13.2 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.604e-05/0.184, allocations: 16.03 kB / 356.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.484e-05/0.1841, allocations: 8 kB / 356.1 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.259e-05/0.1841, allocations: 20 kB / 356.1 MB, free: 13.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008471/0.185, allocations: 119.8 kB / 356.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.486e-05/0.1851, allocations: 27.83 kB / 356.2 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007172/0.1858, allocations: 55.58 kB / 356.3 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.37e-05/0.1859, allocations: 32 kB / 356.3 MB, free: 12.92 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (61): * Single equations (assignments): 61 * 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.0004572/0.1864, allocations: 185.5 kB / 356.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001634/0.188, allocations: 345.1 kB / 356.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001632/0.1897, allocations: 385.1 kB / 357.2 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-05/0.1898, allocations: 8.406 kB / 357.2 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.1898, allocations: 0 / 357.2 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.958e-05/0.1898, allocations: 7.953 kB / 357.2 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009342/0.1908, allocations: 337.1 kB / 357.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.957e-05/0.1908, allocations: 0 / 357.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/0.1919, allocations: 111.8 kB / 357.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.597e-05/0.1919, allocations: 4 kB / 357.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.742e-05/0.192, allocations: 11.98 kB / 357.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.087e-06/0.192, allocations: 4 kB / 357.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.192, allocations: 0 / 357.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00325/0.1953, allocations: 0.854 MB / 358.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002027/0.1956, allocations: 120.5 kB / 358.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.1957, allocations: 12 kB / 358.7 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006108/0.1963, allocations: 31.98 kB / 358.7 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.036e-05/0.1964, allocations: 7.984 kB / 358.7 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.063e-05/0.1965, allocations: 12 kB / 358.7 MB, free: 10.39 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004072/0.1969, allocations: 186 kB / 358.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.1969, allocations: 0 / 358.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001298/0.1983, allocations: 75.91 kB / 359 MB, free: 10.13 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (load.phi,load.w) * 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 (49): * Single equations (assignments): 48 * 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.0003886/0.1987, allocations: 123.1 kB / 359.1 MB, free: 10 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00173/0.2004, allocations: 373.7 kB / 359.5 MB, free: 9.637 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.313e-06/0.2005, allocations: 0 / 359.5 MB, free: 9.637 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002516/0.2007, allocations: 31.97 kB / 359.5 MB, free: 9.605 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002151/0.2029, allocations: 308.7 kB / 359.8 MB, free: 9.301 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003398/0.2063, allocations: 0.9124 MB / 360.7 MB, free: 8.344 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006873/0.2071, allocations: 0.8162 MB / 361.5 MB, free: 7.5 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002045/0.2073, allocations: 35.42 kB / 361.6 MB, free: 7.465 MB / 298.7 MB Notification: Performance of SimCode: time 1.273e-06/0.2073, allocations: 4 kB / 361.6 MB, free: 7.461 MB / 298.7 MB Notification: Performance of Templates: time 0.01615/0.2235, allocations: 4.336 MB / 365.9 MB, free: 3.141 MB / 298.7 MB