Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.175/2.175, allocations: 225.8 MB / 239.3 MB, free: 1.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.996e-05/3.019e-05, allocations: 4 kB / 292.8 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1102, allocations: 50.41 MB / 343.2 MB, free: 8.98 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4494/0.5597, allocations: 85.49 MB / 428.7 MB, free: 7.496 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/0.56, allocations: 78.42 kB / 428.7 MB, free: 7.484 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07632/0.6364, allocations: 20.82 MB / 449.6 MB, free: 15.22 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.6364, allocations: 0 / 449.6 MB, free: 15.22 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001102/0.6365, allocations: 38.55 kB / 449.6 MB, free: 15.21 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003935/0.6405, allocations: 1.296 MB / 450.9 MB, free: 14.36 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.6405, allocations: 7.688 kB / 450.9 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004197/0.641, allocations: 155.1 kB / 451 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003984/0.6414, allocations: 143.9 kB / 451.2 MB, free: 14.22 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006593/0.648, allocations: 1.683 MB / 452.9 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.805e-05/0.6481, allocations: 72.06 kB / 452.9 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002567/0.6484, allocations: 95.81 kB / 453 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003481/0.6519, allocations: 1.38 MB / 454.4 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.194e-05/0.6519, allocations: 0 / 454.4 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001554/0.6521, allocations: 42.19 kB / 454.5 MB, free: 12.65 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.522e-05/0.6522, allocations: 45.98 kB / 454.5 MB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003061/0.6553, allocations: 1.157 MB / 455.7 MB, free: 11.9 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01045/0.6658, allocations: 4.358 MB / 460 MB, free: 8.613 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002774/0.6686, allocations: 1.927 MB / 461.9 MB, free: 6.875 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001911/0.6705, allocations: 0.7215 MB / 462.7 MB, free: 6.375 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.503e-05/0.6706, allocations: 16.61 kB / 462.7 MB, free: 6.363 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001294/0.6719, allocations: 0.566 MB / 463.2 MB, free: 5.941 MB / 346.7 MB Notification: Performance of pre-optimization done (n=75): time 3.477e-06/0.672, allocations: 0 / 463.2 MB, free: 5.941 MB / 346.7 MB Notification: Performance of matching and sorting (n=75): time 0.003312/0.6753, allocations: 1.223 MB / 464.5 MB, free: 5.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.783e-05/0.6754, allocations: 111.6 kB / 464.6 MB, free: 4.938 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/0.677, allocations: 0.7304 MB / 465.3 MB, free: 4.383 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001378/0.6772, allocations: 40.77 kB / 465.3 MB, free: 4.348 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005522/0.6777, allocations: 494 kB / 465.8 MB, free: 4.008 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003166/0.6781, allocations: 239.5 kB / 466.1 MB, free: 3.809 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.002e-05/0.6781, allocations: 15.06 kB / 466.1 MB, free: 3.805 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002255/0.6784, allocations: 394.1 kB / 466.5 MB, free: 3.445 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008747/0.6792, allocations: 373.5 kB / 466.8 MB, free: 3.211 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009828/0.6802, allocations: 0.515 MB / 467.3 MB, free: 2.797 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.6813, allocations: 417.4 kB / 467.8 MB, free: 2.531 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.6813, allocations: 0 / 467.8 MB, free: 2.531 MB / 346.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003178/0.6845, allocations: 1.246 MB / 469 MB, free: 1.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.6845, allocations: 8 kB / 469 MB, free: 1.473 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.6846, allocations: 4.438 kB / 469 MB, free: 1.469 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00186/0.6864, allocations: 476.3 kB / 469.5 MB, free: 1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007348/0.6872, allocations: 99.83 kB / 469.6 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0108/0.698, allocations: 5.083 MB / 474.7 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.6991, allocations: 87.39 kB / 474.7 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.137e-05/0.6992, allocations: 28 kB / 474.8 MB, free: 11.57 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: 15 ($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_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.0002694/0.6995, allocations: 149.8 kB / 474.9 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001873/0.6997, allocations: 86.97 kB / 475 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000352/0.7001, allocations: 120.5 kB / 475.1 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.7001, allocations: 4 kB / 475.1 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.7001, allocations: 4 kB / 475.1 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.7001, allocations: 7.922 kB / 475.1 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00635/0.7065, allocations: 2.583 MB / 477.7 MB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.036e-06/0.7065, allocations: 4 kB / 477.7 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005826/0.7071, allocations: 67.91 kB / 477.8 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001733/0.7089, allocations: 448.5 kB / 478.2 MB, free: 8.047 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.575e-05/0.709, allocations: 19.98 kB / 478.2 MB, free: 8.027 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01055/0.7195, allocations: 5.063 MB / 483.3 MB, free: 2.828 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.7196, allocations: 4 kB / 483.3 MB, free: 2.824 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004333/0.7239, allocations: 1.849 MB / 485.2 MB, free: 0.957 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007837/0.7248, allocations: 275.9 kB / 485.4 MB, free: 0.668 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002383/0.725, allocations: 12 kB / 485.4 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008163/0.7259, allocations: 51.94 kB / 485.5 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003061/0.7262, allocations: 76.67 kB / 485.6 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.051e-05/0.7263, allocations: 19.98 kB / 485.6 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001244/0.7275, allocations: 0.5811 MB / 486.2 MB, free: 15.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.7275, allocations: 0 / 486.2 MB, free: 15.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00158/0.7291, allocations: 347 kB / 486.5 MB, free: 15.59 MB / 378.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_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 (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.004828/0.734, allocations: 2.449 MB / 489 MB, free: 13.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003247/0.7373, allocations: 1.197 MB / 490.2 MB, free: 11.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/0.7373, allocations: 0.875 kB / 490.2 MB, free: 11.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002032/0.7394, allocations: 0.7778 MB / 490.9 MB, free: 11.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002005/0.7414, allocations: 248.4 kB / 491.2 MB, free: 10.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006577/0.748, allocations: 2.127 MB / 493.3 MB, free: 8.711 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001441/0.7495, allocations: 1.349 MB / 494.6 MB, free: 7.332 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000858/0.7504, allocations: 147.2 kB / 494.8 MB, free: 7.184 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008272/0.7512, allocations: 375.3 kB / 495.2 MB, free: 6.82 MB / 378.7 MB Notification: Performance of SimCode: time 1.222e-06/0.7512, allocations: 0 / 495.2 MB, free: 6.82 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09909/0.8503, allocations: 26.26 MB / 0.5092 GB, free: 12.98 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004002/0.8508, allocations: 231.1 kB / 0.5094 GB, free: 12.76 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.276/4.126, allocations: 0 / 0.5094 GB, free: 12.76 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat does not exist to compare? outputFormat=mat