Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.983/1.983, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.518e-05/3.522e-05, allocations: 0 / 255.5 MB, free: 2.594 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09597/0.09605, allocations: 44.52 MB / 300 MB, free: 6.023 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4518/0.5479, allocations: 79.25 MB / 379.3 MB, free: 12.3 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003214/0.5483, allocations: 86.38 kB / 379.3 MB, free: 12.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08478/0.6331, allocations: 20.39 MB / 399.7 MB, free: 9.176 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.6332, allocations: 0 / 399.7 MB, free: 9.176 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001423/0.6333, allocations: 27 kB / 399.8 MB, free: 9.172 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.004515/0.6379, allocations: 1.281 MB / 401 MB, free: 8.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.6379, allocations: 11.72 kB / 401.1 MB, free: 8.32 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005652/0.6385, allocations: 154.4 kB / 401.2 MB, free: 8.258 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004646/0.639, allocations: 136.5 kB / 401.3 MB, free: 8.191 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006459/0.6455, allocations: 1.678 MB / 403 MB, free: 7.496 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.232e-05/0.6456, allocations: 69.78 kB / 403.1 MB, free: 7.496 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003876/0.646, allocations: 101.1 kB / 403.2 MB, free: 7.496 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003665/0.6497, allocations: 1.373 MB / 404.6 MB, free: 7.109 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.495e-05/0.6498, allocations: 7.891 kB / 404.6 MB, free: 7.102 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000164/0.65, allocations: 38.41 kB / 404.6 MB, free: 7.102 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.208e-05/0.6501, allocations: 43.91 kB / 404.6 MB, free: 7.098 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003443/0.6535, allocations: 1.169 MB / 405.8 MB, free: 6.957 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01097/0.6646, allocations: 4.324 MB / 410.1 MB, free: 4.984 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00264/0.6673, allocations: 1.936 MB / 412.1 MB, free: 3.688 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001875/0.6692, allocations: 0.7394 MB / 412.8 MB, free: 3.578 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.092e-05/0.6693, allocations: 4.688 kB / 412.8 MB, free: 3.578 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001315/0.6707, allocations: 0.5711 MB / 413.4 MB, free: 3.383 MB / 314.7 MB Notification: Performance of pre-optimization done (n=75): time 4.398e-06/0.6707, allocations: 0 / 413.4 MB, free: 3.383 MB / 314.7 MB Notification: Performance of matching and sorting (n=75): time 0.003137/0.6739, allocations: 1.226 MB / 414.6 MB, free: 3.09 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/0.674, allocations: 111.4 kB / 414.7 MB, free: 2.961 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001627/0.6756, allocations: 0.7253 MB / 415.4 MB, free: 2.758 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002472/0.6759, allocations: 48.27 kB / 415.5 MB, free: 2.719 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005174/0.6765, allocations: 489.4 kB / 416 MB, free: 2.449 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003874/0.6769, allocations: 238.9 kB / 416.2 MB, free: 2.281 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.418e-05/0.677, allocations: 15.22 kB / 416.2 MB, free: 2.281 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002172/0.6772, allocations: 394 kB / 416.6 MB, free: 1.941 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008686/0.6781, allocations: 374.5 kB / 417 MB, free: 1.895 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000976/0.6791, allocations: 0.5142 MB / 417.5 MB, free: 1.684 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009424/0.6801, allocations: 416.8 kB / 417.9 MB, free: 1.605 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.246e-06/0.6801, allocations: 0 / 417.9 MB, free: 1.605 MB / 314.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003059/0.6832, allocations: 1.242 MB / 419.1 MB, free: 1.328 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.09e-05/0.6833, allocations: 3.875 kB / 419.1 MB, free: 1.328 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.6833, allocations: 3.844 kB / 419.1 MB, free: 1.328 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001739/0.685, allocations: 475 kB / 419.6 MB, free: 1.219 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007424/0.6858, allocations: 89.08 kB / 419.7 MB, free: 1.203 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01064/0.6965, allocations: 5.1 MB / 424.8 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.6978, allocations: 89.58 kB / 424.9 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001461/0.6979, allocations: 23.38 kB / 424.9 MB, free: 14.64 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: 15 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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 {6 30} Notification: Performance of prepare postOptimizeDAE: time 0.0003161/0.6983, allocations: 158.2 kB / 425.1 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000289/0.6986, allocations: 85.81 kB / 425.1 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004163/0.699, allocations: 107.9 kB / 425.2 MB, free: 14.37 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.699, allocations: 15.7 kB / 425.3 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.6991, allocations: 0 / 425.3 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/0.6991, allocations: 7.969 kB / 425.3 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006986/0.7061, allocations: 2.585 MB / 427.9 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.7061, allocations: 0 / 427.9 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006261/0.7068, allocations: 66.34 kB / 427.9 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001714/0.7085, allocations: 463.9 kB / 428.4 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001364/0.7087, allocations: 11.88 kB / 428.4 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01069/0.7194, allocations: 5.042 MB / 433.4 MB, free: 8.93 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.7195, allocations: 0 / 433.4 MB, free: 8.93 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004392/0.7239, allocations: 1.861 MB / 435.3 MB, free: 7.883 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009424/0.7249, allocations: 266.8 kB / 435.5 MB, free: 7.668 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003136/0.7252, allocations: 19.66 kB / 435.6 MB, free: 7.652 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009044/0.7261, allocations: 42.83 kB / 435.6 MB, free: 7.633 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003191/0.7265, allocations: 79.34 kB / 435.7 MB, free: 7.586 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.182e-05/0.7266, allocations: 19.47 kB / 435.7 MB, free: 7.582 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001283/0.7279, allocations: 0.5731 MB / 436.3 MB, free: 7.273 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.966e-06/0.7279, allocations: 0 / 436.3 MB, free: 7.273 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001787/0.7297, allocations: 352.1 kB / 436.6 MB, free: 7.188 MB / 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: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].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 (40): * Single equations (assignments): 36 * 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 {6 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.004947/0.7347, allocations: 2.437 MB / 439.1 MB, free: 5.586 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003444/0.7382, allocations: 1.204 MB / 440.3 MB, free: 4.91 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.7383, allocations: 4.062 kB / 440.3 MB, free: 4.906 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002313/0.7406, allocations: 0.7728 MB / 441 MB, free: 4.188 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002205/0.7429, allocations: 244.7 kB / 441.3 MB, free: 3.953 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007854/0.7508, allocations: 2.131 MB / 443.4 MB, free: 1.781 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00149/0.7524, allocations: 1.341 MB / 444.7 MB, free: 416 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008566/0.7533, allocations: 139.2 kB / 444.9 MB, free: 272 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001047/0.7544, allocations: 382.6 kB / 445.3 MB, free: 15.92 MB / 346.7 MB Notification: Performance of SimCode: time 1.343e-06/0.7544, allocations: 4 kB / 445.3 MB, free: 15.92 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08566/0.8401, allocations: 26.25 MB / 471.5 MB, free: 5.703 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000348/0.8405, allocations: 222 kB / 471.7 MB, free: 5.477 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.444/4.285, allocations: 4.062 kB / 471.7 MB, free: 5.473 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat does not exist to compare? outputFormat=mat