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 1.905/1.905, allocations: 194.9 MB / 208 MB, free: 3.18 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.614e-05/3.62e-05, allocations: 4 kB / 255.5 MB, free: 2.598 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1009, allocations: 44.51 MB / 300 MB, free: 6.027 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4325/0.5335, allocations: 76.19 MB / 376.2 MB, free: 12.7 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003382/0.5339, allocations: 87.83 kB / 376.3 MB, free: 12.7 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02917/0.5631, allocations: 6.99 MB / 383.3 MB, free: 11.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5632, allocations: 0 / 383.3 MB, free: 11.79 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.224e-05/0.5632, allocations: 9.625 kB / 383.3 MB, free: 11.79 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.00149/0.5647, allocations: 0.659 MB / 383.9 MB, free: 11.31 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.5648, allocations: 9.625 kB / 383.9 MB, free: 11.31 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001342/0.5649, allocations: 78.78 kB / 384 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001558/0.5651, allocations: 56.27 kB / 384.1 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006693/0.5658, allocations: 353.4 kB / 384.4 MB, free: 11 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.791e-05/0.5658, allocations: 32.33 kB / 384.5 MB, free: 11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.5659, allocations: 47.72 kB / 384.5 MB, free: 11 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.567, allocations: 430 kB / 384.9 MB, free: 10.9 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/0.567, allocations: 1.188 kB / 384.9 MB, free: 10.9 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.792e-05/0.5671, allocations: 16.66 kB / 384.9 MB, free: 10.9 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.5671, allocations: 13.66 kB / 385 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008234/0.568, allocations: 297 kB / 385.2 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003582/0.5716, allocations: 1.852 MB / 387.1 MB, free: 9.93 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009983/0.5726, allocations: 0.5906 MB / 387.7 MB, free: 9.609 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007941/0.5734, allocations: 278.8 kB / 388 MB, free: 9.594 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.666e-05/0.5735, allocations: 4.203 kB / 388 MB, free: 9.594 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005848/0.5741, allocations: 251.2 kB / 388.2 MB, free: 9.527 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 3.166e-06/0.5741, allocations: 4 kB / 388.2 MB, free: 9.523 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.001388/0.5755, allocations: 448.9 kB / 388.6 MB, free: 9.441 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.5756, allocations: 84.95 kB / 388.7 MB, free: 9.348 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004129/0.576, allocations: 271.1 kB / 389 MB, free: 9.246 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.602e-05/0.5761, allocations: 36.58 kB / 389 MB, free: 9.215 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.5762, allocations: 218 kB / 389.2 MB, free: 9.078 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.5764, allocations: 136.4 kB / 389.4 MB, free: 8.996 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/0.5764, allocations: 6.688 kB / 389.4 MB, free: 8.996 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.485e-05/0.5765, allocations: 346 kB / 389.7 MB, free: 8.684 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002974/0.5768, allocations: 113.8 kB / 389.8 MB, free: 8.684 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003476/0.5772, allocations: 232.6 kB / 390.1 MB, free: 8.539 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003337/0.5775, allocations: 136.6 kB / 390.2 MB, free: 8.523 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.5776, allocations: 3.875 kB / 390.2 MB, free: 8.523 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001147/0.5787, allocations: 482.5 kB / 390.7 MB, free: 8.434 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.5788, allocations: 12.11 kB / 390.7 MB, free: 8.434 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.5788, allocations: 0 / 390.7 MB, free: 8.434 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006837/0.5795, allocations: 146.5 kB / 390.8 MB, free: 8.422 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004212/0.5799, allocations: 63.5 kB / 390.9 MB, free: 8.418 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003424/0.5833, allocations: 2.295 MB / 393.2 MB, free: 7.004 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005336/0.5839, allocations: 49.28 kB / 393.2 MB, free: 6.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.042e-05/0.584, allocations: 15.16 kB / 393.2 MB, free: 6.98 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.0001679/0.5842, allocations: 140 kB / 393.4 MB, free: 6.863 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.099e-05/0.5843, allocations: 45.36 kB / 393.4 MB, free: 6.836 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001274/0.5844, allocations: 46.02 kB / 393.5 MB, free: 6.828 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.5844, allocations: 7.844 kB / 393.5 MB, free: 6.828 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.5844, allocations: 3.953 kB / 393.5 MB, free: 6.824 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.5844, allocations: 3.188 kB / 393.5 MB, free: 6.824 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001907/0.5864, allocations: 1.001 MB / 394.5 MB, free: 6.477 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.5864, allocations: 3.906 kB / 394.5 MB, free: 6.477 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000326/0.5867, allocations: 41.81 kB / 394.5 MB, free: 6.473 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006078/0.5874, allocations: 137.5 kB / 394.7 MB, free: 6.461 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.024e-05/0.5874, allocations: 15.38 kB / 394.7 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003563/0.591, allocations: 2.289 MB / 397 MB, free: 21.07 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.5911, allocations: 7.672 kB / 397 MB, free: 21.06 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00149/0.5925, allocations: 0.6916 MB / 397.7 MB, free: 20.86 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002412/0.5928, allocations: 147.5 kB / 397.8 MB, free: 20.74 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.087e-05/0.5929, allocations: 9.844 kB / 397.8 MB, free: 20.74 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003939/0.5933, allocations: 15.72 kB / 397.8 MB, free: 20.74 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.5935, allocations: 34.39 kB / 397.9 MB, free: 20.74 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.864e-05/0.5935, allocations: 16.97 kB / 397.9 MB, free: 20.74 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003179/0.5938, allocations: 219.8 kB / 398.1 MB, free: 20.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5939, allocations: 0 / 398.1 MB, free: 20.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008427/0.5947, allocations: 145.2 kB / 398.2 MB, free: 20.64 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.001902/0.5966, allocations: 1.331 MB / 399.6 MB, free: 19.82 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001196/0.5979, allocations: 0.4924 MB / 400.1 MB, free: 19.68 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.5979, allocations: 192 / 400.1 MB, free: 19.68 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007133/0.5986, allocations: 358.7 kB / 400.4 MB, free: 19.54 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006891/0.5993, allocations: 76.67 kB / 400.5 MB, free: 19.53 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002412/0.6017, allocations: 0.6894 MB / 401.2 MB, free: 19.26 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005001/0.6023, allocations: 0.832 MB / 402 MB, free: 18.56 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002439/0.6026, allocations: 39.52 kB / 402.1 MB, free: 18.55 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002314/0.6028, allocations: 137.6 kB / 402.2 MB, free: 18.54 MB / 330.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6028, allocations: 4 kB / 402.2 MB, free: 18.54 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04953/0.6524, allocations: 9.547 MB / 411.7 MB, free: 16.26 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002506/0.6527, allocations: 232.4 kB / 412 MB, free: 16.03 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.921/3.573, allocations: 0 / 412 MB, free: 16.03 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