Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_MultiPhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.094/2.094, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.033e-05/4.041e-05, allocations: 4 kB / 255.5 MB, free: 3.113 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1039, allocations: 44.5 MB / 299.9 MB, free: 6.551 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4893/0.5933, allocations: 76.2 MB / 376.1 MB, free: 22.24 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00028/0.5936, allocations: 69.91 kB / 376.2 MB, free: 22.24 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07048/0.6641, allocations: 16.39 MB / 392.6 MB, free: 19.94 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.6642, allocations: 3.906 kB / 392.6 MB, free: 19.94 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001237/0.6643, allocations: 19.53 kB / 392.6 MB, free: 19.94 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.005036/0.6694, allocations: 1.171 MB / 393.8 MB, free: 19.3 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.531e-05/0.6695, allocations: 11.66 kB / 393.8 MB, free: 19.29 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006419/0.6701, allocations: 147.1 kB / 393.9 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005384/0.6707, allocations: 117.4 kB / 394.1 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002767/0.6735, allocations: 0.7138 MB / 394.8 MB, free: 18.87 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.6736, allocations: 63.97 kB / 394.8 MB, free: 18.87 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003937/0.674, allocations: 89.56 kB / 394.9 MB, free: 18.87 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004304/0.6784, allocations: 1.168 MB / 396.1 MB, free: 18.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.813e-05/0.6785, allocations: 7.875 kB / 396.1 MB, free: 18.7 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001951/0.6787, allocations: 32.59 kB / 396.1 MB, free: 18.7 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-05/0.6787, allocations: 19.53 kB / 396.2 MB, free: 18.7 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004154/0.6829, allocations: 1.002 MB / 397.2 MB, free: 18.68 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01383/0.6968, allocations: 3.769 MB / 400.9 MB, free: 17.6 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003165/0.7, allocations: 1.936 MB / 402.9 MB, free: 16.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001312/0.7014, allocations: 0.6422 MB / 403.5 MB, free: 16.39 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.536e-05/0.7015, allocations: 12.55 kB / 403.5 MB, free: 16.39 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.7015, allocations: 42.22 kB / 403.6 MB, free: 16.34 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 3.256e-06/0.7015, allocations: 3.906 kB / 403.6 MB, free: 16.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.005259/0.7068, allocations: 2.2 MB / 405.8 MB, free: 15.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.7069, allocations: 63.19 kB / 405.8 MB, free: 15.76 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.7081, allocations: 0.6066 MB / 406.4 MB, free: 15.65 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000184/0.7083, allocations: 36.8 kB / 406.5 MB, free: 15.62 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002556/0.7086, allocations: 425.4 kB / 406.9 MB, free: 15.36 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002513/0.7089, allocations: 237.9 kB / 407.1 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.245e-05/0.7089, allocations: 14.72 kB / 407.1 MB, free: 15.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.678e-05/0.709, allocations: 335.5 kB / 407.5 MB, free: 14.89 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007278/0.7098, allocations: 344.4 kB / 407.8 MB, free: 14.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007831/0.7106, allocations: 395.2 kB / 408.2 MB, free: 14.86 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007853/0.7114, allocations: 378.3 kB / 408.5 MB, free: 14.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.7114, allocations: 3.938 kB / 408.5 MB, free: 14.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002481/0.7139, allocations: 1.109 MB / 409.7 MB, free: 14.72 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.521e-05/0.714, allocations: 7.812 kB / 409.7 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.714, allocations: 0 / 409.7 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001661/0.7157, allocations: 458.7 kB / 410.1 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000792/0.7165, allocations: 92.03 kB / 410.2 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01236/0.7289, allocations: 8.446 MB / 418.6 MB, free: 24.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008957/0.7298, allocations: 33.84 kB / 418.7 MB, free: 24.74 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.264e-05/0.7299, allocations: 19.56 kB / 418.7 MB, free: 24.74 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 42 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002741/0.7302, allocations: 150.9 kB / 418.8 MB, free: 24.62 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002074/0.7304, allocations: 74.28 kB / 418.9 MB, free: 24.58 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003101/0.7307, allocations: 103.5 kB / 419 MB, free: 24.56 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.7308, allocations: 7.875 kB / 419 MB, free: 24.56 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.457e-05/0.7308, allocations: 0 / 419 MB, free: 24.56 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.669e-06/0.7308, allocations: 3.984 kB / 419 MB, free: 24.55 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00643/0.7373, allocations: 2.451 MB / 421.5 MB, free: 23.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/0.7373, allocations: 7.906 kB / 421.5 MB, free: 23.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007797/0.7381, allocations: 86.03 kB / 421.6 MB, free: 23.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001615/0.7398, allocations: 457.9 kB / 422 MB, free: 23.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001376/0.7399, allocations: 22.83 kB / 422 MB, free: 23.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01214/0.7521, allocations: 8.369 MB / 430.4 MB, free: 17.33 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.7521, allocations: 3.938 kB / 430.4 MB, free: 17.33 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003825/0.756, allocations: 1.813 MB / 432.2 MB, free: 16.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007191/0.7568, allocations: 234.6 kB / 432.5 MB, free: 16.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001787/0.757, allocations: 15.89 kB / 432.5 MB, free: 16.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007038/0.7577, allocations: 35.41 kB / 432.5 MB, free: 16.06 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003298/0.758, allocations: 75.64 kB / 432.6 MB, free: 16.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.213e-05/0.7581, allocations: 15.72 kB / 432.6 MB, free: 16.01 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009732/0.7591, allocations: 0.4924 MB / 433.1 MB, free: 15.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.72e-07/0.7591, allocations: 0 / 433.1 MB, free: 15.75 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001808/0.7609, allocations: 251 kB / 433.3 MB, free: 15.72 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 35 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.004332/0.7653, allocations: 2.516 MB / 435.9 MB, free: 13.99 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002998/0.7684, allocations: 1.386 MB / 437.2 MB, free: 13.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.7684, allocations: 0 / 437.2 MB, free: 13.07 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002157/0.7706, allocations: 1.025 MB / 438.3 MB, free: 12.31 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/0.7723, allocations: 198.2 kB / 438.5 MB, free: 12.21 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006031/0.7784, allocations: 2.101 MB / 440.6 MB, free: 10.97 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001154/0.7796, allocations: 1.238 MB / 441.8 MB, free: 9.992 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006328/0.7802, allocations: 313.7 kB / 442.1 MB, free: 9.719 MB / 330.7 MB Notification: Performance of SimCode: time 1.313e-06/0.7803, allocations: 0 / 442.1 MB, free: 9.719 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.501/4.282, allocations: 34.91 MB / 477 MB, free: 9.719 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.mat does not exist to compare? outputFormat=mat