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.793/1.793, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 5.197e-05/5.186e-05, allocations: 4 kB / 225.1 MB, free: 2.254 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3211, allocations: 38.77 MB / 263.9 MB, free: 9.82 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1296/0.4507, allocations: 70.89 MB / 334.8 MB, free: 2.824 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/0.4511, allocations: 67.97 kB / 334.8 MB, free: 2.758 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07638/0.5275, allocations: 16.03 MB / 350.9 MB, free: 2.609 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.497e-06/0.5275, allocations: 0 / 350.9 MB, free: 2.609 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001288/0.5277, 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.004426/0.5321, allocations: 1.165 MB / 352.1 MB, free: 1.367 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/0.5322, allocations: 8.031 kB / 352.1 MB, free: 1.359 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005204/0.5327, allocations: 139.4 kB / 352.2 MB, free: 1.215 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004354/0.5332, allocations: 126.4 kB / 352.3 MB, free: 1.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002277/0.5355, allocations: 0.7091 MB / 353 MB, free: 348 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.541e-05/0.5356, allocations: 65.95 kB / 353.1 MB, free: 284 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003379/0.536, allocations: 95.89 kB / 353.2 MB, free: 188 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003591/0.5396, allocations: 1.162 MB / 354.4 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.56e-05/0.5397, allocations: 4 kB / 354.4 MB, free: 14.97 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001527/0.5399, allocations: 39.94 kB / 354.4 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.87e-05/0.5399, allocations: 24 kB / 354.4 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003315/0.5432, allocations: 0.9956 MB / 355.4 MB, free: 13.91 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01144/0.5547, allocations: 3.775 MB / 359.2 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003305/0.5581, allocations: 1.938 MB / 361.1 MB, free: 7.887 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001616/0.5598, allocations: 0.6304 MB / 361.8 MB, free: 7.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.632e-05/0.5599, allocations: 4.781 kB / 361.8 MB, free: 7.246 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.585e-05/0.56, allocations: 47.23 kB / 361.8 MB, free: 7.188 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 4.268e-06/0.56, allocations: 0 / 361.8 MB, free: 7.188 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.006528/0.5665, allocations: 2.203 MB / 364 MB, free: 4.922 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/0.5666, allocations: 64.17 kB / 364.1 MB, free: 4.848 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/0.5681, allocations: 0.636 MB / 364.7 MB, free: 4.207 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001873/0.5683, allocations: 37.7 kB / 364.7 MB, free: 4.164 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004289/0.5688, allocations: 404.2 kB / 365.1 MB, free: 3.762 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003614/0.5692, allocations: 240.5 kB / 365.4 MB, free: 3.523 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.585e-05/0.5692, allocations: 12 kB / 365.4 MB, free: 3.512 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002421/0.5695, allocations: 382.8 kB / 365.8 MB, free: 3.129 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009395/0.5704, allocations: 341.4 kB / 366.1 MB, free: 2.793 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009512/0.5714, allocations: 389.4 kB / 366.5 MB, free: 2.402 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009547/0.5724, allocations: 385.9 kB / 366.9 MB, free: 2.027 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.5724, allocations: 0 / 366.9 MB, free: 2.027 MB / 314.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.003249/0.5757, allocations: 1.158 MB / 368 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.446e-05/0.5758, allocations: 11.94 kB / 368 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.5758, allocations: 3.938 kB / 368 MB, free: 0.832 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001914/0.5777, allocations: 455 kB / 368.5 MB, free: 384 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008726/0.5787, allocations: 87.88 kB / 368.6 MB, free: 296 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2821/0.8608, allocations: 8.453 MB / 377 MB, free: 82.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008505/0.8617, allocations: 35.62 kB / 377 MB, free: 82.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.975e-05/0.8619, allocations: 14.69 kB / 377.1 MB, free: 82.27 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.0002618/0.8621, allocations: 147.7 kB / 377.2 MB, free: 82.16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002313/0.8624, allocations: 82.86 kB / 377.3 MB, free: 82.16 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002881/0.8627, allocations: 101.4 kB / 377.4 MB, free: 82.14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.8627, allocations: 7.75 kB / 377.4 MB, free: 82.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/0.8627, allocations: 4.531 kB / 377.4 MB, free: 82.14 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.8628, allocations: 6.094 kB / 377.4 MB, free: 82.14 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006142/0.8689, allocations: 2.454 MB / 379.9 MB, free: 81.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.869, allocations: 0 / 379.9 MB, free: 81.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007515/0.8697, allocations: 88.47 kB / 379.9 MB, free: 81.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001684/0.8715, allocations: 456.5 kB / 380.4 MB, free: 81.74 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001338/0.8716, allocations: 13.88 kB / 380.4 MB, free: 81.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01069/0.8823, allocations: 8.371 MB / 388.8 MB, free: 75.17 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/0.8824, allocations: 0 / 388.8 MB, free: 75.17 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003809/0.8862, allocations: 1.807 MB / 390.6 MB, free: 74.38 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006945/0.887, allocations: 242.2 kB / 390.8 MB, free: 74.21 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002036/0.8872, allocations: 20.69 kB / 390.8 MB, free: 74.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007597/0.888, allocations: 34.81 kB / 390.9 MB, free: 74.19 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003101/0.8883, allocations: 72.72 kB / 390.9 MB, free: 74.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.155e-05/0.8884, allocations: 21.72 kB / 391 MB, free: 74.18 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009474/0.8894, allocations: 0.4996 MB / 391.5 MB, free: 73.96 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.8894, allocations: 3.938 kB / 391.5 MB, free: 73.96 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00183/0.8912, allocations: 250.7 kB / 391.7 MB, free: 73.93 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.004158/0.8954, allocations: 2.521 MB / 394.2 MB, free: 72.45 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00293/0.8984, allocations: 1.387 MB / 395.6 MB, free: 71.66 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.8985, allocations: 0 / 395.6 MB, free: 71.66 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002012/0.9005, allocations: 1.03 MB / 396.6 MB, free: 70.69 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/0.9022, allocations: 195.5 kB / 396.8 MB, free: 70.54 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005902/0.9082, allocations: 2.11 MB / 398.9 MB, free: 68.77 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009216/0.9092, allocations: 1.255 MB / 400.2 MB, free: 67.68 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006087/0.9098, allocations: 128.6 kB / 400.3 MB, free: 67.59 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006365/0.9105, allocations: 318.1 kB / 400.6 MB, free: 67.31 MB / 314.7 MB Notification: Performance of SimCode: time 2.305e-06/0.9105, allocations: 0 / 400.6 MB, free: 67.31 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06445/0.9749, allocations: 22.29 MB / 422.9 MB, free: 46.46 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002233/0.9752, allocations: 192.1 kB / 423.1 MB, free: 46.23 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.234/4.209, allocations: 3.938 kB / 423.1 MB, free: 46.23 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