Running command: translateModel(Modelica.Blocks.Examples.Modulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Blocks.Examples.Modulation") Notification: Performance of loadModel(Modelica): time 1.87/1.87, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.13e-05/3.143e-05, allocations: 7.984 kB / 292.1 MB, free: 8.859 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08877/0.08882, allocations: 50.41 MB / 342.5 MB, free: 6.426 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3472/0.436, allocations: 77.08 MB / 419.6 MB, free: 1.043 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001884/0.4363, allocations: 58.91 kB / 419.7 MB, free: 1.016 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01236/0.4487, allocations: 2.88 MB / 422.6 MB, free: 14.58 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.383e-06/0.4487, allocations: 0 / 422.6 MB, free: 14.58 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.564e-05/0.4487, allocations: 8 kB / 422.6 MB, free: 14.57 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.0006534/0.4494, allocations: 444.1 kB / 423 MB, free: 14.11 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.4495, allocations: 8.031 kB / 423 MB, free: 14.1 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.455e-05/0.4495, allocations: 31.61 kB / 423 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003385/0.4499, allocations: 238.3 kB / 423.3 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.4499, allocations: 11.86 kB / 423.3 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.877e-05/0.45, allocations: 15.69 kB / 423.3 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003106/0.4503, allocations: 146.8 kB / 423.4 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.4503, allocations: 7.984 kB / 423.4 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.4504, allocations: 3.938 kB / 423.4 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.695e-06/0.4504, allocations: 4 kB / 423.5 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001967/0.4506, allocations: 74.64 kB / 423.5 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.4519, allocations: 0.6495 MB / 424.2 MB, free: 12.97 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.4521, allocations: 115.5 kB / 424.3 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.4523, allocations: 46.14 kB / 424.3 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.4523, allocations: 3.984 kB / 424.3 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.4524, allocations: 46.38 kB / 424.4 MB, free: 12.75 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 3.375e-06/0.4524, allocations: 0 / 424.4 MB, free: 12.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004001/0.4528, allocations: 120.6 kB / 424.5 MB, free: 12.64 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.303e-05/0.4529, allocations: 106.8 kB / 424.6 MB, free: 12.52 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002796/0.4532, allocations: 206.3 kB / 424.8 MB, free: 12.34 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.4532, allocations: 25.7 kB / 424.8 MB, free: 12.31 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.4533, allocations: 192.2 kB / 425 MB, free: 12.15 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.21e-05/0.4534, allocations: 49.61 kB / 425.1 MB, free: 12.11 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.103e-05/0.4534, allocations: 3.062 kB / 425.1 MB, free: 12.11 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.4536, allocations: 314.8 kB / 425.4 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.43e-05/0.4537, allocations: 33.36 kB / 425.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.4539, allocations: 88.48 kB / 425.5 MB, free: 11.67 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.454, allocations: 45.17 kB / 425.5 MB, free: 11.64 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.141e-06/0.454, allocations: 0 / 425.5 MB, free: 11.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003531/0.4544, allocations: 144.7 kB / 425.7 MB, free: 11.52 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.4544, allocations: 4 kB / 425.7 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.172e-06/0.4544, allocations: 4 kB / 425.7 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.4545, allocations: 4 kB / 425.7 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002506/0.4547, allocations: 39.91 kB / 425.7 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.82e-06/0.4547, allocations: 0 / 425.7 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.4549, allocations: 19.53 kB / 425.8 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.455, allocations: 16.09 kB / 425.8 MB, free: 11.44 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.0001037/0.4551, allocations: 114.6 kB / 425.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.4552, allocations: 19.72 kB / 425.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004178/0.4556, allocations: 169.4 kB / 426.1 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.326e-06/0.4556, allocations: 4 kB / 426.1 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.4557, allocations: 0 / 426.1 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.385e-06/0.4557, allocations: 4 kB / 426.1 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006512/0.4563, allocations: 271.7 kB / 426.3 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.202e-06/0.4564, allocations: 4 kB / 426.3 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002731/0.4567, allocations: 31.98 kB / 426.4 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.069e-06/0.4567, allocations: 4 kB / 426.4 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.4567, allocations: 6.797 kB / 426.4 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.005e-06/0.4567, allocations: 4 kB / 426.4 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.738e-06/0.4567, allocations: 0 / 426.4 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006172/0.4574, allocations: 478.9 kB / 426.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.917e-05/0.4575, allocations: 92.83 kB / 426.9 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.461e-05/0.4575, allocations: 11.36 kB / 427 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/0.4578, allocations: 6.875 kB / 427 MB, free: 10.26 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.833e-05/0.4579, allocations: 15.94 kB / 427 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.4579, allocations: 7.625 kB / 427 MB, free: 10.24 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002034/0.4581, allocations: 164.9 kB / 427.1 MB, free: 10.11 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.03e-07/0.4581, allocations: 0 / 427.1 MB, free: 10.11 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005091/0.4587, allocations: 42.5 kB / 427.2 MB, free: 10.07 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.000169/0.4588, allocations: 111.4 kB / 427.3 MB, free: 9.953 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002685/0.4591, allocations: 89.42 kB / 427.4 MB, free: 9.891 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4591, allocations: 0 / 427.4 MB, free: 9.891 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.4593, allocations: 58.23 kB / 427.4 MB, free: 9.844 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.4596, allocations: 18.94 kB / 427.5 MB, free: 9.832 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.4609, allocations: 0.5868 MB / 428 MB, free: 9.238 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004647/0.4614, allocations: 0.7439 MB / 428.8 MB, free: 8.469 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.579e-05/0.4615, allocations: 23.42 kB / 428.8 MB, free: 8.445 MB / 346.7 MB Notification: Performance of SimCode: time 1.669e-06/0.4615, allocations: 4 kB / 428.8 MB, free: 8.441 MB / 346.7 MB Notification: Performance of Templates: time 0.004723/0.4663, allocations: 2.051 MB / 430.9 MB, free: 6.41 MB / 346.7 MB