Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.937/1.937, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.405e-05/3.417e-05, allocations: 0 / 255.5 MB, free: 2.613 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09998/0.1001, allocations: 44.5 MB / 300 MB, free: 6.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4785/0.5786, allocations: 87.57 MB / 387.6 MB, free: 12.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/0.5789, allocations: 81.64 kB / 387.6 MB, free: 12.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4582/1.037, allocations: 117.6 MB / 0.4934 GB, free: 10.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.244e-06/1.037, allocations: 3.938 kB / 0.4934 GB, free: 10.33 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000552/1.038, allocations: 111.9 kB / 0.4935 GB, free: 10.22 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01585/1.054, allocations: 3.821 MB / 0.4973 GB, free: 6.352 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.976e-05/1.054, allocations: 12.03 kB / 0.4973 GB, free: 6.34 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002354/1.056, allocations: 0.5512 MB / 0.4978 GB, free: 5.781 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003232/1.059, allocations: 0.5605 MB / 0.4984 GB, free: 5.215 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009818/1.069, allocations: 2.717 MB / 0.501 GB, free: 2.465 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000454/1.07, allocations: 295.4 kB / 0.5013 GB, free: 2.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001778/1.072, allocations: 383.5 kB / 0.5017 GB, free: 1.809 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01935/1.091, allocations: 5.531 MB / 0.5071 GB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001488/1.091, allocations: 0 / 0.5071 GB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001252/1.092, allocations: 175.6 kB / 0.5072 GB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003561/1.093, allocations: 204 kB / 0.5074 GB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01576/1.109, allocations: 4.502 MB / 0.5118 GB, free: 7.207 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3499/1.458, allocations: 16.43 MB / 0.5279 GB, free: 54.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00998/1.469, allocations: 6.69 MB / 0.5344 GB, free: 50.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006091/1.475, allocations: 2.614 MB / 0.537 GB, free: 50.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005012/1.475, allocations: 155.4 kB / 0.5371 GB, free: 50.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.146e-05/1.475, allocations: 60.25 kB / 0.5372 GB, free: 50.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=249): time 5.32e-06/1.475, allocations: 0 / 0.5372 GB, free: 50.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=256): time 0.02026/1.496, allocations: 7.741 MB / 0.5447 GB, free: 49.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/1.496, allocations: 79.33 kB / 0.5448 GB, free: 49.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004939/1.501, allocations: 2.327 MB / 0.5471 GB, free: 49.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005539/1.501, allocations: 68.52 kB / 0.5471 GB, free: 49.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001331/1.503, allocations: 1.639 MB / 0.5487 GB, free: 48.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001062/1.504, allocations: 0.8355 MB / 0.5496 GB, free: 48.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002148/1.504, allocations: 49.94 kB / 0.5496 GB, free: 48.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001642/1.504, allocations: 404.2 kB / 0.55 GB, free: 47.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002801/1.507, allocations: 1.282 MB / 0.5512 GB, free: 47.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003042/1.51, allocations: 1.556 MB / 0.5528 GB, free: 47.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003206/1.513, allocations: 1.521 MB / 0.5542 GB, free: 47.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/1.513, allocations: 3.125 kB / 0.5543 GB, free: 47.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01078/1.524, allocations: 4.308 MB / 0.5585 GB, free: 47.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.595e-05/1.524, allocations: 7.125 kB / 0.5585 GB, free: 47.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.48e-05/1.524, allocations: 7.125 kB / 0.5585 GB, free: 47.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005422/1.53, allocations: 1.402 MB / 0.5598 GB, free: 47.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002997/1.533, allocations: 389.1 kB / 0.5602 GB, free: 47.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03058/1.563, allocations: 23.41 MB / 0.5831 GB, free: 33.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00346/1.567, allocations: 99.61 kB / 0.5832 GB, free: 33.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006844/1.567, allocations: 76.81 kB / 0.5832 GB, free: 33.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 186 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9,(2,100.0%) 29} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0006553/1.568, allocations: 236.3 kB / 0.5835 GB, free: 33.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001024/1.569, allocations: 300 kB / 0.5838 GB, free: 33.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01033/1.579, allocations: 4.079 MB / 0.5877 GB, free: 32.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.043e-05/1.58, allocations: 31.77 kB / 0.5878 GB, free: 32.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.785e-05/1.58, allocations: 9 kB / 0.5878 GB, free: 32.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-05/1.58, allocations: 17.03 kB / 0.5878 GB, free: 32.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02262/1.602, allocations: 8.814 MB / 0.5964 GB, free: 29.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.005e-05/1.602, allocations: 2.781 kB / 0.5964 GB, free: 29.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002364/1.605, allocations: 297.8 kB / 0.5967 GB, free: 29.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005326/1.61, allocations: 1.372 MB / 0.598 GB, free: 29.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003818/1.61, allocations: 65.23 kB / 0.5981 GB, free: 29.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03136/1.642, allocations: 23.14 MB / 0.6207 GB, free: 27.46 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.642, allocations: 0 / 0.6207 GB, free: 27.46 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01357/1.655, allocations: 5.983 MB / 0.6265 GB, free: 24.98 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002494/1.658, allocations: 0.6823 MB / 0.6272 GB, free: 24.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008487/1.659, allocations: 59.81 kB / 0.6273 GB, free: 24.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002878/1.662, allocations: 135.3 kB / 0.6274 GB, free: 24.49 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007691/1.663, allocations: 212.9 kB / 0.6276 GB, free: 24.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002433/1.663, allocations: 68.98 kB / 0.6276 GB, free: 24.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00427/1.667, allocations: 1.815 MB / 0.6294 GB, free: 23.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.51e-07/1.667, allocations: 0 / 0.6294 GB, free: 23.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005755/1.673, allocations: 0.9702 MB / 0.6304 GB, free: 23.64 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 29,(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01462/1.688, allocations: 6.839 MB / 0.637 GB, free: 20.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01002/1.698, allocations: 4.624 MB / 0.6416 GB, free: 18.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/1.698, allocations: 4 kB / 0.6416 GB, free: 18.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007063/1.705, allocations: 3.203 MB / 0.6447 GB, free: 16.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006552/1.711, allocations: 0.8905 MB / 0.6456 GB, free: 16.03 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02249/1.734, allocations: 8.275 MB / 0.6536 GB, free: 10.91 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005109/1.739, allocations: 3.245 MB / 0.6568 GB, free: 8.422 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003327/1.742, allocations: 0.5698 MB / 0.6574 GB, free: 8.02 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003549/1.746, allocations: 1.457 MB / 0.6588 GB, free: 6.668 MB / 426.7 MB Notification: Performance of SimCode: time 1.403e-06/1.746, allocations: 0 / 0.6588 GB, free: 6.668 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5148/2.261, allocations: 87.72 MB / 0.7445 GB, free: 59.46 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000237/2.261, allocations: 203.7 kB / 0.7447 GB, free: 59.23 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.049/8.31, allocations: 0 / 0.7447 GB, free: 59.23 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat does not exist to compare? outputFormat=mat