Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Modulation,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Modulation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.128/2.128, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.78e-05/3.786e-05, allocations: 4 kB / 292.7 MB, free: 8.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1084, allocations: 50.41 MB / 343.2 MB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4746/0.5831, allocations: 77.01 MB / 420.2 MB, free: 1.121 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/0.5834, allocations: 65.34 kB / 420.2 MB, free: 1.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01399/0.5974, allocations: 2.874 MB / 423.1 MB, free: 14.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5975, allocations: 0 / 423.1 MB, free: 14.66 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.693e-05/0.5975, allocations: 12 kB / 423.1 MB, free: 14.65 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.0008311/0.5984, allocations: 450.3 kB / 423.6 MB, free: 14.18 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/0.5984, allocations: 8.031 kB / 423.6 MB, free: 14.17 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.517e-05/0.5985, allocations: 48.45 kB / 423.6 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.089e-05/0.5986, allocations: 30.86 kB / 423.6 MB, free: 14.1 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000402/0.599, allocations: 241 kB / 423.9 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.599, allocations: 15.05 kB / 423.9 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.671e-05/0.5991, allocations: 11.31 kB / 423.9 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003794/0.5995, allocations: 149.5 kB / 424 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.5995, allocations: 0 / 424 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.5995, allocations: 3.125 kB / 424.1 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.5996, allocations: 4 kB / 424.1 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00024/0.5998, allocations: 76 kB / 424.1 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.6014, allocations: 0.6573 MB / 424.8 MB, free: 12.99 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002859/0.6017, allocations: 106.6 kB / 424.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001254/0.6019, allocations: 53.5 kB / 424.9 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.6019, allocations: 6.734 kB / 425 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.6019, allocations: 42.56 kB / 425 MB, free: 12.77 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 3.536e-06/0.602, allocations: 0 / 425 MB, free: 12.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.000461/0.6024, allocations: 119.2 kB / 425.1 MB, free: 12.67 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.641e-05/0.6025, allocations: 110.8 kB / 425.2 MB, free: 12.54 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003162/0.6029, allocations: 200.4 kB / 425.4 MB, free: 12.37 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.684e-05/0.6029, allocations: 33.33 kB / 425.4 MB, free: 12.33 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.603, allocations: 129.5 kB / 425.6 MB, free: 12.23 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.264e-05/0.6031, allocations: 53.77 kB / 425.6 MB, free: 12.18 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.184e-05/0.6031, allocations: 3.438 kB / 425.6 MB, free: 12.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.6033, allocations: 332.9 kB / 426 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.6034, allocations: 26.25 kB / 426 MB, free: 11.84 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.6036, allocations: 90.55 kB / 426.1 MB, free: 11.75 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.6037, allocations: 41.73 kB / 426.1 MB, free: 11.71 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.6038, allocations: 0 / 426.1 MB, free: 11.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004524/0.6042, allocations: 153.6 kB / 426.3 MB, free: 11.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.6043, allocations: 8 kB / 426.3 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.6043, allocations: 7.984 kB / 426.3 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/0.6043, allocations: 8.031 kB / 426.3 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003422/0.6047, allocations: 35.42 kB / 426.3 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.6047, allocations: 4 kB / 426.3 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.6049, allocations: 27.69 kB / 426.3 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.726e-05/0.605, allocations: 8 kB / 426.4 MB, free: 11.49 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.0001067/0.6051, allocations: 115.5 kB / 426.5 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.839e-05/0.6052, allocations: 19.81 kB / 426.5 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000497/0.6057, allocations: 161.1 kB / 426.6 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.6057, allocations: 4 kB / 426.6 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.6057, allocations: 0 / 426.6 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.6058, allocations: 4 kB / 426.7 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007107/0.6065, allocations: 270.6 kB / 426.9 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.6065, allocations: 0 / 426.9 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003992/0.6069, allocations: 43.91 kB / 427 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/0.6069, allocations: 4 kB / 427 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.449e-05/0.607, allocations: 3.875 kB / 427 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.607, allocations: 4 kB / 427 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.607, allocations: 192 / 427 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006753/0.6077, allocations: 467.5 kB / 427.4 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.496e-05/0.6078, allocations: 100.8 kB / 427.5 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.922e-05/0.6079, allocations: 11.75 kB / 427.5 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003301/0.6082, allocations: 4 kB / 427.5 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.742e-05/0.6083, allocations: 23.3 kB / 427.6 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.6083, allocations: 7.938 kB / 427.6 MB, free: 10.29 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002308/0.6086, allocations: 167.6 kB / 427.7 MB, free: 10.16 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.6086, allocations: 0 / 427.7 MB, free: 10.16 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005274/0.6091, allocations: 42.5 kB / 427.8 MB, free: 10.12 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.001083/0.6102, allocations: 1.143 MB / 428.9 MB, free: 8.996 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000335/0.6106, allocations: 89.64 kB / 429 MB, free: 8.93 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6106, allocations: 0 / 429 MB, free: 8.93 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.6108, allocations: 61.17 kB / 429.1 MB, free: 8.883 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.6111, allocations: 15.62 kB / 429.1 MB, free: 8.875 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001985/0.6131, allocations: 0.6127 MB / 429.7 MB, free: 8.246 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.6136, allocations: 0.7439 MB / 430.4 MB, free: 7.477 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001376/0.6137, allocations: 25.3 kB / 430.5 MB, free: 7.453 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/0.6139, allocations: 65.47 kB / 430.5 MB, free: 7.43 MB / 346.7 MB Notification: Performance of SimCode: time 1.372e-06/0.6139, allocations: 0 / 430.5 MB, free: 7.43 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.6386, allocations: 3.278 MB / 433.8 MB, free: 4.227 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003772/0.639, allocations: 136.9 kB / 433.9 MB, free: 4.004 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.507/3.146, allocations: 0 / 433.9 MB, free: 4.004 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.Modulation_res.mat does not exist to compare? outputFormat=mat