Running command: translateModel(Modelica.Blocks.Examples.Modulation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|sine.y|sinAM.y|cosAM.y|sinFM.y|cosFM.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.Modulation") Notification: Performance of loadModel(Modelica): time 2.025/2.025, allocations: 225.8 MB / 239.4 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.634e-05/2.639e-05, allocations: 0 / 292.6 MB, free: 8.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09789/0.09794, allocations: 50.43 MB / 343.1 MB, free: 5.883 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3642/0.4622, allocations: 77.01 MB / 420.1 MB, free: 1.188 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001686/0.4624, allocations: 61.97 kB / 420.1 MB, free: 1.156 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01223/0.4747, allocations: 2.872 MB / 423 MB, free: 14.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.441e-06/0.4747, allocations: 0 / 423 MB, free: 14.73 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.48e-05/0.4748, allocations: 8 kB / 423 MB, free: 14.72 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.000655/0.4754, allocations: 450.4 kB / 423.5 MB, free: 14.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.4755, allocations: 12.03 kB / 423.5 MB, free: 14.24 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.548e-05/0.4756, allocations: 26.52 kB / 423.5 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/0.4759, allocations: 231.3 kB / 423.7 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.476, allocations: 15.23 kB / 423.7 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.59e-05/0.476, allocations: 19.17 kB / 423.8 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000315/0.4764, allocations: 148.2 kB / 423.9 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.4764, allocations: 0 / 423.9 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.4764, allocations: 11.06 kB / 423.9 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.42e-06/0.4764, allocations: 4 kB / 423.9 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001964/0.4766, allocations: 76.88 kB / 424 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.478, allocations: 0.6525 MB / 424.7 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002501/0.4782, allocations: 113 kB / 424.8 MB, free: 12.99 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.4784, allocations: 45.45 kB / 424.8 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.4784, allocations: 7.938 kB / 424.8 MB, free: 12.94 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.4784, allocations: 34.31 kB / 424.8 MB, free: 12.9 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 2.495e-06/0.4785, allocations: 3.938 kB / 424.8 MB, free: 12.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004/0.4789, allocations: 122.3 kB / 425 MB, free: 12.79 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.325e-05/0.479, allocations: 106.8 kB / 425.1 MB, free: 12.66 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000281/0.4792, allocations: 208.6 kB / 425.3 MB, free: 12.48 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.4793, allocations: 25.7 kB / 425.3 MB, free: 12.45 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.4794, allocations: 133.2 kB / 425.4 MB, free: 12.35 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.377e-05/0.4795, allocations: 49.66 kB / 425.5 MB, free: 12.31 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.093e-05/0.4795, allocations: 3.188 kB / 425.5 MB, free: 12.31 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.4797, allocations: 328.6 kB / 425.8 MB, free: 11.99 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.346e-05/0.4798, allocations: 33.92 kB / 425.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.4799, allocations: 80.5 kB / 425.9 MB, free: 11.88 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.4801, allocations: 52.28 kB / 426 MB, free: 11.84 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.4801, allocations: 7.938 kB / 426 MB, free: 11.83 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000374/0.4805, allocations: 149.7 kB / 426.1 MB, free: 11.7 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.4805, allocations: 8 kB / 426.1 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.305e-06/0.4805, allocations: 0 / 426.1 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.4806, allocations: 4 kB / 426.1 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/0.4808, allocations: 39.91 kB / 426.2 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.4808, allocations: 4.188 kB / 426.2 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.481, allocations: 23.03 kB / 426.2 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.4811, allocations: 11.94 kB / 426.2 MB, free: 11.62 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001061/0.4812, allocations: 115.6 kB / 426.3 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.4813, allocations: 23.75 kB / 426.3 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003962/0.4817, allocations: 160 kB / 426.5 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.76e-06/0.4817, allocations: 4 kB / 426.5 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.036e-06/0.4818, allocations: 4 kB / 426.5 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.732e-06/0.4818, allocations: 0 / 426.5 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000674/0.4825, allocations: 279.8 kB / 426.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.805e-06/0.4825, allocations: 0 / 426.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002708/0.4828, allocations: 31.98 kB / 426.8 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.4828, allocations: 0 / 426.8 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.624e-05/0.4828, allocations: 11.48 kB / 426.8 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.4828, allocations: 3.938 kB / 426.8 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.136e-06/0.4828, allocations: 0 / 426.8 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006166/0.4835, allocations: 473.9 kB / 427.3 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.662e-05/0.4836, allocations: 99.77 kB / 427.4 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.85e-05/0.4836, allocations: 3.125 kB / 427.4 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002747/0.4839, allocations: 15.98 kB / 427.4 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/0.484, allocations: 14.88 kB / 427.4 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/0.484, allocations: 4.188 kB / 427.4 MB, free: 10.42 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000225/0.4843, allocations: 167.6 kB / 427.6 MB, free: 10.29 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.93e-07/0.4843, allocations: 0 / 427.6 MB, free: 10.29 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005187/0.4848, allocations: 42.69 kB / 427.6 MB, free: 10.25 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (sine.phi,sinAM.phi,cosAM.phi,sinFM.phi,cosFM.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001742/0.485, allocations: 115.6 kB / 427.7 MB, free: 10.13 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000295/0.4853, allocations: 95.33 kB / 427.8 MB, free: 10.06 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.901e-06/0.4853, allocations: 0 / 427.8 MB, free: 10.06 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.4855, allocations: 61.61 kB / 427.9 MB, free: 10.01 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.4858, allocations: 13.8 kB / 427.9 MB, free: 10 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.4871, allocations: 0.5416 MB / 428.5 MB, free: 9.457 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004754/0.4876, allocations: 0.7517 MB / 429.2 MB, free: 8.68 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.4877, allocations: 17.31 kB / 429.2 MB, free: 8.664 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.379e-05/0.4878, allocations: 26.8 kB / 429.2 MB, free: 8.641 MB / 346.7 MB Notification: Performance of SimCode: time 1.499e-06/0.4878, allocations: 0 / 429.2 MB, free: 8.641 MB / 346.7 MB Notification: Performance of Templates: time 0.005377/0.4932, allocations: 1.179 MB / 430.4 MB, free: 7.469 MB / 346.7 MB