Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.067/2.067, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.632e-05/2.632e-05, allocations: 0 / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3908/0.3908, allocations: 44.5 MB / 294.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1412/0.5321, allocations: 75.54 MB / 369.8 MB, free: 6.297 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003248/0.5325, allocations: 83.94 kB / 369.9 MB, free: 6.215 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03074/0.5633, allocations: 6.915 MB / 376.8 MB, free: 15.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.5633, allocations: 0 / 376.8 MB, free: 15.25 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.349e-05/0.5634, allocations: 8 kB / 376.8 MB, free: 15.24 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002106/0.5655, allocations: 0.6467 MB / 377.4 MB, free: 14.55 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.532e-05/0.5656, allocations: 8.031 kB / 377.4 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002608/0.5659, allocations: 63.38 kB / 377.5 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.567, allocations: 355.4 kB / 377.8 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.674e-05/0.567, allocations: 12 kB / 377.9 MB, free: 14.07 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/0.5672, allocations: 31.91 kB / 377.9 MB, free: 14.04 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001058/0.5683, allocations: 270.6 kB / 378.2 MB, free: 13.78 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001405/0.5697, allocations: 374.6 kB / 378.5 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.813e-05/0.5698, allocations: 8 kB / 378.5 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.545e-05/0.5699, allocations: 3.984 kB / 378.5 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.751e-05/0.57, allocations: 11.98 kB / 378.5 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005334/0.5753, allocations: 1.765 MB / 380.3 MB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001341/0.5767, allocations: 0.5772 MB / 380.9 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008214/0.5776, allocations: 213.7 kB / 381.1 MB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.908e-05/0.5777, allocations: 12.31 kB / 381.1 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008723/0.5786, allocations: 249.2 kB / 381.4 MB, free: 10.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=43): time 4.608e-06/0.5786, allocations: 0 / 381.4 MB, free: 10.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.001914/0.5805, allocations: 409.8 kB / 381.8 MB, free: 9.969 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.875e-05/0.5806, allocations: 85.11 kB / 381.8 MB, free: 9.867 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004869/0.5811, allocations: 249 kB / 382.1 MB, free: 9.621 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.184e-05/0.5813, allocations: 29.7 kB / 382.1 MB, free: 9.586 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002801/0.5815, allocations: 212.3 kB / 382.3 MB, free: 9.371 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002224/0.5818, allocations: 126.1 kB / 382.4 MB, free: 9.246 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-05/0.5819, allocations: 0 / 382.4 MB, free: 9.246 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.5821, allocations: 346.8 kB / 382.8 MB, free: 8.898 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004501/0.5825, allocations: 105.1 kB / 382.9 MB, free: 8.797 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005772/0.5831, allocations: 227 kB / 383.1 MB, free: 8.523 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005033/0.5837, allocations: 123.7 kB / 383.2 MB, free: 8.402 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/0.5837, allocations: 4 kB / 383.2 MB, free: 8.398 MB / 330.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001562/0.5853, allocations: 445.6 kB / 383.7 MB, free: 7.953 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/0.5854, allocations: 4 kB / 383.7 MB, free: 7.949 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/0.5854, allocations: 4 kB / 383.7 MB, free: 7.945 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.5864, allocations: 144.8 kB / 383.8 MB, free: 7.801 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006979/0.5872, allocations: 63.91 kB / 383.9 MB, free: 7.738 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004416/0.5916, allocations: 2.214 MB / 386.1 MB, free: 5.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004742/0.5921, allocations: 35.59 kB / 386.1 MB, free: 5.375 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.326e-05/0.5922, allocations: 20 kB / 386.1 MB, free: 5.355 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001905/0.5924, allocations: 120.7 kB / 386.3 MB, free: 5.23 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001232/0.5937, allocations: 418.1 kB / 386.7 MB, free: 4.812 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.01e-05/0.5938, allocations: 47.48 kB / 386.7 MB, free: 4.766 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001411/0.5939, allocations: 39.47 kB / 386.8 MB, free: 4.723 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.5939, allocations: 8 kB / 386.8 MB, free: 4.715 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.594, allocations: 0 / 386.8 MB, free: 4.715 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.594, allocations: 0 / 386.8 MB, free: 4.715 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001979/0.596, allocations: 0.8902 MB / 387.6 MB, free: 3.777 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.596, allocations: 3.938 kB / 387.7 MB, free: 3.773 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003589/0.5964, allocations: 39.92 kB / 387.7 MB, free: 3.734 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006256/0.597, allocations: 132.8 kB / 387.8 MB, free: 3.602 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.07e-05/0.5971, allocations: 7.984 kB / 387.8 MB, free: 3.594 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003686/0.6008, allocations: 2.22 MB / 390 MB, free: 1.262 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.6008, allocations: 0 / 390 MB, free: 1.262 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/0.6023, allocations: 0.6411 MB / 390.7 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002455/0.6026, allocations: 152.6 kB / 390.8 MB, free: 444 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.711e-05/0.6027, allocations: 4 kB / 390.8 MB, free: 440 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003627/0.6031, allocations: 15.98 kB / 390.9 MB, free: 424 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.6032, allocations: 31.95 kB / 390.9 MB, free: 392 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.001e-05/0.6033, allocations: 12 kB / 390.9 MB, free: 380 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002798/0.6036, allocations: 192.6 kB / 391.1 MB, free: 188 kB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6036, allocations: 0 / 391.1 MB, free: 188 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008626/0.6044, allocations: 123.7 kB / 391.2 MB, free: 64 kB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.00323/0.6077, allocations: 1.209 MB / 392.4 MB, free: 14.83 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002294/0.61, allocations: 489.5 kB / 392.9 MB, free: 14.34 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.6101, allocations: 0 / 392.9 MB, free: 14.34 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001115/0.6112, allocations: 342.1 kB / 393.2 MB, free: 14 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.6124, allocations: 52.69 kB / 393.3 MB, free: 13.95 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005089/0.6175, allocations: 0.6479 MB / 393.9 MB, free: 13.26 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008478/0.6184, allocations: 0.8396 MB / 394.8 MB, free: 12.39 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003859/0.6188, allocations: 35.64 kB / 394.8 MB, free: 12.36 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005901/0.6194, allocations: 139.4 kB / 394.9 MB, free: 12.22 MB / 346.7 MB Notification: Performance of SimCode: time 2.374e-06/0.6195, allocations: 0 / 394.9 MB, free: 12.22 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1202/0.7397, allocations: 8.411 MB / 403.4 MB, free: 3.828 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002394/0.74, allocations: 194 kB / 403.5 MB, free: 3.629 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.875/3.615, allocations: 0 / 403.5 MB, free: 3.629 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat does not exist to compare? outputFormat=mat