Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.038/2.038, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.614e-05/3.622e-05, allocations: 2.188 kB / 292.7 MB, free: 8.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1042, allocations: 50.41 MB / 343.2 MB, free: 5.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4376/0.5419, allocations: 86.87 MB / 430 MB, free: 7.047 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/0.5422, allocations: 71.16 kB / 430.1 MB, free: 7.012 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1403/0.6825, allocations: 32.88 MB / 463 MB, free: 10.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.6826, allocations: 0 / 463 MB, free: 10.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001993/0.6828, allocations: 51.94 kB / 463 MB, free: 10.62 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.007596/0.6904, allocations: 1.958 MB / 465 MB, free: 8.605 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.711e-05/0.6905, allocations: 12.03 kB / 465 MB, free: 8.594 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001178/0.6917, allocations: 299.5 kB / 465.3 MB, free: 8.289 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.6929, allocations: 237.2 kB / 465.5 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004079/0.697, allocations: 1.212 MB / 466.7 MB, free: 6.797 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002379/0.6973, allocations: 160.1 kB / 466.9 MB, free: 6.637 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008301/0.6981, allocations: 204 kB / 467.1 MB, free: 6.438 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008279/0.7064, allocations: 2.505 MB / 469.6 MB, free: 3.789 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-05/0.7066, allocations: 11.94 kB / 469.6 MB, free: 3.777 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004459/0.707, allocations: 88 kB / 469.7 MB, free: 3.691 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.872e-05/0.7071, allocations: 52 kB / 469.7 MB, free: 3.641 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006571/0.7137, allocations: 1.843 MB / 471.6 MB, free: 1.789 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02228/0.736, allocations: 7.505 MB / 479.1 MB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00389/0.74, allocations: 2.312 MB / 481.4 MB, free: 7.562 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002533/0.7426, allocations: 0.8955 MB / 482.3 MB, free: 6.664 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001473/0.7428, allocations: 12.78 kB / 482.3 MB, free: 6.652 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.221e-05/0.7428, allocations: 43.34 kB / 482.4 MB, free: 6.602 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 4.228e-06/0.7429, allocations: 0 / 482.4 MB, free: 6.602 MB / 394.7 MB Notification: Performance of matching and sorting (n=97): time 0.008516/0.7514, allocations: 2.946 MB / 485.3 MB, free: 3.582 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/0.7515, allocations: 68.17 kB / 485.4 MB, free: 3.504 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001795/0.7533, allocations: 0.7463 MB / 486.1 MB, free: 2.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002359/0.7536, allocations: 41.7 kB / 486.2 MB, free: 2.703 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007784/0.7544, allocations: 0.8294 MB / 487 MB, free: 1.859 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000515/0.7549, allocations: 327.2 kB / 487.3 MB, free: 1.535 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.813e-05/0.755, allocations: 20 kB / 487.3 MB, free: 1.516 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.7552, allocations: 345.9 kB / 487.7 MB, free: 1.172 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/0.7565, allocations: 477.8 kB / 488.1 MB, free: 0.7031 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/0.758, allocations: 0.6525 MB / 488.8 MB, free: 15.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/0.7596, allocations: 0.5513 MB / 489.3 MB, free: 15.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.37e-05/0.7596, allocations: 3.953 kB / 489.3 MB, free: 15.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.004592/0.7643, allocations: 1.581 MB / 490.9 MB, free: 13.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.723e-05/0.7643, allocations: 11.95 kB / 490.9 MB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.648e-05/0.7644, allocations: 4 kB / 490.9 MB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00187/0.7663, allocations: 467 kB / 491.4 MB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001473/0.7678, allocations: 171.8 kB / 491.6 MB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01349/0.7813, allocations: 8.44 MB / 500 MB, free: 4.203 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.7826, allocations: 48.02 kB / 0.4883 GB, free: 4.156 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001907/0.7829, allocations: 43.98 kB / 0.4884 GB, free: 4.113 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003725/0.7833, allocations: 160.4 kB / 0.4885 GB, free: 3.953 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004006/0.7837, allocations: 102.8 kB / 0.4886 GB, free: 3.852 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004053/0.7877, allocations: 1.494 MB / 0.4901 GB, free: 2.328 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.409e-05/0.7878, allocations: 11.98 kB / 0.4901 GB, free: 2.316 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.7878, allocations: 4 kB / 0.4901 GB, free: 2.312 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.456e-05/0.7879, allocations: 11.88 kB / 0.4901 GB, free: 2.301 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01027/0.7981, allocations: 3.459 MB / 0.4935 GB, free: 14.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.649e-05/0.7982, allocations: 3.938 kB / 0.4935 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/0.7995, allocations: 128 kB / 0.4936 GB, free: 14.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001821/0.8013, allocations: 447.1 kB / 0.494 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001911/0.8015, allocations: 23.98 kB / 0.4941 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01316/0.8147, allocations: 8.361 MB / 0.5022 GB, free: 5.258 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.8148, allocations: 0 / 0.5022 GB, free: 5.258 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005834/0.8206, allocations: 2.277 MB / 0.5044 GB, free: 2.934 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009506/0.8216, allocations: 275.9 kB / 0.5047 GB, free: 2.645 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002748/0.8219, allocations: 23.98 kB / 0.5047 GB, free: 2.621 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009494/0.8229, allocations: 47.95 kB / 0.5048 GB, free: 2.574 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003809/0.8233, allocations: 80.66 kB / 0.5048 GB, free: 2.492 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.59e-05/0.8234, allocations: 28 kB / 0.5049 GB, free: 2.465 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00137/0.8248, allocations: 0.5889 MB / 0.5055 GB, free: 1.883 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.767e-06/0.8248, allocations: 4 kB / 0.5055 GB, free: 1.879 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00259/0.8274, allocations: 407.8 kB / 0.5058 GB, free: 1.48 MB / 426.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 (62): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.006713/0.8342, allocations: 3.021 MB / 0.5088 GB, free: 14.4 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004532/0.8388, allocations: 1.782 MB / 0.5105 GB, free: 12.57 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.8389, allocations: 4.25 kB / 0.5105 GB, free: 12.57 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002948/0.8418, allocations: 1.231 MB / 0.5117 GB, free: 11.29 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002452/0.8443, allocations: 267.2 kB / 0.512 GB, free: 11.02 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01161/0.856, allocations: 3.43 MB / 0.5153 GB, free: 7.527 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003799/0.8598, allocations: 1.753 MB / 0.5171 GB, free: 5.738 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001027/0.8609, allocations: 180.7 kB / 0.5172 GB, free: 5.559 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001494/0.8625, allocations: 0.6243 MB / 0.5178 GB, free: 4.934 MB / 442.7 MB Notification: Performance of SimCode: time 1.994e-06/0.8625, allocations: 0 / 0.5178 GB, free: 4.934 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3755/1.238, allocations: 30.77 MB / 0.5479 GB, free: 123.4 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00025/1.238, allocations: 187.2 kB / 0.5481 GB, free: 123.2 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.535/4.774, allocations: 0 / 0.5481 GB, free: 123.2 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat does not exist to compare? outputFormat=mat