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.847/1.847, allocations: 171.2 MB / 178.4 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.236e-05/2.245e-05, allocations: 4 kB / 219.6 MB, free: 6.953 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2648, allocations: 38.77 MB / 258.3 MB, free: 12.19 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1259/0.3908, allocations: 70.21 MB / 328.6 MB, free: 7.574 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/0.3911, allocations: 67.97 kB / 328.6 MB, free: 7.508 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06881/0.46, allocations: 15.86 MB / 344.5 MB, free: 7.539 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.46, allocations: 0 / 344.5 MB, free: 7.539 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001007/0.4601, allocations: 27.94 kB / 344.5 MB, free: 7.512 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.00378/0.4639, allocations: 1.153 MB / 345.7 MB, free: 6.312 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/0.464, allocations: 8.031 kB / 345.7 MB, free: 6.305 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005014/0.4645, allocations: 126.5 kB / 345.8 MB, free: 6.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002071/0.4666, allocations: 0.713 MB / 346.5 MB, free: 5.422 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.457e-05/0.4667, allocations: 35.95 kB / 346.5 MB, free: 5.387 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002175/0.4669, allocations: 51.91 kB / 346.6 MB, free: 5.336 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002946/0.4699, allocations: 0.9527 MB / 347.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002951/0.4729, allocations: 1.057 MB / 348.6 MB, free: 3.277 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.104e-05/0.473, allocations: 0 / 348.6 MB, free: 3.277 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.4731, allocations: 0 / 348.6 MB, free: 3.277 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.135e-05/0.4731, allocations: 24 kB / 348.6 MB, free: 3.254 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00922/0.4823, allocations: 3.604 MB / 352.2 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002811/0.4852, allocations: 1.923 MB / 354.1 MB, free: 13.42 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001519/0.4867, allocations: 0.6304 MB / 354.8 MB, free: 12.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.869e-05/0.4868, allocations: 12.77 kB / 354.8 MB, free: 12.78 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.4869, allocations: 35.34 kB / 354.8 MB, free: 12.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 3.136e-06/0.4869, allocations: 0 / 354.8 MB, free: 12.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.00547/0.4924, allocations: 2.089 MB / 356.9 MB, free: 10.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.4925, allocations: 60.19 kB / 357 MB, free: 10.5 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.4937, allocations: 0.5569 MB / 357.5 MB, free: 9.941 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.107e-05/0.4938, allocations: 29.69 kB / 357.6 MB, free: 9.906 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004801/0.4943, allocations: 408.1 kB / 358 MB, free: 9.5 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002834/0.4946, allocations: 232.5 kB / 358.2 MB, free: 9.27 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/0.4947, allocations: 0 / 358.2 MB, free: 9.27 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002358/0.4949, allocations: 382.7 kB / 358.6 MB, free: 8.887 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000823/0.4957, allocations: 329.4 kB / 358.9 MB, free: 8.562 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008598/0.4966, allocations: 385.3 kB / 359.3 MB, free: 8.184 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008683/0.4975, allocations: 360.3 kB / 359.6 MB, free: 7.832 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.4975, allocations: 7.984 kB / 359.6 MB, free: 7.824 MB / 314.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002948/0.5005, allocations: 1.092 MB / 360.7 MB, free: 6.711 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.5005, allocations: 8.062 kB / 360.7 MB, free: 6.703 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.5006, allocations: 0 / 360.7 MB, free: 6.703 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001751/0.5023, allocations: 447 kB / 361.2 MB, free: 6.254 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008274/0.5032, allocations: 99.88 kB / 361.3 MB, free: 6.156 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2418/0.745, allocations: 8.161 MB / 369.4 MB, free: 86.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.7462, allocations: 26.31 kB / 369.4 MB, free: 86.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/0.7464, allocations: 17.81 kB / 369.5 MB, free: 86.75 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.0003084/0.7467, allocations: 114.1 kB / 369.6 MB, free: 86.64 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004123/0.7509, allocations: 1.056 MB / 370.6 MB, free: 86.58 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004472/0.7514, allocations: 70.91 kB / 370.7 MB, free: 86.58 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004124/0.7518, allocations: 95.52 kB / 370.8 MB, free: 86.56 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.746e-05/0.7519, allocations: 12 kB / 370.8 MB, free: 86.56 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.569e-05/0.7519, allocations: 1.531 kB / 370.8 MB, free: 86.56 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.7519, allocations: 4.969 kB / 370.8 MB, free: 86.56 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009231/0.7612, allocations: 2.272 MB / 373.1 MB, free: 86.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/0.7613, allocations: 1.281 kB / 373.1 MB, free: 86.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/0.7624, allocations: 82.45 kB / 373.2 MB, free: 86.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002553/0.765, allocations: 442.8 kB / 373.6 MB, free: 86.2 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001616/0.7652, allocations: 11.34 kB / 373.6 MB, free: 86.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01548/0.7807, allocations: 8.092 MB / 381.7 MB, free: 80.91 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/0.7808, allocations: 0 / 381.7 MB, free: 80.91 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007134/0.7879, allocations: 1.743 MB / 383.4 MB, free: 80.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009709/0.789, allocations: 236.5 kB / 383.7 MB, free: 79.99 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003146/0.7893, allocations: 3.906 kB / 383.7 MB, free: 79.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/0.7904, allocations: 30.58 kB / 383.7 MB, free: 79.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004593/0.7909, allocations: 80.2 kB / 383.8 MB, free: 79.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.791, allocations: 15.56 kB / 383.8 MB, free: 79.97 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001495/0.7926, allocations: 457.2 kB / 384.2 MB, free: 79.77 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.082e-06/0.7926, allocations: 3.812 kB / 384.2 MB, free: 79.77 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003134/0.7958, allocations: 223.5 kB / 384.5 MB, free: 79.77 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.006498/0.8023, allocations: 2.43 MB / 386.9 MB, free: 78.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004111/0.8065, allocations: 1.363 MB / 388.3 MB, free: 77.56 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/0.8065, allocations: 4.125 kB / 388.3 MB, free: 77.56 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002453/0.809, allocations: 1.012 MB / 389.3 MB, free: 76.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001961/0.811, allocations: 169.7 kB / 389.4 MB, free: 76.88 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007656/0.8187, allocations: 2.038 MB / 391.5 MB, free: 76.09 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00159/0.8204, allocations: 1.272 MB / 392.7 MB, free: 75.29 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0009141/0.8213, allocations: 121 kB / 392.9 MB, free: 75.28 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009905/0.8224, allocations: 308.6 kB / 393.2 MB, free: 75.04 MB / 314.7 MB Notification: Performance of SimCode: time 1.363e-06/0.8224, allocations: 0 / 393.2 MB, free: 75.04 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1062/0.9286, allocations: 20.28 MB / 413.5 MB, free: 57.48 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002123/0.9289, allocations: 148.2 kB / 413.6 MB, free: 57.27 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.356/4.285, allocations: 0 / 413.6 MB, free: 57.27 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