Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.18/2.18, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.549e-05/3.565e-05, allocations: 0 / 269.5 MB, free: 6.297 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1035, allocations: 47.58 MB / 317 MB, free: 6.637 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.474/0.5776, allocations: 91.81 MB / 408.8 MB, free: 11.96 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/0.578, allocations: 84.95 kB / 408.9 MB, free: 11.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7969/1.375, allocations: 116.5 MB / 0.5131 GB, free: 69.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.575e-06/1.375, allocations: 2.125 kB / 0.5131 GB, free: 69.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005517/1.376, allocations: 111.8 kB / 0.5132 GB, free: 69.84 MB / 426.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.01728/1.393, allocations: 3.818 MB / 0.5169 GB, free: 68.77 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.913e-05/1.393, allocations: 9.688 kB / 0.5169 GB, free: 68.77 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00284/1.396, allocations: 0.5572 MB / 0.5175 GB, free: 68.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004614/1.4, allocations: 0.5492 MB / 0.518 GB, free: 68.46 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01099/1.412, allocations: 2.722 MB / 0.5207 GB, free: 67.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006118/1.412, allocations: 295.4 kB / 0.521 GB, free: 67.92 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00199/1.414, allocations: 385.1 kB / 0.5213 GB, free: 67.92 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02011/1.434, allocations: 5.53 MB / 0.5267 GB, free: 67.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002138/1.435, allocations: 4.156 kB / 0.5267 GB, free: 67.34 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001555/1.436, allocations: 166 kB / 0.5269 GB, free: 67.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003427/1.437, allocations: 207 kB / 0.5271 GB, free: 67.33 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01425/1.451, allocations: 4.493 MB / 0.5315 GB, free: 67.31 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0446/1.496, allocations: 16.44 MB / 0.5475 GB, free: 64.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008995/1.505, allocations: 6.698 MB / 0.5541 GB, free: 60.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007112/1.512, allocations: 2.617 MB / 0.5566 GB, free: 60.94 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007137/1.513, allocations: 145.2 kB / 0.5568 GB, free: 60.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.698e-05/1.513, allocations: 65.39 kB / 0.5568 GB, free: 60.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=249): time 8.536e-06/1.513, allocations: 3.609 kB / 0.5568 GB, free: 60.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=256): time 0.03129/1.544, allocations: 7.735 MB / 0.5644 GB, free: 59.51 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.694e-05/1.544, allocations: 84.81 kB / 0.5645 GB, free: 59.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008047/1.552, allocations: 2.334 MB / 0.5667 GB, free: 59.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006515/1.553, allocations: 73.27 kB / 0.5668 GB, free: 59.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002076/1.555, allocations: 1.634 MB / 0.5684 GB, free: 57.78 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001492/1.556, allocations: 0.8377 MB / 0.5692 GB, free: 57.13 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002615/1.557, allocations: 42.84 kB / 0.5693 GB, free: 57.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002166/1.557, allocations: 408.8 kB / 0.5697 GB, free: 56.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003233/1.56, allocations: 1.278 MB / 0.5709 GB, free: 56.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003618/1.564, allocations: 1.558 MB / 0.5724 GB, free: 55.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003765/1.568, allocations: 1.522 MB / 0.5739 GB, free: 54.94 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.615e-05/1.568, allocations: 0 / 0.5739 GB, free: 54.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.0122/1.58, allocations: 4.315 MB / 0.5781 GB, free: 53.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.312e-05/1.58, allocations: 7.625 kB / 0.5781 GB, free: 53.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.405e-05/1.58, allocations: 3.969 kB / 0.5781 GB, free: 53.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005789/1.586, allocations: 1.403 MB / 0.5795 GB, free: 52.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003174/1.589, allocations: 398.4 kB / 0.5799 GB, free: 52.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03293/1.622, allocations: 23.39 MB / 0.6027 GB, free: 35.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003728/1.626, allocations: 97.7 kB / 0.6028 GB, free: 34.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006763/1.627, allocations: 77.06 kB / 0.6029 GB, free: 34.98 MB / 426.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.0006717/1.627, allocations: 233.6 kB / 0.6031 GB, free: 34.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001075/1.628, allocations: 300.6 kB / 0.6034 GB, free: 34.64 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01044/1.639, allocations: 4.09 MB / 0.6074 GB, free: 32.99 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-05/1.639, allocations: 24.31 kB / 0.6074 GB, free: 32.99 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.678e-05/1.639, allocations: 7.219 kB / 0.6074 GB, free: 32.99 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.304e-05/1.639, allocations: 10.78 kB / 0.6074 GB, free: 32.99 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02244/1.662, allocations: 8.812 MB / 0.616 GB, free: 29.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-05/1.662, allocations: 0 / 0.616 GB, free: 29.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00243/1.664, allocations: 304.6 kB / 0.6163 GB, free: 29.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005429/1.67, allocations: 1.374 MB / 0.6177 GB, free: 29.19 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004061/1.67, allocations: 63.11 kB / 0.6177 GB, free: 29.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03322/1.703, allocations: 23.15 MB / 0.6403 GB, free: 9.688 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-06/1.703, allocations: 7.188 kB / 0.6403 GB, free: 9.688 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02071/1.724, allocations: 5.977 MB / 0.6462 GB, free: 4.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003651/1.728, allocations: 0.6786 MB / 0.6468 GB, free: 3.785 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001592/1.729, allocations: 63.75 kB / 0.6469 GB, free: 3.727 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004899/1.734, allocations: 129.1 kB / 0.647 GB, free: 3.625 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001316/1.736, allocations: 209.9 kB / 0.6472 GB, free: 3.504 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003719/1.736, allocations: 71.7 kB / 0.6473 GB, free: 3.438 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006553/1.743, allocations: 1.811 MB / 0.6491 GB, free: 1.805 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.625e-06/1.743, allocations: 0 / 0.6491 GB, free: 1.805 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008952/1.752, allocations: 0.9796 MB / 0.65 GB, free: 0.8281 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.02448/1.776, allocations: 7.085 MB / 0.6569 GB, free: 11.34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01205/1.788, allocations: 4.617 MB / 0.6615 GB, free: 7.098 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-05/1.789, allocations: 4.312 kB / 0.6615 GB, free: 7.094 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008344/1.797, allocations: 3.201 MB / 0.6646 GB, free: 4.098 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007566/1.804, allocations: 0.9005 MB / 0.6655 GB, free: 3.383 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3853/2.19, allocations: 8.263 MB / 0.6735 GB, free: 72.54 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00771/2.198, allocations: 3.249 MB / 0.6767 GB, free: 71.75 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003749/2.201, allocations: 0.5674 MB / 0.6773 GB, free: 71.73 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003746/2.205, allocations: 1.457 MB / 0.6787 GB, free: 71.73 MB / 442.7 MB Notification: Performance of SimCode: time 1.784e-06/2.205, allocations: 0 / 0.6787 GB, free: 71.73 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2076/2.413, allocations: 87.74 MB / 0.7644 GB, free: 51.5 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002409/2.413, allocations: 195.7 kB / 0.7646 GB, free: 51.28 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.055/8.469, allocations: 0 / 0.7646 GB, free: 51.28 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat does not exist to compare? outputFormat=mat