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.079/2.079, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.458e-05/3.48e-05, allocations: 4 kB / 255.5 MB, free: 2.613 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09513/0.0952, allocations: 44.51 MB / 300 MB, free: 6.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4502/0.5455, allocations: 76.19 MB / 376.2 MB, free: 21.99 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005141/0.546, allocations: 82.47 kB / 376.2 MB, free: 21.99 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0395/0.5856, allocations: 6.997 MB / 383.2 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5856, allocations: 1.75 kB / 383.2 MB, free: 20.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.521e-05/0.5857, allocations: 8.656 kB / 383.3 MB, free: 20.98 MB / 314.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.0021/0.5878, allocations: 0.6509 MB / 383.9 MB, free: 20.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.176e-05/0.5879, allocations: 8.812 kB / 383.9 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001837/0.5881, allocations: 77.91 kB / 384 MB, free: 20.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002261/0.5883, allocations: 61.06 kB / 384.1 MB, free: 20.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009636/0.5893, allocations: 359 kB / 384.4 MB, free: 20.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.013e-05/0.5894, allocations: 29.62 kB / 384.4 MB, free: 20.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001501/0.5896, allocations: 49.11 kB / 384.5 MB, free: 20.17 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/0.5911, allocations: 432.5 kB / 384.9 MB, free: 20.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.351e-05/0.5912, allocations: 1.344 kB / 384.9 MB, free: 20.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.702e-05/0.5913, allocations: 19.31 kB / 384.9 MB, free: 20.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.991e-05/0.5913, allocations: 10.69 kB / 384.9 MB, free: 20.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.5925, allocations: 300.4 kB / 385.2 MB, free: 20.06 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00444/0.597, allocations: 1.85 MB / 387.1 MB, free: 19.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/0.5984, allocations: 0.5963 MB / 387.7 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001227/0.5996, allocations: 276.2 kB / 387.9 MB, free: 18.76 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.428e-05/0.5997, allocations: 3.547 kB / 387.9 MB, free: 18.76 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009095/0.6006, allocations: 258.5 kB / 388.2 MB, free: 18.68 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 3.927e-06/0.6007, allocations: 1.656 kB / 388.2 MB, free: 18.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.002006/0.6027, allocations: 450 kB / 388.6 MB, free: 18.6 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/0.6028, allocations: 88.77 kB / 388.7 MB, free: 18.5 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006005/0.6034, allocations: 273.5 kB / 389 MB, free: 18.4 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.303e-05/0.6035, allocations: 37.11 kB / 389 MB, free: 18.37 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/0.6037, allocations: 214.2 kB / 389.2 MB, free: 18.23 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001689/0.6039, allocations: 137.7 kB / 389.4 MB, free: 18.14 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/0.604, allocations: 7.5 kB / 389.4 MB, free: 18.14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.6041, allocations: 344.1 kB / 389.7 MB, free: 17.83 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004506/0.6046, allocations: 109.5 kB / 389.8 MB, free: 17.83 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005433/0.6051, allocations: 233.4 kB / 390 MB, free: 17.69 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000509/0.6056, allocations: 143.5 kB / 390.2 MB, free: 17.67 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.6057, allocations: 0 / 390.2 MB, free: 17.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001674/0.6074, allocations: 499.3 kB / 390.7 MB, free: 17.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.6074, allocations: 3.812 kB / 390.7 MB, free: 17.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.6074, allocations: 3.812 kB / 390.7 MB, free: 17.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008934/0.6083, allocations: 139 kB / 390.8 MB, free: 17.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000538/0.6089, allocations: 67.75 kB / 390.9 MB, free: 17.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004722/0.6136, allocations: 2.303 MB / 393.2 MB, free: 16.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006914/0.6144, allocations: 53.19 kB / 393.2 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.669e-05/0.6144, allocations: 19.12 kB / 393.3 MB, free: 16.12 MB / 314.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.0002136/0.6147, allocations: 130.4 kB / 393.4 MB, free: 16.01 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.6148, allocations: 42.34 kB / 393.4 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001793/0.615, allocations: 47.28 kB / 393.5 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.545e-06/0.615, allocations: 7.844 kB / 393.5 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.6151, allocations: 3.953 kB / 393.5 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.6151, allocations: 7.047 kB / 393.5 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002751/0.6179, allocations: 0.9991 MB / 394.5 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.6179, allocations: 0 / 394.5 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004397/0.6183, allocations: 41.7 kB / 394.5 MB, free: 15.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008786/0.6192, allocations: 145.8 kB / 394.7 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.637e-05/0.6193, allocations: 11.19 kB / 394.7 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005314/0.6247, allocations: 2.284 MB / 397 MB, free: 30.21 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.6247, allocations: 7.859 kB / 397 MB, free: 30.2 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002087/0.6268, allocations: 0.6806 MB / 397.7 MB, free: 30.01 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003341/0.6272, allocations: 159.1 kB / 397.8 MB, free: 29.89 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.6273, allocations: 11.34 kB / 397.8 MB, free: 29.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005447/0.6279, allocations: 14.08 kB / 397.8 MB, free: 29.88 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/0.628, allocations: 36.08 kB / 397.9 MB, free: 29.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.227e-05/0.6281, allocations: 18.84 kB / 397.9 MB, free: 29.88 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004225/0.6285, allocations: 212.5 kB / 398.1 MB, free: 29.79 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6286, allocations: 0 / 398.1 MB, free: 29.79 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001293/0.6299, allocations: 150.4 kB / 398.2 MB, free: 29.77 MB / 330.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,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.002618/0.6325, allocations: 1.331 MB / 399.6 MB, free: 28.96 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0013/0.6338, allocations: 0.5101 MB / 400.1 MB, free: 28.8 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-05/0.6339, allocations: 3.906 kB / 400.1 MB, free: 28.8 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001471/0.6354, allocations: 359.6 kB / 400.4 MB, free: 28.66 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.6365, allocations: 64.03 kB / 400.5 MB, free: 28.66 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004095/0.6407, allocations: 0.6974 MB / 401.2 MB, free: 28.38 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009445/0.6417, allocations: 0.8336 MB / 402 MB, free: 27.68 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004356/0.6421, allocations: 40.61 kB / 402.1 MB, free: 27.67 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003883/0.6426, allocations: 140.4 kB / 402.2 MB, free: 27.66 MB / 330.7 MB Notification: Performance of SimCode: time 1.412e-06/0.6426, allocations: 0 / 402.2 MB, free: 27.66 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04158/0.6842, allocations: 9.606 MB / 411.8 MB, free: 26.6 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002337/0.6845, allocations: 229.9 kB / 412 MB, free: 26.36 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.957/3.642, allocations: 7.938 kB / 412.1 MB, free: 26.36 MB / 330.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