Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Modulation,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Modulation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.016/2.016, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.513e-05/3.516e-05, allocations: 4 kB / 292.2 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1106, allocations: 50.4 MB / 342.6 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4422/0.5529, allocations: 77.01 MB / 419.6 MB, free: 1.129 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/0.5531, allocations: 70.39 kB / 419.7 MB, free: 1.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01345/0.5666, allocations: 2.874 MB / 422.6 MB, free: 14.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.5667, allocations: 0 / 422.6 MB, free: 14.66 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.928e-05/0.5667, allocations: 8 kB / 422.6 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.0008076/0.5675, allocations: 458.4 kB / 423 MB, free: 14.18 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.77e-05/0.5676, allocations: 12.03 kB / 423.1 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.648e-05/0.5677, allocations: 48.02 kB / 423.1 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.258e-05/0.5677, allocations: 31.67 kB / 423.1 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004246/0.5682, allocations: 228.8 kB / 423.4 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.5682, allocations: 15.67 kB / 423.4 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.966e-05/0.5683, allocations: 18.92 kB / 423.4 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000354/0.5686, allocations: 143.8 kB / 423.5 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.5687, allocations: 4 kB / 423.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.5687, allocations: 3.312 kB / 423.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.5687, allocations: 4 kB / 423.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002263/0.569, allocations: 77 kB / 423.6 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001503/0.5705, allocations: 0.6577 MB / 424.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002694/0.5708, allocations: 109.7 kB / 424.4 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.5709, allocations: 48.64 kB / 424.4 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/0.571, allocations: 7.984 kB / 424.4 MB, free: 12.81 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.571, allocations: 33.94 kB / 424.5 MB, free: 12.77 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 2.454e-06/0.571, allocations: 0 / 424.5 MB, free: 12.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004376/0.5715, allocations: 117.8 kB / 424.6 MB, free: 12.67 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.146e-05/0.5715, allocations: 110.8 kB / 424.7 MB, free: 12.54 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/0.5718, allocations: 203.3 kB / 424.9 MB, free: 12.37 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.5719, allocations: 29.58 kB / 424.9 MB, free: 12.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.311e-05/0.572, allocations: 136.6 kB / 425.1 MB, free: 12.23 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.568e-05/0.5721, allocations: 50.09 kB / 425.1 MB, free: 12.19 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.092e-05/0.5721, allocations: 0 / 425.1 MB, free: 12.19 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.5723, allocations: 336.6 kB / 425.4 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.5724, allocations: 26.38 kB / 425.5 MB, free: 11.84 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.5726, allocations: 92.55 kB / 425.5 MB, free: 11.74 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.5727, allocations: 46.61 kB / 425.6 MB, free: 11.71 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.5727, allocations: 0 / 425.6 MB, free: 11.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004066/0.5731, allocations: 148.4 kB / 425.7 MB, free: 11.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.5732, allocations: 8 kB / 425.7 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.5732, allocations: 0 / 425.7 MB, free: 11.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.5732, allocations: 4 kB / 425.7 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003273/0.5736, allocations: 43.84 kB / 425.8 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.5736, allocations: 8.188 kB / 425.8 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/0.5738, allocations: 27.39 kB / 425.8 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.351e-05/0.5738, allocations: 7.984 kB / 425.8 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.0001002/0.5739, allocations: 112.5 kB / 425.9 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.5741, allocations: 19.81 kB / 426 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004633/0.5745, allocations: 160.5 kB / 426.1 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.5746, allocations: 8 kB / 426.1 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.5746, allocations: 192 / 426.1 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.5746, allocations: 4 kB / 426.1 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006635/0.5753, allocations: 273.6 kB / 426.4 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.5753, allocations: 0 / 426.4 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003832/0.5757, allocations: 31.98 kB / 426.4 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.009e-05/0.5757, allocations: 3.984 kB / 426.4 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/0.5757, allocations: 7.312 kB / 426.4 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.5757, allocations: 4.016 kB / 426.4 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.5758, allocations: 3.984 kB / 426.4 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006571/0.5764, allocations: 480.5 kB / 426.9 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.761e-05/0.5765, allocations: 100.1 kB / 427 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.568e-05/0.5766, allocations: 7.234 kB / 427 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003126/0.5769, allocations: 12 kB / 427 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.807e-05/0.577, allocations: 15.38 kB / 427 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/0.577, allocations: 7.984 kB / 427.1 MB, free: 10.29 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002208/0.5773, allocations: 165.1 kB / 427.2 MB, free: 10.16 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5773, allocations: 3.938 kB / 427.2 MB, free: 10.15 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005272/0.5778, allocations: 39.3 kB / 427.3 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.0009947/0.5788, allocations: 1.135 MB / 428.4 MB, free: 9 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003283/0.5792, allocations: 95.95 kB / 428.5 MB, free: 8.93 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5792, allocations: 384 / 428.5 MB, free: 8.93 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.5793, allocations: 55.42 kB / 428.5 MB, free: 8.887 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.5797, allocations: 14.75 kB / 428.6 MB, free: 8.879 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.5816, allocations: 0.6118 MB / 429.2 MB, free: 8.254 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.582, allocations: 0.7439 MB / 429.9 MB, free: 7.484 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001306/0.5821, allocations: 25.31 kB / 429.9 MB, free: 7.461 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.5823, allocations: 70.22 kB / 430 MB, free: 7.434 MB / 346.7 MB Notification: Performance of SimCode: time 1.372e-06/0.5823, allocations: 0 / 430 MB, free: 7.434 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02969/0.612, allocations: 3.283 MB / 433.3 MB, free: 4.227 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002876/0.6123, allocations: 135.5 kB / 433.4 MB, free: 4.004 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.61/3.222, allocations: 0 / 433.4 MB, free: 4.004 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.Modulation_res.mat does not exist to compare? outputFormat=mat