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.837/1.837, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.135e-05/4.161e-05, allocations: 4 kB / 225.1 MB, free: 2.238 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3101, allocations: 38.77 MB / 263.9 MB, free: 9.703 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1443/0.4544, allocations: 80.65 MB / 344.5 MB, free: 8.914 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003231/0.4548, allocations: 83.95 kB / 344.6 MB, free: 8.832 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.537/0.9918, allocations: 64.16 MB / 408.8 MB, free: 49 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.9918, allocations: 0 / 408.8 MB, free: 49 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002449/0.9921, allocations: 63.94 kB / 408.8 MB, free: 48.93 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.007288/0.9994, allocations: 2.277 MB / 411.1 MB, free: 46.76 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.9995, allocations: 8.031 kB / 411.1 MB, free: 46.75 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009999/1, allocations: 328.5 kB / 411.4 MB, free: 46.56 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/1.002, allocations: 313 kB / 411.7 MB, free: 46.25 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004285/1.006, allocations: 1.567 MB / 413.3 MB, free: 45.06 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/1.006, allocations: 163.3 kB / 413.5 MB, free: 44.96 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004912/1.007, allocations: 218 kB / 413.7 MB, free: 44.82 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00898/1.016, allocations: 3.019 MB / 416.7 MB, free: 42.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.543e-05/1.016, allocations: 7.938 kB / 416.7 MB, free: 42.74 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005768/1.016, allocations: 90.31 kB / 416.8 MB, free: 42.72 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001585/1.017, allocations: 110.4 kB / 416.9 MB, free: 42.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007389/1.024, allocations: 2.423 MB / 419.3 MB, free: 41.13 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0241/1.048, allocations: 8.916 MB / 428.2 MB, free: 33.7 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004577/1.053, allocations: 3.302 MB / 431.5 MB, free: 30.09 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002841/1.056, allocations: 1.302 MB / 432.8 MB, free: 28.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004282/1.056, allocations: 146.4 kB / 433 MB, free: 28.62 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/1.056, allocations: 43.88 kB / 433 MB, free: 28.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=128): time 3.807e-06/1.056, allocations: 0 / 433 MB, free: 28.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=132): time 0.01073/1.067, allocations: 4.088 MB / 437.1 MB, free: 24.42 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/1.067, allocations: 64.72 kB / 437.2 MB, free: 24.35 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002813/1.07, allocations: 1.342 MB / 438.5 MB, free: 22.99 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003053/1.07, allocations: 45.7 kB / 438.6 MB, free: 22.94 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007173/1.071, allocations: 0.9436 MB / 439.5 MB, free: 21.99 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005323/1.072, allocations: 442.9 kB / 439.9 MB, free: 21.56 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/1.072, allocations: 24 kB / 440 MB, free: 21.54 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/1.072, allocations: 353.9 kB / 440.3 MB, free: 21.18 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001472/1.073, allocations: 0.6546 MB / 441 MB, free: 20.53 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001532/1.075, allocations: 0.8089 MB / 441.8 MB, free: 19.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001646/1.077, allocations: 0.7701 MB / 442.5 MB, free: 18.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/1.077, allocations: 4 kB / 442.5 MB, free: 18.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.005372/1.082, allocations: 2.223 MB / 444.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/1.082, allocations: 4 kB / 444.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/1.082, allocations: 8 kB / 444.8 MB, free: 16.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00279/1.085, allocations: 0.702 MB / 445.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001635/1.087, allocations: 203.7 kB / 445.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01492/1.101, allocations: 10.49 MB / 456.2 MB, free: 4.719 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/1.103, allocations: 52.03 kB / 456.2 MB, free: 4.668 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001845/1.104, allocations: 40 kB / 456.3 MB, free: 4.629 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.0003418/1.104, allocations: 182.6 kB / 456.4 MB, free: 4.445 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005262/1.104, allocations: 162.1 kB / 456.6 MB, free: 4.285 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004932/1.109, allocations: 2.098 MB / 458.7 MB, free: 2.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/1.109, allocations: 16 kB / 458.7 MB, free: 2.145 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.527e-06/1.109, allocations: 8 kB / 458.7 MB, free: 2.137 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.765e-05/1.109, allocations: 11.95 kB / 458.7 MB, free: 2.125 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01239/1.122, allocations: 4.668 MB / 463.4 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.757e-05/1.122, allocations: 0 / 463.4 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001452/1.123, allocations: 163.9 kB / 463.6 MB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003106/1.127, allocations: 0.6867 MB / 464.2 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002507/1.127, allocations: 39.92 kB / 464.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02451/1.151, allocations: 10.35 MB / 474.6 MB, free: 1.605 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.128e-06/1.151, allocations: 4.594 kB / 474.6 MB, free: 1.602 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01078/1.162, allocations: 3.178 MB / 477.8 MB, free: 14.35 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001447/1.164, allocations: 419.1 kB / 478.2 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003909/1.164, allocations: 28 kB / 478.3 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/1.166, allocations: 75.89 kB / 478.3 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004138/1.166, allocations: 117.1 kB / 478.4 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/1.166, allocations: 43.94 kB / 478.5 MB, free: 13.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002557/1.169, allocations: 1.039 MB / 479.5 MB, free: 12.62 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.31e-07/1.169, allocations: 0 / 479.5 MB, free: 12.62 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00305/1.172, allocations: 0.5234 MB / 480.1 MB, free: 12.09 MB / 346.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.008745/1.181, allocations: 4.128 MB / 484.2 MB, free: 7.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005811/1.186, allocations: 2.266 MB / 486.4 MB, free: 5.602 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/1.187, allocations: 0 / 486.4 MB, free: 5.602 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003757/1.19, allocations: 1.543 MB / 488 MB, free: 4.023 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003792/1.194, allocations: 480.4 kB / 488.5 MB, free: 3.555 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01471/1.209, allocations: 4.443 MB / 492.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003853/1.213, allocations: 2.09 MB / 495 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001984/1.215, allocations: 305.3 kB / 495.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002174/1.217, allocations: 0.7805 MB / 496.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of SimCode: time 1.633e-06/1.217, allocations: 4 kB / 496.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4023/1.619, allocations: 47.14 MB / 0.5305 GB, free: 91.57 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002144/1.62, allocations: 198.3 kB / 0.5307 GB, free: 91.34 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.35/5.969, allocations: 4.062 kB / 0.5307 GB, free: 91.34 MB / 362.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