Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.759/1.759, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 5.043e-05/5.062e-05, allocations: 4 kB / 225.1 MB, free: 2.684 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2593, allocations: 38.76 MB / 263.8 MB, free: 9.863 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1467/0.406, allocations: 80.64 MB / 344.5 MB, free: 9.098 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003234/0.4064, allocations: 83.95 kB / 344.6 MB, free: 9.016 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4739/0.8803, allocations: 64.16 MB / 408.7 MB, free: 63.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.8803, allocations: 0 / 408.7 MB, free: 63.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002542/0.8806, allocations: 67.94 kB / 408.8 MB, free: 63.89 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.008024/0.8887, allocations: 2.256 MB / 411 MB, free: 61.58 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.8887, allocations: 8.031 kB / 411 MB, free: 61.57 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001208/0.8899, allocations: 332.7 kB / 411.4 MB, free: 61.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001521/0.8915, allocations: 317 kB / 411.7 MB, free: 60.92 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004717/0.8962, allocations: 1.572 MB / 413.3 MB, free: 59.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001975/0.8965, allocations: 160.4 kB / 413.4 MB, free: 59.13 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008775/0.8974, allocations: 220 kB / 413.6 MB, free: 58.92 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008773/0.9062, allocations: 3.044 MB / 416.7 MB, free: 55.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.297e-05/0.9063, allocations: 0 / 416.7 MB, free: 55.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004055/0.9067, allocations: 91.98 kB / 416.8 MB, free: 55.64 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001474/0.9069, allocations: 116.4 kB / 416.9 MB, free: 55.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00734/0.9142, allocations: 2.462 MB / 419.3 MB, free: 53.04 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02342/0.9377, allocations: 8.913 MB / 428.2 MB, free: 43.96 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00463/0.9424, allocations: 3.318 MB / 431.6 MB, free: 40.33 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002966/0.9454, allocations: 1.308 MB / 432.9 MB, free: 39.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004779/0.9459, allocations: 138.4 kB / 433 MB, free: 38.86 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.9459, allocations: 51.81 kB / 433.1 MB, free: 38.8 MB / 314.7 MB Notification: Performance of pre-optimization done (n=128): time 3.888e-06/0.946, allocations: 0 / 433.1 MB, free: 38.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=132): time 0.01225/0.9582, allocations: 4.085 MB / 437.1 MB, free: 34.65 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.9583, allocations: 72.66 kB / 437.2 MB, free: 34.57 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002987/0.9613, allocations: 1.33 MB / 438.5 MB, free: 33.23 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003033/0.9617, allocations: 49.69 kB / 438.6 MB, free: 33.17 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006295/0.9623, allocations: 0.9069 MB / 439.5 MB, free: 32.25 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005512/0.9629, allocations: 441.6 kB / 439.9 MB, free: 31.82 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.963, allocations: 24 kB / 440 MB, free: 31.79 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.9631, allocations: 358.8 kB / 440.3 MB, free: 31.43 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001509/0.9646, allocations: 0.6623 MB / 441 MB, free: 30.77 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0017/0.9664, allocations: 0.8153 MB / 441.8 MB, free: 29.91 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001767/0.9682, allocations: 0.774 MB / 442.6 MB, free: 29.14 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.9682, allocations: 0 / 442.6 MB, free: 29.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.005305/0.9736, allocations: 2.124 MB / 444.7 MB, free: 26.99 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/0.9736, allocations: 4 kB / 444.7 MB, free: 26.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/0.9737, allocations: 4 kB / 444.7 MB, free: 26.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00292/0.9766, allocations: 0.702 MB / 445.4 MB, free: 26.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001671/0.9783, allocations: 203.7 kB / 445.6 MB, free: 26.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01525/0.9936, allocations: 10.48 MB / 456.1 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001776/0.9954, allocations: 51.97 kB / 456.1 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002798/0.9957, allocations: 43.98 kB / 456.2 MB, free: 14.96 MB / 314.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.0004235/0.9962, allocations: 182.3 kB / 456.3 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005589/0.9967, allocations: 162 kB / 456.5 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005193/1.002, allocations: 2.105 MB / 458.6 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.928e-05/1.002, allocations: 12 kB / 458.6 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/1.002, allocations: 4 kB / 458.6 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.981e-05/1.002, allocations: 3.984 kB / 458.6 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0124/1.014, allocations: 4.676 MB / 463.3 MB, free: 7.691 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.876e-05/1.015, allocations: 0 / 463.3 MB, free: 7.691 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001387/1.016, allocations: 160.1 kB / 463.5 MB, free: 7.535 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002838/1.019, allocations: 0.6905 MB / 464.1 MB, free: 6.832 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002744/1.019, allocations: 27.98 kB / 464.2 MB, free: 6.805 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01663/1.036, allocations: 10.37 MB / 474.5 MB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.036, allocations: 0 / 474.5 MB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008699/1.045, allocations: 3.183 MB / 477.7 MB, free: 8.641 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001591/1.046, allocations: 415.1 kB / 478.1 MB, free: 8.215 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005506/1.047, allocations: 28 kB / 478.2 MB, free: 8.188 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001815/1.049, allocations: 79.89 kB / 478.2 MB, free: 8.109 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005659/1.049, allocations: 113.1 kB / 478.3 MB, free: 8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001512/1.049, allocations: 39.98 kB / 478.4 MB, free: 7.961 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002776/1.052, allocations: 1.043 MB / 479.4 MB, free: 6.914 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.292e-06/1.052, allocations: 0 / 479.4 MB, free: 6.914 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00316/1.055, allocations: 0.5312 MB / 480 MB, free: 6.383 MB / 330.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.009486/1.065, allocations: 4.109 MB / 484.1 MB, free: 2.203 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.006163/1.071, allocations: 2.321 MB / 486.4 MB, free: 15.82 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/1.071, allocations: 4.125 kB / 486.4 MB, free: 15.82 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005525/1.077, allocations: 1.579 MB / 488 MB, free: 14.19 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005786/1.083, allocations: 482 kB / 488.4 MB, free: 13.72 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03401/1.117, allocations: 4.42 MB / 492.9 MB, free: 9.227 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004866/1.122, allocations: 2.026 MB / 494.9 MB, free: 7.168 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01059/1.132, allocations: 0.7883 MB / 495.7 MB, free: 6.379 MB / 346.7 MB Notification: Performance of SimCode: time 2.124e-06/1.132, allocations: 0 / 495.7 MB, free: 6.379 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.082/5.214, allocations: 84.87 MB / 0.5669 GB, free: 37.31 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat does not exist to compare? outputFormat=mat