Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_DC_Drive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.174/2.174, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.111e-05/4.119e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3353, allocations: 44.49 MB / 294.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2063/0.5416, allocations: 99.83 MB / 394.1 MB, free: 13.97 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004157/0.5421, allocations: 87.95 kB / 394.2 MB, free: 13.89 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.423/0.9651, allocations: 35.79 MB / 429.9 MB, free: 92.87 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.9652, allocations: 0 / 429.9 MB, free: 92.87 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001909/0.9654, allocations: 38.95 kB / 430 MB, free: 92.87 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 365 * Number of variables: 365 Notification: Performance of Generate backend data structure: time 0.005876/0.9713, allocations: 1.728 MB / 431.7 MB, free: 92.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.9713, allocations: 12.19 kB / 431.7 MB, free: 92.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001484/0.9728, allocations: 247.7 kB / 432 MB, free: 91.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004713/0.9776, allocations: 1.269 MB / 433.2 MB, free: 91.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/0.9778, allocations: 49.97 kB / 433.3 MB, free: 91.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005463/0.9783, allocations: 98.25 kB / 433.4 MB, free: 91.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003879/0.9822, allocations: 1.056 MB / 434.4 MB, free: 91.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004098/0.9864, allocations: 1.289 MB / 435.7 MB, free: 91.35 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-05/0.9865, allocations: 8.297 kB / 435.7 MB, free: 91.35 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001784/0.9867, allocations: 3.562 kB / 435.7 MB, free: 91.35 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-05/0.9868, allocations: 38.38 kB / 435.8 MB, free: 91.35 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01453/1.001, allocations: 6.098 MB / 441.9 MB, free: 88.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002826/1.004, allocations: 0.9733 MB / 442.8 MB, free: 88.92 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001385/1.006, allocations: 0.5137 MB / 443.4 MB, free: 88.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/1.006, allocations: 16.61 kB / 443.4 MB, free: 88.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001263/1.007, allocations: 0.516 MB / 443.9 MB, free: 88.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=92): time 4.398e-06/1.007, allocations: 0 / 443.9 MB, free: 88.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=95): time 0.006012/1.013, allocations: 2.232 MB / 446.1 MB, free: 87.58 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.183e-05/1.013, allocations: 174.4 kB / 446.3 MB, free: 87.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002372/1.016, allocations: 0.981 MB / 447.3 MB, free: 86.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002606/1.016, allocations: 32.23 kB / 447.3 MB, free: 86.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007551/1.017, allocations: 0.7659 MB / 448.1 MB, free: 86.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000475/1.017, allocations: 306.7 kB / 448.4 MB, free: 86.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.824e-05/1.017, allocations: 0 / 448.4 MB, free: 86.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/1.017, allocations: 350.6 kB / 448.7 MB, free: 85.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009816/1.018, allocations: 392.2 kB / 449.1 MB, free: 85.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/1.02, allocations: 0.7942 MB / 449.9 MB, free: 84.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/1.021, allocations: 482 kB / 450.4 MB, free: 84.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.658e-05/1.021, allocations: 3.875 kB / 450.4 MB, free: 84.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.003845/1.025, allocations: 1.432 MB / 451.8 MB, free: 84.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001132/1.026, allocations: 5.05 MB / 456.8 MB, free: 78.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.456e-05/1.026, allocations: 17.44 kB / 456.9 MB, free: 78.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/1.027, allocations: 215.1 kB / 457.1 MB, free: 78.65 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002105/1.029, allocations: 312 kB / 457.4 MB, free: 78.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005198/1.035, allocations: 3.799 MB / 461.2 MB, free: 75.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002351/1.037, allocations: 146.2 kB / 461.3 MB, free: 75.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000286/1.037, allocations: 63.58 kB / 461.4 MB, free: 75.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/1.037, allocations: 3.781 kB / 461.4 MB, free: 75.38 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003028/1.04, allocations: 1.254 MB / 462.6 MB, free: 74.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.682e-05/1.04, allocations: 11.62 kB / 462.7 MB, free: 74.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008147/1.041, allocations: 214 kB / 462.9 MB, free: 74.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002037/1.043, allocations: 301.5 kB / 463.2 MB, free: 74.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005033/1.048, allocations: 3.806 MB / 467 MB, free: 71.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002178/1.051, allocations: 134.3 kB / 467.1 MB, free: 71.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002961/1.051, allocations: 63.81 kB / 467.2 MB, free: 71.49 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n2.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 142 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004578/1.051, allocations: 163.7 kB / 467.3 MB, free: 71.34 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002738/1.054, allocations: 1.066 MB / 468.4 MB, free: 70.85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004813/1.055, allocations: 134 kB / 468.5 MB, free: 70.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002891/1.058, allocations: 1.109 MB / 469.6 MB, free: 70.26 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/1.058, allocations: 9.781 kB / 469.6 MB, free: 70.26 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.058, allocations: 0 / 469.6 MB, free: 70.26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/1.058, allocations: 3.844 kB / 469.6 MB, free: 70.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006106/1.064, allocations: 2.45 MB / 472.1 MB, free: 69.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/1.064, allocations: 0 / 472.1 MB, free: 69.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001396/1.065, allocations: 162.2 kB / 472.2 MB, free: 69.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009347/1.066, allocations: 187.6 kB / 472.4 MB, free: 68.99 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001983/1.067, allocations: 21.67 kB / 472.4 MB, free: 68.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004977/1.071, allocations: 3.661 MB / 476.1 MB, free: 65.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/1.072, allocations: 7.688 kB / 476.1 MB, free: 65.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003816/1.075, allocations: 1.713 MB / 477.8 MB, free: 64.35 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001885/1.077, allocations: 311.5 kB / 478.1 MB, free: 64.06 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005451/1.078, allocations: 8 kB / 478.1 MB, free: 64.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00181/1.08, allocations: 124.5 kB / 478.3 MB, free: 63.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005314/1.08, allocations: 103.1 kB / 478.4 MB, free: 63.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.691e-05/1.08, allocations: 31.84 kB / 478.4 MB, free: 63.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001561/1.082, allocations: 0.7148 MB / 479.1 MB, free: 63.24 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.353e-06/1.082, allocations: 0 / 479.1 MB, free: 63.24 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003618/1.086, allocations: 0.5345 MB / 479.6 MB, free: 62.71 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,pulse2.twoPulse.filter[1].firstOrder.y,pulse2.twoPulse.filter[1].transferFunction[1].x_scaled[1],pulse2.twoPulse.filter[1].transferFunction[2].x_scaled[1],inductor.i,dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,lMains.i) * Number of discrete variables: 20 (pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 1 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.004551/1.09, allocations: 2.804 MB / 482.4 MB, free: 60.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.008336/1.099, allocations: 2.217 MB / 484.7 MB, free: 57.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/1.099, allocations: 0 / 484.7 MB, free: 57.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002925/1.102, allocations: 0.7914 MB / 485.5 MB, free: 57.16 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003137/1.105, allocations: 252.1 kB / 485.7 MB, free: 56.97 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008291/1.113, allocations: 2.629 MB / 488.3 MB, free: 54.64 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009748/1.114, allocations: 1.333 MB / 489.7 MB, free: 53.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002528/1.117, allocations: 427.9 kB / 490.1 MB, free: 53.24 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001059/1.118, allocations: 0.5698 MB / 490.6 MB, free: 52.72 MB / 362.7 MB Notification: Performance of SimCode: time 1.272e-06/1.118, allocations: 0 / 490.6 MB, free: 52.72 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1241/1.242, allocations: 32.07 MB / 0.5105 GB, free: 22.45 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002542/1.242, allocations: 205.2 kB / 0.5107 GB, free: 22.18 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.226/5.468, allocations: 0 / 0.5107 GB, free: 22.18 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive_res.mat does not exist to compare? outputFormat=mat