Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_MultiPhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.772/1.772, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.42e-05/3.435e-05, allocations: 4 kB / 225.1 MB, free: 2.254 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3048, allocations: 38.77 MB / 263.9 MB, free: 9.816 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1302/0.4351, allocations: 70.88 MB / 334.7 MB, free: 2.832 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003828/0.4355, allocations: 71.95 kB / 334.8 MB, free: 2.762 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1005/0.536, allocations: 16.03 MB / 350.8 MB, free: 2.617 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5361, allocations: 7.938 kB / 350.8 MB, free: 2.609 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.467e-05/0.5362, allocations: 27.94 kB / 350.9 MB, free: 2.582 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.003464/0.5397, allocations: 1.165 MB / 352 MB, free: 1.371 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.5397, allocations: 8.031 kB / 352 MB, free: 1.363 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002982/0.54, allocations: 143.4 kB / 352.2 MB, free: 1.215 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003491/0.5404, allocations: 118.6 kB / 352.3 MB, free: 1.098 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/0.5423, allocations: 0.7129 MB / 353 MB, free: 352 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.084e-05/0.5424, allocations: 69.95 kB / 353.1 MB, free: 284 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002323/0.5426, allocations: 87.91 kB / 353.2 MB, free: 196 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003027/0.5457, allocations: 1.182 MB / 354.3 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.243e-05/0.5457, allocations: 0 / 354.3 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001446/0.5459, allocations: 44 kB / 354.4 MB, free: 14.92 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.794e-05/0.5459, allocations: 23.94 kB / 354.4 MB, free: 14.89 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003611/0.5496, allocations: 1.007 MB / 355.4 MB, free: 13.89 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01347/0.5631, allocations: 3.775 MB / 359.2 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003908/0.567, allocations: 1.948 MB / 361.1 MB, free: 7.848 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00204/0.5691, allocations: 0.6226 MB / 361.8 MB, free: 7.227 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.384e-05/0.5692, allocations: 4.781 kB / 361.8 MB, free: 7.219 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.823e-05/0.5693, allocations: 47.3 kB / 361.8 MB, free: 7.164 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 4.959e-06/0.5693, allocations: 0 / 361.8 MB, free: 7.164 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.007862/0.5772, allocations: 2.211 MB / 364 MB, free: 4.887 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/0.5773, allocations: 60.12 kB / 364.1 MB, free: 4.812 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001814/0.5791, allocations: 0.6282 MB / 364.7 MB, free: 4.18 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001255/0.5793, allocations: 41.7 kB / 364.7 MB, free: 4.133 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005276/0.5798, allocations: 400.2 kB / 365.1 MB, free: 3.734 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000378/0.5802, allocations: 244.5 kB / 365.4 MB, free: 3.492 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.719e-05/0.5803, allocations: 16 kB / 365.4 MB, free: 3.477 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002933/0.5807, allocations: 378.8 kB / 365.8 MB, free: 3.098 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/0.5818, allocations: 345.4 kB / 366.1 MB, free: 2.762 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001249/0.5831, allocations: 399 kB / 366.5 MB, free: 2.363 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/0.5844, allocations: 373.9 kB / 366.9 MB, free: 2 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.5844, allocations: 0 / 366.9 MB, free: 2 MB / 314.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.004256/0.5887, allocations: 1.162 MB / 368 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.375e-05/0.5888, allocations: 8 kB / 368 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.5888, allocations: 0 / 368 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002418/0.5912, allocations: 466.9 kB / 368.5 MB, free: 348 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.5923, allocations: 87.88 kB / 368.6 MB, free: 260 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2366/0.8289, allocations: 8.453 MB / 377 MB, free: 82.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007923/0.8297, allocations: 40.77 kB / 377.1 MB, free: 82.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.56e-05/0.8298, allocations: 22.53 kB / 377.1 MB, free: 82.26 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 42 * 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 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001991/0.83, allocations: 130.6 kB / 377.2 MB, free: 82.15 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000157/0.8302, allocations: 79.83 kB / 377.3 MB, free: 82.15 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002841/0.8305, allocations: 110.9 kB / 377.4 MB, free: 82.14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.268e-06/0.8305, allocations: 7.125 kB / 377.4 MB, free: 82.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/0.8305, allocations: 7.562 kB / 377.4 MB, free: 82.14 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/0.8306, allocations: 3.516 kB / 377.4 MB, free: 82.14 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005868/0.8364, allocations: 2.458 MB / 379.9 MB, free: 81.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.8365, allocations: 0 / 379.9 MB, free: 81.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006971/0.8372, allocations: 79.55 kB / 379.9 MB, free: 81.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001554/0.8388, allocations: 451.2 kB / 380.4 MB, free: 81.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/0.8389, allocations: 18.2 kB / 380.4 MB, free: 81.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01053/0.8495, allocations: 8.373 MB / 388.8 MB, free: 75.15 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.8495, allocations: 7.281 kB / 388.8 MB, free: 75.15 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003761/0.8533, allocations: 1.808 MB / 390.6 MB, free: 74.36 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006439/0.854, allocations: 242.3 kB / 390.8 MB, free: 74.19 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001583/0.8541, allocations: 19.5 kB / 390.9 MB, free: 74.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006603/0.8548, allocations: 39.8 kB / 390.9 MB, free: 74.17 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002789/0.8551, allocations: 70.33 kB / 391 MB, free: 74.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.856e-05/0.8552, allocations: 21.75 kB / 391 MB, free: 74.15 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00087/0.8561, allocations: 0.5047 MB / 391.5 MB, free: 73.93 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.8561, allocations: 0 / 391.5 MB, free: 73.93 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001408/0.8575, allocations: 253.1 kB / 391.7 MB, free: 73.91 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 35 * 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 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003782/0.8613, allocations: 2.507 MB / 394.2 MB, free: 72.43 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002697/0.864, allocations: 1.426 MB / 395.7 MB, free: 71.62 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.8641, allocations: 4 kB / 395.7 MB, free: 71.61 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001887/0.866, allocations: 1.06 MB / 396.7 MB, free: 70.61 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001422/0.8674, allocations: 192.1 kB / 396.9 MB, free: 70.46 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005451/0.8729, allocations: 2.118 MB / 399 MB, free: 68.68 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008908/0.8738, allocations: 1.264 MB / 400.3 MB, free: 67.58 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005806/0.8744, allocations: 131.9 kB / 400.4 MB, free: 67.49 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005965/0.875, allocations: 309.2 kB / 400.7 MB, free: 67.21 MB / 314.7 MB Notification: Performance of SimCode: time 1.493e-06/0.8751, allocations: 0 / 400.7 MB, free: 67.21 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06688/0.942, allocations: 22.47 MB / 423.2 MB, free: 46.19 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001503/0.9422, allocations: 189.4 kB / 423.4 MB, free: 45.96 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.238/4.181, allocations: 0 / 423.4 MB, free: 45.96 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.mat does not exist to compare? outputFormat=mat