Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Modulation,fileNamePrefix="Modelica_trunk_cpp_Modelica_Blocks_Examples_Modulation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.053/2.053, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.058e-05/3.077e-05, allocations: 4 kB / 292.2 MB, free: 8.734 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1122, allocations: 50.42 MB / 342.6 MB, free: 6.297 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4346/0.5469, allocations: 77.09 MB / 419.7 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/0.5472, allocations: 62.53 kB / 419.8 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01294/0.5601, allocations: 2.883 MB / 422.7 MB, free: 14.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5602, allocations: 0 / 422.7 MB, free: 14.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.52e-05/0.5602, allocations: 8 kB / 422.7 MB, free: 14.18 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.0007505/0.561, allocations: 449.2 kB / 423.1 MB, free: 13.7 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.561, allocations: 14.88 kB / 423.1 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.224e-05/0.5611, allocations: 45.73 kB / 423.2 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.679e-05/0.5612, allocations: 27.67 kB / 423.2 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003731/0.5616, allocations: 234.2 kB / 423.4 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.5616, allocations: 11.67 kB / 423.4 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.502e-05/0.5617, allocations: 15.94 kB / 423.4 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003483/0.562, allocations: 150.3 kB / 423.6 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.562, allocations: 0 / 423.6 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/0.5621, allocations: 3.5 kB / 423.6 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.5621, allocations: 4 kB / 423.6 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002377/0.5623, allocations: 71 kB / 423.7 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/0.5637, allocations: 0.6613 MB / 424.3 MB, free: 12.51 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002627/0.564, allocations: 118.8 kB / 424.4 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.5642, allocations: 46.06 kB / 424.5 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.5642, allocations: 4 kB / 424.5 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.5642, allocations: 34.44 kB / 424.5 MB, free: 12.3 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 2.154e-06/0.5642, allocations: 3.938 kB / 424.5 MB, free: 12.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004192/0.5647, allocations: 120.2 kB / 424.7 MB, free: 12.2 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.5647, allocations: 110.8 kB / 424.8 MB, free: 12.06 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/0.565, allocations: 202.4 kB / 425 MB, free: 11.89 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.5651, allocations: 25.7 kB / 425 MB, free: 11.86 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.381e-05/0.5652, allocations: 189.2 kB / 425.2 MB, free: 11.7 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.152e-05/0.5652, allocations: 50.86 kB / 425.2 MB, free: 11.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.14e-05/0.5653, allocations: 0 / 425.2 MB, free: 11.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.5654, allocations: 314.7 kB / 425.5 MB, free: 11.35 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.5655, allocations: 39.64 kB / 425.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.5657, allocations: 86.36 kB / 425.6 MB, free: 11.22 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.5658, allocations: 47.17 kB / 425.7 MB, free: 11.19 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.5658, allocations: 0 / 425.7 MB, free: 11.19 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000366/0.5662, allocations: 140 kB / 425.8 MB, free: 11.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.5662, allocations: 4 kB / 425.8 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.5662, allocations: 192 / 425.8 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.5663, allocations: 4 kB / 425.8 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003177/0.5666, allocations: 48.09 kB / 425.9 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.5666, allocations: 4 kB / 425.9 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.5668, allocations: 23.73 kB / 425.9 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.5669, allocations: 4 kB / 425.9 MB, free: 10.99 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 9.449e-05/0.567, allocations: 116.8 kB / 426 MB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.711e-05/0.5671, allocations: 23.72 kB / 426.1 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004287/0.5675, allocations: 160.6 kB / 426.2 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.5675, allocations: 4 kB / 426.2 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.5675, allocations: 3.984 kB / 426.2 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.5676, allocations: 0 / 426.2 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006687/0.5682, allocations: 276.1 kB / 426.5 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.5683, allocations: 0 / 426.5 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003789/0.5686, allocations: 35.92 kB / 426.5 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.5687, allocations: 0 / 426.5 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/0.5687, allocations: 7.938 kB / 426.5 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.5687, allocations: 7.984 kB / 426.5 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5687, allocations: 0 / 426.5 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005813/0.5693, allocations: 470.9 kB / 427 MB, free: 9.941 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.762e-05/0.5694, allocations: 100.8 kB / 427.1 MB, free: 9.824 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.066e-05/0.5695, allocations: 7.938 kB / 427.1 MB, free: 9.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002842/0.5698, allocations: 11.98 kB / 427.1 MB, free: 9.809 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.333e-05/0.5698, allocations: 23.8 kB / 427.1 MB, free: 9.789 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.5699, allocations: 4 kB / 427.1 MB, free: 9.785 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001966/0.5701, allocations: 168.2 kB / 427.3 MB, free: 9.648 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5701, allocations: 0 / 427.3 MB, free: 9.648 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004739/0.5706, allocations: 39.75 kB / 427.3 MB, free: 9.613 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.0009132/0.5715, allocations: 1.138 MB / 428.5 MB, free: 8.492 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003039/0.5718, allocations: 95.14 kB / 428.6 MB, free: 8.422 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.5718, allocations: 4.062 kB / 428.6 MB, free: 8.418 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.572, allocations: 55.42 kB / 428.6 MB, free: 8.375 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.5723, allocations: 16.06 kB / 428.7 MB, free: 8.367 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.5741, allocations: 0.6365 MB / 429.3 MB, free: 7.707 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.5744, allocations: 0.7478 MB / 430 MB, free: 6.934 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.5746, allocations: 73.47 kB / 430.1 MB, free: 6.906 MB / 346.7 MB Notification: Performance of SimCode: time 6.81e-07/0.5746, allocations: 0 / 430.1 MB, free: 6.906 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.32/2.895, allocations: 2.905 MB / 433 MB, free: 4.031 MB / 346.7 MB