Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.038/2.038, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.7e-05/3.717e-05, allocations: 8 kB / 255.5 MB, free: 3.09 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1572, allocations: 44.5 MB / 300 MB, free: 6.52 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.524/0.6814, allocations: 85.98 MB / 385.9 MB, free: 12.48 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003051/0.6817, allocations: 80.17 kB / 386 MB, free: 12.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2619/0.9437, allocations: 64.01 MB / 450 MB, free: 15.59 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.9437, allocations: 4 kB / 450 MB, free: 15.59 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003294/0.9441, allocations: 59.94 kB / 450.1 MB, free: 15.53 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.009999/0.9541, allocations: 2.263 MB / 452.4 MB, free: 13.22 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.419e-05/0.9542, allocations: 8.031 kB / 452.4 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001557/0.9558, allocations: 328.5 kB / 452.7 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002124/0.9579, allocations: 316.6 kB / 453 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005857/0.9638, allocations: 1.564 MB / 454.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000257/0.9642, allocations: 164.4 kB / 454.7 MB, free: 10.81 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001069/0.9652, allocations: 211.2 kB / 454.9 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01145/0.9767, allocations: 3.019 MB / 457.9 MB, free: 7.453 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.83e-05/0.9769, allocations: 0 / 457.9 MB, free: 7.453 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008014/0.9777, allocations: 99.83 kB / 458 MB, free: 7.359 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000265/0.978, allocations: 112.4 kB / 458.2 MB, free: 7.246 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008853/0.9869, allocations: 2.437 MB / 460.6 MB, free: 4.801 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02878/1.016, allocations: 8.917 MB / 469.5 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006217/1.022, allocations: 3.29 MB / 472.8 MB, free: 8.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003698/1.026, allocations: 1.308 MB / 474.1 MB, free: 6.879 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000555/1.026, allocations: 138.2 kB / 474.2 MB, free: 6.727 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.496e-05/1.026, allocations: 51.81 kB / 474.3 MB, free: 6.668 MB / 362.7 MB Notification: Performance of pre-optimization done (n=128): time 4.588e-06/1.026, allocations: 0 / 474.3 MB, free: 6.668 MB / 362.7 MB Notification: Performance of matching and sorting (n=132): time 0.0137/1.04, allocations: 4.093 MB / 478.4 MB, free: 2.508 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.569e-05/1.04, allocations: 64.72 kB / 478.4 MB, free: 2.434 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003693/1.044, allocations: 1.322 MB / 479.8 MB, free: 1.098 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000352/1.044, allocations: 45.7 kB / 479.8 MB, free: 1.047 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001003/1.045, allocations: 0.9026 MB / 480.7 MB, free: 140 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008751/1.046, allocations: 444.5 kB / 481.2 MB, free: 15.71 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/1.047, allocations: 24 kB / 481.2 MB, free: 15.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002088/1.047, allocations: 362.8 kB / 481.5 MB, free: 15.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001865/1.049, allocations: 0.6546 MB / 482.2 MB, free: 14.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002298/1.051, allocations: 0.805 MB / 483 MB, free: 13.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002233/1.053, allocations: 0.7778 MB / 483.8 MB, free: 13.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/1.053, allocations: 0 / 483.8 MB, free: 13.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.00678/1.06, allocations: 2.116 MB / 485.9 MB, free: 10.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.796e-05/1.06, allocations: 8 kB / 485.9 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/1.06, allocations: 4 kB / 485.9 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003283/1.064, allocations: 0.7019 MB / 486.6 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001835/1.065, allocations: 195.8 kB / 486.8 MB, free: 9.984 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01997/1.085, allocations: 10.49 MB / 497.3 MB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002034/1.088, allocations: 51.97 kB / 497.3 MB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003899/1.088, allocations: 43.95 kB / 497.4 MB, free: 14.87 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 99 * 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 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004389/1.088, allocations: 188 kB / 497.6 MB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007002/1.089, allocations: 158.1 kB / 497.7 MB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006426/1.096, allocations: 2.102 MB / 499.8 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-05/1.096, allocations: 16 kB / 499.8 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/1.096, allocations: 4 kB / 499.8 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.708e-05/1.096, allocations: 7.969 kB / 499.8 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01492/1.111, allocations: 4.671 MB / 0.4927 GB, free: 7.621 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-05/1.111, allocations: 0 / 0.4927 GB, free: 7.621 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001513/1.112, allocations: 159.8 kB / 0.4928 GB, free: 7.465 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003223/1.116, allocations: 0.6864 MB / 0.4935 GB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002872/1.116, allocations: 31.95 kB / 0.4935 GB, free: 6.734 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01891/1.135, allocations: 10.37 MB / 0.5037 GB, free: 11.85 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.135, allocations: 32 / 0.5037 GB, free: 11.85 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008761/1.144, allocations: 3.175 MB / 0.5068 GB, free: 8.598 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001679/1.145, allocations: 411.2 kB / 0.5072 GB, free: 8.176 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006736/1.146, allocations: 28 kB / 0.5072 GB, free: 8.148 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001994/1.148, allocations: 79.92 kB / 0.5073 GB, free: 8.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006093/1.149, allocations: 109.1 kB / 0.5074 GB, free: 7.965 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001643/1.149, allocations: 36 kB / 0.5074 GB, free: 7.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003014/1.152, allocations: 1.039 MB / 0.5084 GB, free: 6.887 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.012e-06/1.152, allocations: 4 kB / 0.5084 GB, free: 6.883 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003638/1.156, allocations: 0.5234 MB / 0.5089 GB, free: 6.359 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * 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 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01059/1.166, allocations: 4.105 MB / 0.5129 GB, free: 2.199 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.3102/1.477, allocations: 2.258 MB / 0.5151 GB, free: 99.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/1.477, allocations: 3.188 kB / 0.5151 GB, free: 99.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004423/1.481, allocations: 1.542 MB / 0.5166 GB, free: 99.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004491/1.486, allocations: 483 kB / 0.5171 GB, free: 99.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01551/1.501, allocations: 4.387 MB / 0.5214 GB, free: 98.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00417/1.506, allocations: 2.028 MB / 0.5234 GB, free: 97.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002304/1.508, allocations: 0.7854 MB / 0.5241 GB, free: 97.64 MB / 410.7 MB Notification: Performance of SimCode: time 1.914e-06/1.508, allocations: 3.656 kB / 0.5241 GB, free: 97.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.053/5.561, allocations: 84.65 MB / 0.6068 GB, free: 57.14 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat does not exist to compare? outputFormat=mat