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.754/1.754, allocations: 171.2 MB / 178.8 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 3.085e-05/3.083e-05, allocations: 0 / 219.6 MB, free: 7.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3003, allocations: 38.77 MB / 258.3 MB, free: 12.05 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1396/0.44, allocations: 79.98 MB / 338.3 MB, free: 13.82 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/0.4403, allocations: 79.95 kB / 338.4 MB, free: 13.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4823/0.9226, allocations: 63.37 MB / 401.8 MB, free: 72.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.9226, allocations: 4 kB / 401.8 MB, free: 72.17 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000217/0.9229, allocations: 63.94 kB / 401.8 MB, free: 72.11 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.007721/0.9306, allocations: 2.26 MB / 404.1 MB, free: 69.8 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.9307, allocations: 8.031 kB / 404.1 MB, free: 69.79 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001646/0.9323, allocations: 316.7 kB / 404.4 MB, free: 69.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004381/0.9367, allocations: 1.568 MB / 406 MB, free: 67.88 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/0.9369, allocations: 75.95 kB / 406 MB, free: 67.8 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007171/0.9376, allocations: 128 kB / 406.2 MB, free: 67.68 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006311/0.9439, allocations: 2.32 MB / 408.5 MB, free: 65.35 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007944/0.9519, allocations: 2.723 MB / 411.2 MB, free: 62.49 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-05/0.952, allocations: 4 kB / 411.2 MB, free: 62.48 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002955/0.9523, allocations: 3.938 kB / 411.2 MB, free: 62.48 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001526/0.9525, allocations: 116.4 kB / 411.3 MB, free: 62.36 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02033/0.9728, allocations: 8.468 MB / 419.8 MB, free: 53.82 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003941/0.9768, allocations: 3.248 MB / 423 MB, free: 50.27 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002459/0.9793, allocations: 1.221 MB / 424.3 MB, free: 49.05 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004211/0.9798, allocations: 141.4 kB / 424.4 MB, free: 48.89 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.9798, allocations: 47.81 kB / 424.4 MB, free: 48.84 MB / 314.7 MB Notification: Performance of pre-optimization done (n=128): time 4.338e-06/0.9799, allocations: 3.984 kB / 424.5 MB, free: 48.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=132): time 0.009348/0.9892, allocations: 3.869 MB / 428.3 MB, free: 44.9 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.9893, allocations: 68.66 kB / 428.4 MB, free: 44.82 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002066/0.9914, allocations: 1.066 MB / 429.5 MB, free: 43.74 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001923/0.9916, allocations: 25.7 kB / 429.5 MB, free: 43.71 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005627/0.9921, allocations: 0.9222 MB / 430.4 MB, free: 42.78 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003932/0.9926, allocations: 421.6 kB / 430.8 MB, free: 42.36 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.398e-05/0.9927, allocations: 0 / 430.8 MB, free: 42.36 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.9928, allocations: 366.8 kB / 431.2 MB, free: 41.99 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001258/0.994, allocations: 0.6311 MB / 431.8 MB, free: 41.36 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/0.9954, allocations: 0.7893 MB / 432.6 MB, free: 40.53 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/0.9969, allocations: 0.7557 MB / 433.3 MB, free: 39.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.543e-06/0.9969, allocations: 4 kB / 433.4 MB, free: 39.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004403/1.001, allocations: 2.005 MB / 435.4 MB, free: 37.75 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/1.001, allocations: 12 kB / 435.4 MB, free: 37.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/1.001, allocations: 0 / 435.4 MB, free: 37.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002537/1.004, allocations: 0.694 MB / 436.1 MB, free: 37.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/1.006, allocations: 203.8 kB / 436.3 MB, free: 36.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01363/1.019, allocations: 10.12 MB / 446.4 MB, free: 26.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/1.021, allocations: 32.02 kB / 446.4 MB, free: 26.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002026/1.021, allocations: 44 kB / 446.5 MB, free: 26.17 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.0003221/1.021, allocations: 122.1 kB / 446.6 MB, free: 26.05 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004303/1.026, allocations: 1.872 MB / 448.4 MB, free: 24.15 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005489/1.026, allocations: 142.3 kB / 448.6 MB, free: 24.01 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004447/1.031, allocations: 1.971 MB / 450.6 MB, free: 22.02 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/1.031, allocations: 15.98 kB / 450.6 MB, free: 22 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/1.031, allocations: 4 kB / 450.6 MB, free: 22 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.216e-05/1.031, allocations: 11.92 kB / 450.6 MB, free: 21.98 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01006/1.041, allocations: 4.242 MB / 454.8 MB, free: 17.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/1.041, allocations: 0 / 454.8 MB, free: 17.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001275/1.042, allocations: 159.9 kB / 455 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002518/1.045, allocations: 0.6831 MB / 455.7 MB, free: 16.85 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001555/1.045, allocations: 11.94 kB / 455.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01349/1.059, allocations: 10.03 MB / 465.7 MB, free: 6.359 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/1.059, allocations: 4.031 kB / 465.7 MB, free: 6.355 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006064/1.065, allocations: 3 MB / 468.7 MB, free: 3.312 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001192/1.066, allocations: 387.2 kB / 469.1 MB, free: 2.914 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003899/1.066, allocations: 11.98 kB / 469.1 MB, free: 2.902 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/1.068, allocations: 51.94 kB / 469.2 MB, free: 2.852 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004415/1.068, allocations: 117.6 kB / 469.3 MB, free: 2.738 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/1.068, allocations: 32 kB / 469.3 MB, free: 2.707 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001616/1.07, allocations: 0.8175 MB / 470.1 MB, free: 1.883 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.07, allocations: 0 / 470.1 MB, free: 1.883 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002698/1.073, allocations: 487.9 kB / 470.6 MB, free: 1.406 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (78): * Single equations (assignments): 74 * 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.007497/1.08, allocations: 3.78 MB / 474.4 MB, free: 13.58 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005534/1.086, allocations: 2.234 MB / 476.6 MB, free: 11.3 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/1.086, allocations: 4.062 kB / 476.6 MB, free: 11.3 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003846/1.09, allocations: 1.511 MB / 478.1 MB, free: 9.754 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002962/1.093, allocations: 336.3 kB / 478.5 MB, free: 9.422 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01292/1.106, allocations: 4.245 MB / 482.7 MB, free: 5.109 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002885/1.108, allocations: 2.029 MB / 484.7 MB, free: 3.047 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001848/1.11, allocations: 0.7766 MB / 485.5 MB, free: 2.27 MB / 330.7 MB Notification: Performance of SimCode: time 1.643e-06/1.11, allocations: 0 / 485.5 MB, free: 2.27 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.736/4.847, allocations: 82.42 MB / 0.5546 GB, free: 55.11 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