Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.777/1.777, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.597e-05/3.612e-05, allocations: 7.984 kB / 225.1 MB, free: 2.258 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2592, allocations: 38.77 MB / 263.9 MB, free: 9.82 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1442/0.4034, allocations: 80.64 MB / 344.5 MB, free: 9.055 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003072/0.4038, allocations: 83.95 kB / 344.6 MB, free: 8.973 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4968/0.9006, allocations: 64.15 MB / 408.7 MB, free: 63.97 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.9006, allocations: 0 / 408.7 MB, free: 63.97 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002403/0.9009, allocations: 63.94 kB / 408.8 MB, free: 63.91 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.007867/0.9088, allocations: 2.264 MB / 411.1 MB, free: 61.59 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.9088, allocations: 8.031 kB / 411.1 MB, free: 61.58 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001117/0.91, allocations: 328.7 kB / 411.4 MB, free: 61.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001341/0.9113, allocations: 313 kB / 411.7 MB, free: 60.94 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004564/0.9159, allocations: 1.576 MB / 413.3 MB, free: 59.3 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001643/0.9161, allocations: 168.4 kB / 413.4 MB, free: 59.14 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000746/0.9169, allocations: 212 kB / 413.6 MB, free: 58.93 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008169/0.9251, allocations: 3.044 MB / 416.7 MB, free: 55.74 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.619e-05/0.9252, allocations: 0 / 416.7 MB, free: 55.74 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003678/0.9256, allocations: 95.98 kB / 416.8 MB, free: 55.64 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001475/0.9257, allocations: 112.4 kB / 416.9 MB, free: 55.53 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007167/0.9329, allocations: 2.458 MB / 419.3 MB, free: 53.06 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0225/0.9554, allocations: 8.917 MB / 428.3 MB, free: 43.97 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004443/0.9599, allocations: 3.33 MB / 431.6 MB, free: 40.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002726/0.9627, allocations: 1.304 MB / 432.9 MB, free: 39.03 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004074/0.9631, allocations: 138.4 kB / 433 MB, free: 38.87 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.9632, allocations: 43.88 kB / 433.1 MB, free: 38.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=128): time 3.968e-06/0.9632, allocations: 7.938 kB / 433.1 MB, free: 38.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=132): time 0.01003/0.9733, allocations: 4.085 MB / 437.2 MB, free: 34.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.9733, allocations: 72.66 kB / 437.2 MB, free: 34.58 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002674/0.976, allocations: 1.334 MB / 438.6 MB, free: 33.23 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002742/0.9763, allocations: 53.7 kB / 438.6 MB, free: 33.17 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006796/0.977, allocations: 0.937 MB / 439.6 MB, free: 32.22 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004437/0.9775, allocations: 441.6 kB / 440 MB, free: 31.79 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.9776, allocations: 24 kB / 440 MB, free: 31.76 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.9777, allocations: 361.9 kB / 440.4 MB, free: 31.4 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001401/0.9791, allocations: 0.6507 MB / 441 MB, free: 30.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001516/0.9807, allocations: 0.8115 MB / 441.8 MB, free: 29.89 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001593/0.9823, allocations: 0.7856 MB / 442.6 MB, free: 29.11 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.9823, allocations: 0 / 442.6 MB, free: 29.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.005186/0.9875, allocations: 2.224 MB / 444.8 MB, free: 26.86 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/0.9876, allocations: 13.34 kB / 444.9 MB, free: 26.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.9876, allocations: 4 kB / 444.9 MB, free: 26.85 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002697/0.9903, allocations: 0.6903 MB / 445.6 MB, free: 26.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/0.992, allocations: 207.7 kB / 445.8 MB, free: 25.94 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01465/1.007, allocations: 10.48 MB / 456.2 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001759/1.008, allocations: 47.97 kB / 456.3 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003093/1.009, allocations: 51.97 kB / 456.3 MB, free: 14.82 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.0003505/1.009, allocations: 169.4 kB / 456.5 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005468/1.01, allocations: 166.2 kB / 456.7 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004975/1.015, allocations: 2.109 MB / 458.8 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.529e-05/1.015, allocations: 12 kB / 458.8 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/1.015, allocations: 4 kB / 458.8 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.72e-05/1.015, allocations: 3.984 kB / 458.8 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01131/1.026, allocations: 4.664 MB / 463.5 MB, free: 7.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.467e-05/1.026, allocations: 4 kB / 463.5 MB, free: 7.566 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001333/1.028, allocations: 163.8 kB / 463.6 MB, free: 7.406 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002695/1.03, allocations: 0.6906 MB / 464.3 MB, free: 6.703 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001952/1.031, allocations: 35.98 kB / 464.3 MB, free: 6.668 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01606/1.047, allocations: 10.36 MB / 474.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.047, allocations: 0 / 474.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007967/1.055, allocations: 3.187 MB / 477.9 MB, free: 8.504 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001413/1.056, allocations: 415 kB / 478.3 MB, free: 8.078 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003597/1.056, allocations: 28 kB / 478.3 MB, free: 8.051 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001439/1.058, allocations: 79.98 kB / 478.4 MB, free: 7.973 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004165/1.058, allocations: 117.1 kB / 478.5 MB, free: 7.859 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000127/1.058, allocations: 36 kB / 478.6 MB, free: 7.824 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002381/1.061, allocations: 1.047 MB / 479.6 MB, free: 6.773 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.01e-07/1.061, allocations: 0 / 479.6 MB, free: 6.773 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002667/1.064, allocations: 0.5273 MB / 480.1 MB, free: 6.246 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.008412/1.072, allocations: 4.106 MB / 484.2 MB, free: 2.07 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005597/1.078, allocations: 2.313 MB / 486.5 MB, free: 15.7 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/1.078, allocations: 4 kB / 486.6 MB, free: 15.7 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003992/1.082, allocations: 1.584 MB / 488.1 MB, free: 14.07 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003814/1.086, allocations: 486.8 kB / 488.6 MB, free: 13.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01368/1.099, allocations: 4.457 MB / 493.1 MB, free: 9.062 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003117/1.102, allocations: 2.086 MB / 495.2 MB, free: 6.941 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00171/1.104, allocations: 309.3 kB / 495.5 MB, free: 6.633 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001766/1.106, allocations: 0.7805 MB / 496.2 MB, free: 5.852 MB / 346.7 MB Notification: Performance of SimCode: time 1.492e-06/1.106, allocations: 4 kB / 496.2 MB, free: 5.848 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3528/1.459, allocations: 47.45 MB / 0.5309 GB, free: 74.24 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/1.459, allocations: 203.6 kB / 0.5311 GB, free: 74.02 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.374/5.833, allocations: 0 / 0.5311 GB, free: 74.02 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat does not exist to compare? outputFormat=mat