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 2.135/2.135, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.675e-05/2.685e-05, allocations: 8 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3491, allocations: 44.5 MB / 294.2 MB, free: 14.29 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1554/0.5046, allocations: 86.91 MB / 381.1 MB, free: 10.9 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003129/0.5049, allocations: 87.89 kB / 381.2 MB, free: 10.81 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7384/1.243, allocations: 116.2 MB / 497.4 MB, free: 50.85 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.625e-06/1.243, allocations: 0 / 497.4 MB, free: 50.85 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0005197/1.244, allocations: 119.8 kB / 497.5 MB, free: 50.73 MB / 362.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.01487/1.259, allocations: 3.82 MB / 0.4896 GB, free: 46.85 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/1.259, allocations: 12.03 kB / 0.4896 GB, free: 46.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003273/1.262, allocations: 0.549 MB / 0.4901 GB, free: 46.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008632/1.271, allocations: 2.722 MB / 0.4928 GB, free: 43.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002329/1.271, allocations: 128 kB / 0.4929 GB, free: 43.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00159/1.273, allocations: 228 kB / 0.4931 GB, free: 43.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0126/1.285, allocations: 4.284 MB / 0.4973 GB, free: 38.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01632/1.302, allocations: 5 MB / 0.5022 GB, free: 33.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001179/1.302, allocations: 0 / 0.5022 GB, free: 33.65 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008795/1.303, allocations: 4 kB / 0.5022 GB, free: 33.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002658/1.303, allocations: 208 kB / 0.5024 GB, free: 33.44 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04214/1.345, allocations: 15.64 MB / 0.5177 GB, free: 17.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008649/1.354, allocations: 6.61 MB / 0.5241 GB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008228/1.362, allocations: 2.411 MB / 0.5265 GB, free: 7.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000901/1.363, allocations: 159 kB / 0.5266 GB, free: 7.809 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.444e-05/1.363, allocations: 56.56 kB / 0.5267 GB, free: 7.742 MB / 362.7 MB Notification: Performance of pre-optimization done (n=249): time 7.885e-06/1.363, allocations: 0 / 0.5267 GB, free: 7.742 MB / 362.7 MB Notification: Performance of matching and sorting (n=256): time 0.02887/1.392, allocations: 7.285 MB / 0.5338 GB, free: 352 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/1.392, allocations: 85.3 kB / 0.5339 GB, free: 252 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004836/1.397, allocations: 1.815 MB / 0.5356 GB, free: 14.4 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005739/1.398, allocations: 25.7 kB / 0.5357 GB, free: 14.37 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001937/1.4, allocations: 1.657 MB / 0.5373 GB, free: 12.69 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001382/1.401, allocations: 0.8043 MB / 0.5381 GB, free: 11.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001942/1.401, allocations: 0 / 0.5381 GB, free: 11.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002805/1.402, allocations: 406.7 kB / 0.5385 GB, free: 11.47 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003012/1.405, allocations: 1.238 MB / 0.5397 GB, free: 10.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00339/1.408, allocations: 1.511 MB / 0.5411 GB, free: 8.633 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003822/1.412, allocations: 1.471 MB / 0.5426 GB, free: 7.141 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-05/1.412, allocations: 7.984 kB / 0.5426 GB, free: 7.133 MB / 378.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01284/1.425, allocations: 4.051 MB / 0.5465 GB, free: 2.996 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/1.425, allocations: 4 kB / 0.5466 GB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.663e-05/1.425, allocations: 8 kB / 0.5466 GB, free: 2.984 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005974/1.431, allocations: 1.378 MB / 0.5479 GB, free: 1.574 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003279/1.434, allocations: 391.5 kB / 0.5483 GB, free: 1.191 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.374/1.808, allocations: 22.55 MB / 0.5703 GB, free: 75.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003154/1.812, allocations: 54.17 kB / 0.5703 GB, free: 75.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007385/1.812, allocations: 80.31 kB / 0.5704 GB, free: 75.16 MB / 394.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.0006247/1.813, allocations: 148.4 kB / 0.5706 GB, free: 75.05 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01099/1.824, allocations: 3.603 MB / 0.5741 GB, free: 74.85 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001362/1.825, allocations: 269.3 kB / 0.5743 GB, free: 74.85 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01092/1.836, allocations: 3.797 MB / 0.578 GB, free: 74.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.228e-05/1.836, allocations: 30.17 kB / 0.5781 GB, free: 74.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.554e-05/1.836, allocations: 10.12 kB / 0.5781 GB, free: 74.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.443e-05/1.837, allocations: 10.88 kB / 0.5781 GB, free: 74.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02091/1.857, allocations: 8.043 MB / 0.586 GB, free: 74.01 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.173e-05/1.858, allocations: 3.812 kB / 0.586 GB, free: 74.01 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002522/1.86, allocations: 294.5 kB / 0.5862 GB, free: 74.01 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00532/1.865, allocations: 1.348 MB / 0.5876 GB, free: 73.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004614/1.866, allocations: 28.56 kB / 0.5876 GB, free: 73.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02901/1.895, allocations: 22.39 MB / 0.6094 GB, free: 61.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/1.895, allocations: 3.812 kB / 0.6095 GB, free: 61.25 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01301/1.908, allocations: 5.713 MB / 0.615 GB, free: 59.53 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002421/1.911, allocations: 0.6363 MB / 0.6157 GB, free: 59.15 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000889/1.911, allocations: 13.53 kB / 0.6157 GB, free: 59.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002775/1.914, allocations: 92.73 kB / 0.6158 GB, free: 59.14 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001035/1.915, allocations: 206.3 kB / 0.616 GB, free: 59.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002724/1.916, allocations: 72.11 kB / 0.616 GB, free: 59.1 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003197/1.919, allocations: 1.385 MB / 0.6174 GB, free: 58.52 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.072e-06/1.919, allocations: 3.5 kB / 0.6174 GB, free: 58.52 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006101/1.925, allocations: 0.8629 MB / 0.6182 GB, free: 58.51 MB / 394.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.01414/1.939, allocations: 6.54 MB / 0.6246 GB, free: 55.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009956/1.949, allocations: 4.555 MB / 0.6291 GB, free: 53.13 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/1.949, allocations: 0 / 0.6291 GB, free: 53.13 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007051/1.956, allocations: 3.138 MB / 0.6321 GB, free: 51.29 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005424/1.962, allocations: 0.6201 MB / 0.6327 GB, free: 51.15 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02394/1.986, allocations: 7.997 MB / 0.6405 GB, free: 48.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005351/1.991, allocations: 3.243 MB / 0.6437 GB, free: 47.07 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002684/1.994, allocations: 0.5119 MB / 0.6442 GB, free: 46.71 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002931/1.997, allocations: 1.44 MB / 0.6456 GB, free: 45.38 MB / 394.7 MB Notification: Performance of SimCode: time 1.212e-06/1.997, allocations: 0 / 0.6456 GB, free: 45.38 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4861/2.483, allocations: 73.73 MB / 0.7176 GB, free: 75.54 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002382/2.483, allocations: 159.5 kB / 0.7178 GB, free: 75.35 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.726/8.209, allocations: 5.953 kB / 0.7178 GB, free: 75.35 MB / 410.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