Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.808/1.808, allocations: 171.2 MB / 183.8 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.807e-05/3.817e-05, allocations: 4 kB / 225.1 MB, free: 2.738 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2695, allocations: 38.77 MB / 263.9 MB, free: 9.766 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1676/0.4371, allocations: 82.25 MB / 346.1 MB, free: 7.383 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000365/0.4376, allocations: 83.95 kB / 346.2 MB, free: 7.301 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6893/1.127, allocations: 117.8 MB / 464 MB, free: 8.23 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.365e-06/1.127, allocations: 0 / 464 MB, free: 8.23 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004898/1.127, allocations: 111.8 kB / 464.1 MB, free: 8.121 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.0149/1.142, allocations: 3.816 MB / 467.9 MB, free: 4.242 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.153e-05/1.142, allocations: 16.03 kB / 467.9 MB, free: 4.227 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002483/1.145, allocations: 0.5555 MB / 468.4 MB, free: 3.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003462/1.148, allocations: 0.5528 MB / 469 MB, free: 3.102 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009247/1.158, allocations: 2.729 MB / 471.7 MB, free: 304 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003705/1.158, allocations: 292.2 kB / 472 MB, free: 12 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002066/1.16, allocations: 388 kB / 472.4 MB, free: 15.63 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02075/1.181, allocations: 5.527 MB / 477.9 MB, free: 9.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000184/1.181, allocations: 15.88 kB / 477.9 MB, free: 9.895 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001612/1.183, allocations: 168 kB / 478.1 MB, free: 9.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003613/1.183, allocations: 200 kB / 478.3 MB, free: 9.531 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01614/1.199, allocations: 4.49 MB / 482.8 MB, free: 5.031 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05204/1.252, allocations: 16.45 MB / 499.2 MB, free: 4.309 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2726/1.524, allocations: 6.685 MB / 0.4941 GB, free: 45.89 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007112/1.531, allocations: 2.62 MB / 0.4966 GB, free: 45.86 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006735/1.532, allocations: 149.8 kB / 0.4968 GB, free: 45.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.013e-05/1.532, allocations: 68.69 kB / 0.4968 GB, free: 45.73 MB / 346.7 MB Notification: Performance of pre-optimization done (n=249): time 5.65e-06/1.532, allocations: 0 / 0.4968 GB, free: 45.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=256): time 0.02527/1.558, allocations: 7.746 MB / 0.5044 GB, free: 44.83 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/1.558, allocations: 75.64 kB / 0.5045 GB, free: 44.76 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00643/1.564, allocations: 2.334 MB / 0.5067 GB, free: 44.54 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006174/1.565, allocations: 69.58 kB / 0.5068 GB, free: 44.51 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001518/1.566, allocations: 1.507 MB / 0.5083 GB, free: 43.98 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001374/1.568, allocations: 0.8389 MB / 0.5091 GB, free: 43.54 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003654/1.568, allocations: 50.41 kB / 0.5092 GB, free: 43.54 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002585/1.568, allocations: 410.1 kB / 0.5095 GB, free: 43.23 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004034/1.572, allocations: 1.276 MB / 0.5108 GB, free: 43.22 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005173/1.578, allocations: 1.565 MB / 0.5123 GB, free: 42.99 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004101/1.582, allocations: 1.512 MB / 0.5138 GB, free: 42.94 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-05/1.582, allocations: 7.156 kB / 0.5138 GB, free: 42.94 MB / 346.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.0121/1.594, allocations: 4.129 MB / 0.5178 GB, free: 42.66 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.578e-05/1.594, allocations: 11.41 kB / 0.5178 GB, free: 42.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.644e-05/1.594, allocations: 7.562 kB / 0.5179 GB, free: 42.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005891/1.6, allocations: 1.403 MB / 0.5192 GB, free: 42.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003165/1.603, allocations: 385.9 kB / 0.5196 GB, free: 42.58 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04052/1.644, allocations: 23.42 MB / 0.5425 GB, free: 29.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003496/1.647, allocations: 90.67 kB / 0.5425 GB, free: 29.03 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006674/1.648, allocations: 82.92 kB / 0.5426 GB, free: 29.01 MB / 346.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.000714/1.649, allocations: 234.7 kB / 0.5428 GB, free: 28.83 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001161/1.65, allocations: 299 kB / 0.5431 GB, free: 28.69 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0175/1.668, allocations: 4.085 MB / 0.5471 GB, free: 27.04 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.272e-05/1.668, allocations: 26.41 kB / 0.5471 GB, free: 27.04 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.63e-05/1.668, allocations: 7.156 kB / 0.5472 GB, free: 27.04 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.698e-05/1.668, allocations: 17.42 kB / 0.5472 GB, free: 27.04 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03205/1.7, allocations: 8.818 MB / 0.5558 GB, free: 23.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-05/1.7, allocations: 0 / 0.5558 GB, free: 23.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003339/1.703, allocations: 295.9 kB / 0.5561 GB, free: 23.65 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00779/1.711, allocations: 1.369 MB / 0.5574 GB, free: 23.24 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006521/1.712, allocations: 66.3 kB / 0.5575 GB, free: 23.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04458/1.757, allocations: 23.15 MB / 0.5801 GB, free: 5.535 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/1.757, allocations: 3.094 kB / 0.5801 GB, free: 5.535 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01766/1.774, allocations: 5.972 MB / 0.5859 GB, free: 3.047 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002675/1.777, allocations: 0.6888 MB / 0.5866 GB, free: 2.637 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00125/1.778, allocations: 69.05 kB / 0.5866 GB, free: 2.598 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003565/1.782, allocations: 123.4 kB / 0.5868 GB, free: 2.566 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001068/1.783, allocations: 213.3 kB / 0.587 GB, free: 2.539 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000434/1.784, allocations: 68.11 kB / 0.587 GB, free: 2.523 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004869/1.788, allocations: 1.82 MB / 0.5888 GB, free: 1.805 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.062e-06/1.788, allocations: 0 / 0.5888 GB, free: 1.805 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006469/1.795, allocations: 0.9776 MB / 0.5898 GB, free: 1.566 MB / 346.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.01844/1.813, allocations: 6.851 MB / 0.5965 GB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01454/1.828, allocations: 4.622 MB / 0.601 GB, free: 7.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-05/1.828, allocations: 0.625 kB / 0.601 GB, free: 7.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01161/1.84, allocations: 3.188 MB / 0.6041 GB, free: 4.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009782/1.85, allocations: 0.8916 MB / 0.605 GB, free: 3.645 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04559/1.895, allocations: 8.362 MB / 0.6131 GB, free: 13.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008158/1.903, allocations: 3.176 MB / 0.6162 GB, free: 10.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004357/1.908, allocations: 1.457 MB / 0.6176 GB, free: 9.402 MB / 378.7 MB Notification: Performance of SimCode: time 2.084e-06/1.908, allocations: 4 kB / 0.6176 GB, free: 9.398 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.738/7.646, allocations: 270.6 MB / 0.8819 GB, free: 45.39 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat does not exist to compare? outputFormat=mat