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 1.875/1.875, allocations: 225.8 MB / 239.3 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.145e-05/5.183e-05, allocations: 0 / 292.1 MB, free: 8.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0973/0.0974, allocations: 50.42 MB / 342.5 MB, free: 6.402 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3656/0.463, allocations: 81.04 MB / 423.6 MB, free: 13.11 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/0.4633, allocations: 74.45 kB / 423.7 MB, free: 13.08 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03128/0.4946, allocations: 7.439 MB / 431.1 MB, free: 6.742 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.4947, allocations: 0 / 431.1 MB, free: 6.742 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.976e-05/0.4947, allocations: 12 kB / 431.1 MB, free: 6.73 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001048/0.4958, allocations: 0.5643 MB / 431.7 MB, free: 6.145 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.4958, allocations: 8.031 kB / 431.7 MB, free: 6.137 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.496, allocations: 39.53 kB / 431.7 MB, free: 6.098 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007519/0.4967, allocations: 352.6 kB / 432.1 MB, free: 5.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.658e-05/0.4968, allocations: 19.44 kB / 432.1 MB, free: 5.738 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.417e-05/0.4969, allocations: 31.56 kB / 432.1 MB, free: 5.719 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.4982, allocations: 0.6512 MB / 432.8 MB, free: 5.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.4982, allocations: 4 kB / 432.8 MB, free: 5.176 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.75e-05/0.4983, allocations: 7.188 kB / 432.8 MB, free: 5.176 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.4983, allocations: 8 kB / 432.8 MB, free: 5.168 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003881/0.4987, allocations: 153.2 kB / 432.9 MB, free: 5.066 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/0.4999, allocations: 0.7652 MB / 433.7 MB, free: 4.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.501, allocations: 0.5472 MB / 434.2 MB, free: 3.797 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004417/0.5014, allocations: 225.6 kB / 434.5 MB, free: 3.633 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007447/0.5022, allocations: 0.5851 MB / 435 MB, free: 2.922 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.999e-05/0.5023, allocations: 41.94 kB / 435.1 MB, free: 2.875 MB / 346.7 MB Notification: Performance of pre-optimization done (n=52): time 4.473e-06/0.5023, allocations: 0 / 435.1 MB, free: 2.875 MB / 346.7 MB Notification: Performance of matching and sorting (n=52): time 0.0008604/0.5031, allocations: 335.4 kB / 435.4 MB, free: 2.613 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001572/0.5033, allocations: 180.3 kB / 435.6 MB, free: 2.414 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003232/0.5037, allocations: 211.6 kB / 435.8 MB, free: 2.234 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.416e-05/0.5037, allocations: 33.45 kB / 435.8 MB, free: 2.199 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.5039, allocations: 205 kB / 436 MB, free: 2.023 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.736e-05/0.5039, allocations: 50.17 kB / 436.1 MB, free: 1.984 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.754e-05/0.504, allocations: 9.812 kB / 436.1 MB, free: 1.984 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.5042, allocations: 333.6 kB / 436.4 MB, free: 1.656 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.5043, allocations: 69.81 kB / 436.5 MB, free: 1.609 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004328/0.5048, allocations: 403 kB / 436.9 MB, free: 1.09 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002862/0.5051, allocations: 143.5 kB / 437 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.481e-06/0.5051, allocations: 4 kB / 437 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008838/0.506, allocations: 419 kB / 437.4 MB, free: 0.625 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.506, allocations: 8 kB / 437.4 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/0.5061, allocations: 12 kB / 437.4 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.612e-05/0.5061, allocations: 20.77 kB / 437.5 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005227/0.5066, allocations: 131 kB / 437.6 MB, free: 472 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.044e-05/0.5067, allocations: 19.94 kB / 437.6 MB, free: 452 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003792/0.5071, allocations: 46.42 kB / 437.7 MB, free: 412 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.982e-05/0.5071, allocations: 31.12 kB / 437.7 MB, free: 384 kB / 346.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.0002/0.5074, allocations: 150.9 kB / 437.8 MB, free: 244 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007109/0.5081, allocations: 300.6 kB / 438.1 MB, free: 4 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007442/0.5088, allocations: 324.2 kB / 438.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.5089, allocations: 8 kB / 438.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.5089, allocations: 8.141 kB / 438.5 MB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.5089, allocations: 3.984 kB / 438.5 MB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005428/0.5095, allocations: 333.7 kB / 438.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/0.5095, allocations: 7.938 kB / 438.8 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005897/0.5101, allocations: 103.7 kB / 438.9 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/0.5101, allocations: 8 kB / 438.9 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.515e-05/0.5102, allocations: 11.44 kB / 438.9 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.78e-06/0.5102, allocations: 4 kB / 438.9 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.599e-06/0.5102, allocations: 0 / 438.9 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.5114, allocations: 0.709 MB / 439.6 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.5116, allocations: 120.5 kB / 439.8 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.877e-05/0.5117, allocations: 15.36 kB / 439.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000356/0.5121, allocations: 30.11 kB / 439.8 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.5121, allocations: 7.922 kB / 439.8 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-05/0.5122, allocations: 19.75 kB / 439.8 MB, free: 14.53 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002403/0.5124, allocations: 171.1 kB / 440 MB, free: 14.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.87e-07/0.5125, allocations: 0 / 440 MB, free: 14.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007488/0.5132, allocations: 81.09 kB / 440.1 MB, free: 14.32 MB / 362.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.0002485/0.5135, allocations: 129.4 kB / 440.2 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000664/0.5142, allocations: 290.2 kB / 440.5 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.454e-06/0.5142, allocations: 0 / 440.5 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.598e-05/0.5142, allocations: 19.8 kB / 440.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009947/0.5153, allocations: 259.3 kB / 440.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.517, allocations: 0.606 MB / 441.4 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005395/0.5176, allocations: 0.8157 MB / 442.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.5177, allocations: 34.98 kB / 442.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of SimCode: time 1.945e-06/0.5177, allocations: 4 kB / 442.2 MB, free: 12.31 MB / 362.7 MB Notification: Performance of Templates: time 0.009192/0.5269, allocations: 4.237 MB / 446.4 MB, free: 8.133 MB / 362.7 MB