Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.023/2.023, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.573e-05/2.577e-05, allocations: 4 kB / 292.3 MB, free: 8.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1052, allocations: 50.41 MB / 342.7 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4429/0.5482, allocations: 82.27 MB / 424.9 MB, free: 11.63 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003205/0.5485, allocations: 78.7 kB / 425 MB, free: 11.59 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0301/0.5786, allocations: 7.241 MB / 432.3 MB, free: 5.434 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.5787, allocations: 4 kB / 432.3 MB, free: 5.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.403e-05/0.5787, allocations: 12 kB / 432.3 MB, free: 5.418 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001579/0.5803, allocations: 0.6459 MB / 432.9 MB, free: 4.762 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.5804, allocations: 12.25 kB / 432.9 MB, free: 4.75 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001407/0.5805, allocations: 74.59 kB / 433 MB, free: 4.691 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001481/0.5807, allocations: 59.28 kB / 433.1 MB, free: 4.633 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006998/0.5814, allocations: 364.1 kB / 433.4 MB, free: 4.285 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.016e-05/0.5815, allocations: 34.88 kB / 433.5 MB, free: 4.266 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.711e-05/0.5816, allocations: 45.19 kB / 433.5 MB, free: 4.234 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.5826, allocations: 447.7 kB / 433.9 MB, free: 3.914 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/0.5827, allocations: 3.953 kB / 433.9 MB, free: 3.91 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.385e-05/0.5828, allocations: 15.81 kB / 434 MB, free: 3.906 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.912e-05/0.5828, allocations: 12 kB / 434 MB, free: 3.895 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008483/0.5836, allocations: 296.6 kB / 434.3 MB, free: 3.707 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003676/0.5873, allocations: 1.868 MB / 436.1 MB, free: 2.094 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.5884, allocations: 0.5811 MB / 436.7 MB, free: 1.605 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008823/0.5894, allocations: 284.9 kB / 437 MB, free: 1.398 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.602e-05/0.5894, allocations: 4.328 kB / 437 MB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006176/0.59, allocations: 250.6 kB / 437.2 MB, free: 1.195 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 2.805e-06/0.5901, allocations: 4 kB / 437.2 MB, free: 1.191 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.001425/0.5915, allocations: 452.4 kB / 437.7 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.354e-05/0.5916, allocations: 82.98 kB / 437.8 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004709/0.5921, allocations: 272.9 kB / 438 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.132e-05/0.5922, allocations: 40.39 kB / 438.1 MB, free: 0.5 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001884/0.5924, allocations: 210.1 kB / 438.3 MB, free: 340 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/0.5925, allocations: 138.6 kB / 438.4 MB, free: 220 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/0.5926, allocations: 6.5 kB / 438.4 MB, free: 220 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.5928, allocations: 347.4 kB / 438.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003258/0.5931, allocations: 106.7 kB / 438.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000429/0.5936, allocations: 240.6 kB / 439.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003756/0.5939, allocations: 133.7 kB / 439.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.425e-06/0.594, allocations: 3.953 kB / 439.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001282/0.5953, allocations: 483.3 kB / 439.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.5953, allocations: 8 kB / 439.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.5953, allocations: 4 kB / 439.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007316/0.5961, allocations: 155.4 kB / 439.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004686/0.5966, allocations: 59.91 kB / 439.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004029/0.6006, allocations: 2.307 MB / 442.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004999/0.6011, allocations: 36.86 kB / 442.3 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.664e-05/0.6012, allocations: 21.48 kB / 442.3 MB, free: 12.91 MB / 362.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_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,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.0001892/0.6014, allocations: 136.1 kB / 442.4 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.965e-05/0.6015, allocations: 47.48 kB / 442.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001323/0.6017, allocations: 41.2 kB / 442.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.6017, allocations: 8 kB / 442.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.6017, allocations: 0 / 442.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.6017, allocations: 3.984 kB / 442.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002172/0.6039, allocations: 1.008 MB / 443.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.6039, allocations: 0 / 443.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003496/0.6043, allocations: 43.23 kB / 443.6 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006824/0.605, allocations: 142.8 kB / 443.7 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.58e-05/0.6051, allocations: 14.73 kB / 443.7 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003901/0.609, allocations: 2.296 MB / 446 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.609, allocations: 48 / 446 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/0.6107, allocations: 0.691 MB / 446.7 MB, free: 9.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000272/0.611, allocations: 159.4 kB / 446.9 MB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.668e-05/0.6111, allocations: 6.25 kB / 446.9 MB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003966/0.6115, allocations: 19.36 kB / 446.9 MB, free: 9.062 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.6116, allocations: 35.45 kB / 446.9 MB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.341e-05/0.6117, allocations: 15.12 kB / 446.9 MB, free: 9.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003467/0.6121, allocations: 219.9 kB / 447.1 MB, free: 8.852 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6121, allocations: 0 / 447.1 MB, free: 8.852 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008531/0.6129, allocations: 145.4 kB / 447.3 MB, free: 8.727 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.002075/0.615, allocations: 1.326 MB / 448.6 MB, free: 7.574 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001312/0.6164, allocations: 0.4908 MB / 449.1 MB, free: 7.199 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.6164, allocations: 0 / 449.1 MB, free: 7.199 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007872/0.6172, allocations: 348.2 kB / 449.4 MB, free: 6.926 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006543/0.6179, allocations: 83.61 kB / 449.5 MB, free: 6.863 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002481/0.6204, allocations: 0.6954 MB / 450.2 MB, free: 6.176 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005378/0.6209, allocations: 0.836 MB / 451.1 MB, free: 5.312 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002453/0.6212, allocations: 39.3 kB / 451.1 MB, free: 5.273 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002714/0.6215, allocations: 139.4 kB / 451.2 MB, free: 5.137 MB / 362.7 MB Notification: Performance of SimCode: time 1.233e-06/0.6215, allocations: 4 kB / 451.2 MB, free: 5.133 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04183/0.6633, allocations: 9.591 MB / 460.8 MB, free: 11.75 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002647/0.6636, allocations: 217.3 kB / 461 MB, free: 11.54 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.996/3.66, allocations: 0 / 461 MB, free: 11.54 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat does not exist to compare? outputFormat=mat