Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RL,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_ThyristorBridge2mPulse_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.056/2.056, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.851e-05/2.861e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3611, allocations: 44.5 MB / 294.2 MB, free: 14.47 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1961/0.5573, allocations: 86.6 MB / 380.8 MB, free: 11.29 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004396/0.5578, allocations: 91.94 kB / 380.9 MB, free: 11.2 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4942/1.052, allocations: 46.54 MB / 427.5 MB, free: 93.19 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.416e-06/1.052, allocations: 0 / 427.5 MB, free: 93.19 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003328/1.052, allocations: 51.09 kB / 427.5 MB, free: 93.18 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: 442 * Number of variables: 442 Notification: Performance of Generate backend data structure: time 0.01058/1.063, allocations: 1.941 MB / 429.5 MB, free: 92.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.645e-05/1.063, allocations: 10.09 kB / 429.5 MB, free: 92.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001695/1.065, allocations: 220 kB / 429.7 MB, free: 92.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01135/1.076, allocations: 2.065 MB / 431.8 MB, free: 91.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002113/1.077, allocations: 57.16 kB / 431.8 MB, free: 91.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008217/1.077, allocations: 105.2 kB / 431.9 MB, free: 91.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008043/1.085, allocations: 1.806 MB / 433.7 MB, free: 91.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00909/1.095, allocations: 2.094 MB / 435.8 MB, free: 91.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.525e-05/1.095, allocations: 11.2 kB / 435.8 MB, free: 91.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003399/1.095, allocations: 0 / 435.8 MB, free: 91.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001506/1.095, allocations: 75.95 kB / 435.9 MB, free: 91.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02439/1.12, allocations: 6.456 MB / 442.4 MB, free: 90.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00571/1.126, allocations: 1.621 MB / 444 MB, free: 89.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002783/1.128, allocations: 0.8712 MB / 444.8 MB, free: 89.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001353/1.129, allocations: 14.84 kB / 444.9 MB, free: 89.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002473/1.131, allocations: 0.842 MB / 445.7 MB, free: 88.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=122): time 6.893e-06/1.131, allocations: 4 kB / 445.7 MB, free: 88.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=122): time 0.005472/1.137, allocations: 1.539 MB / 447.2 MB, free: 88.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/1.137, allocations: 153.2 kB / 447.4 MB, free: 88.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002567/1.139, allocations: 0.9018 MB / 448.3 MB, free: 87.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004126/1.14, allocations: 59.67 kB / 448.4 MB, free: 87.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001178/1.141, allocations: 0.7547 MB / 449.1 MB, free: 87.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007135/1.142, allocations: 340.8 kB / 449.4 MB, free: 86.85 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/1.142, allocations: 0 / 449.4 MB, free: 86.85 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001598/1.142, allocations: 360 kB / 449.8 MB, free: 86.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001959/1.144, allocations: 0.6148 MB / 450.4 MB, free: 86.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002247/1.146, allocations: 0.876 MB / 451.3 MB, free: 85.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002104/1.149, allocations: 0.6598 MB / 451.9 MB, free: 85.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.882e-05/1.149, allocations: 3.938 kB / 452 MB, free: 85.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.005833/1.154, allocations: 1.797 MB / 453.7 MB, free: 84.83 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006537/1.155, allocations: 2.448 MB / 456.2 MB, free: 82.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.682e-05/1.155, allocations: 6.156 kB / 456.2 MB, free: 82.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003088/1.158, allocations: 494.6 kB / 456.7 MB, free: 82.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001771/1.16, allocations: 172.4 kB / 456.9 MB, free: 82.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009349/1.17, allocations: 5.123 MB / 462 MB, free: 79.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/1.171, allocations: 153.2 kB / 462.1 MB, free: 79.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000239/1.172, allocations: 46.94 kB / 462.2 MB, free: 79.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/1.172, allocations: 10.61 kB / 462.2 MB, free: 79.04 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003427/1.175, allocations: 1.645 MB / 463.8 MB, free: 78.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.181e-05/1.175, allocations: 7.469 kB / 463.8 MB, free: 78.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001572/1.177, allocations: 482.6 kB / 464.3 MB, free: 78.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/1.178, allocations: 167.2 kB / 464.5 MB, free: 78.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01514/1.193, allocations: 5.127 MB / 469.6 MB, free: 74.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002462/1.196, allocations: 131.1 kB / 469.7 MB, free: 74.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002776/1.196, allocations: 51.48 kB / 469.8 MB, free: 74.73 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 69 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[1].off,$PRE.rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[2].off,$PRE.rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[3].off,$PRE.rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[1].off,$PRE.rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[2].off,$PRE.rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[3].off,$PRE.rectifier.pre_p[1].u,rectifier.pre_p[1].u,rectifier.pre_p[1].y,$PRE.rectifier.pre_p[2].u,rectifier.pre_p[2].u,rectifier.pre_p[2].y,$PRE.rectifier.pre_p[3].u,rectifier.pre_p[3].u,rectifier.pre_p[3].y,$PRE.rectifier.pre_n[1].u,rectifier.pre_n[1].u,rectifier.pre_n[1].y,$PRE.rectifier.pre_n[2].u,rectifier.pre_n[2].u,rectifier.pre_n[2].y,$PRE.rectifier.pre_n[3].u,rectifier.pre_n[3].u,rectifier.pre_n[3].y,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,$PRE.pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[1].entryTime,$PRE.pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,$PRE.pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,$PRE.pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,$PRE.pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,$PRE.pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 135 * 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 28} Notification: Performance of prepare postOptimizeDAE: time 0.0006538/1.197, allocations: 198.3 kB / 470 MB, free: 74.54 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005716/1.202, allocations: 1.551 MB / 471.5 MB, free: 73.19 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007693/1.203, allocations: 126.4 kB / 471.6 MB, free: 73.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007439/1.204, allocations: 146.3 kB / 471.8 MB, free: 72.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.068e-05/1.204, allocations: 12 kB / 471.8 MB, free: 72.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/1.204, allocations: 7.328 kB / 471.8 MB, free: 72.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.258e-05/1.204, allocations: 6.141 kB / 471.8 MB, free: 72.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01058/1.215, allocations: 3.203 MB / 475 MB, free: 70.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.28e-05/1.215, allocations: 0 / 475 MB, free: 70.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001348/1.216, allocations: 105.7 kB / 475.1 MB, free: 70.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002442/1.219, allocations: 465 kB / 475.6 MB, free: 69.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002468/1.219, allocations: 4 kB / 475.6 MB, free: 69.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01399/1.233, allocations: 5.015 MB / 480.6 MB, free: 65.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-05/1.233, allocations: 3.797 kB / 480.6 MB, free: 65.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007378/1.24, allocations: 2.466 MB / 483.1 MB, free: 63.15 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001405/1.242, allocations: 355.5 kB / 483.4 MB, free: 62.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004492/1.242, allocations: 19.94 kB / 483.4 MB, free: 62.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00187/1.244, allocations: 93.2 kB / 483.5 MB, free: 62.74 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001134/1.245, allocations: 222.7 kB / 483.7 MB, free: 62.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001524/1.246, allocations: 35.94 kB / 483.8 MB, free: 62.58 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001847/1.247, allocations: 0.6566 MB / 484.4 MB, free: 61.99 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.22e-07/1.247, allocations: 4 kB / 484.4 MB, free: 61.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004328/1.252, allocations: 0.7784 MB / 485.2 MB, free: 61.2 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 48 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.pre_p[1].u,rectifier.pre_p[1].y,rectifier.pre_p[2].u,rectifier.pre_p[2].y,rectifier.pre_p[3].u,rectifier.pre_p[3].y,rectifier.pre_n[1].u,rectifier.pre_n[1].y,rectifier.pre_n[2].u,rectifier.pre_n[2].y,rectifier.pre_n[3].u,rectifier.pre_n[3].y,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 15 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.pre_n[3].u,rectifier.pre_n[2].u,rectifier.pre_n[1].u,rectifier.pre_p[3].u,rectifier.pre_p[2].u,rectifier.pre_p[1].u,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.007819/1.26, allocations: 3.117 MB / 488.3 MB, free: 58.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.009194/1.269, allocations: 2.888 MB / 491.2 MB, free: 55.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/1.269, allocations: 4 kB / 491.2 MB, free: 55.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003059/1.272, allocations: 1.001 MB / 492.2 MB, free: 54.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003189/1.275, allocations: 271.3 kB / 492.5 MB, free: 54.67 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0121/1.287, allocations: 3.219 MB / 495.7 MB, free: 51.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002478/1.29, allocations: 1.716 MB / 497.4 MB, free: 49.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.004118/1.294, allocations: 0.5667 MB / 498 MB, free: 49.1 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001712/1.296, allocations: 0.5969 MB / 498.6 MB, free: 48.5 MB / 362.7 MB Notification: Performance of SimCode: time 1.904e-06/1.296, allocations: 4 kB / 498.6 MB, free: 48.5 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1221/1.418, allocations: 38.52 MB / 0.5245 GB, free: 10.25 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002415/1.418, allocations: 196.3 kB / 0.5247 GB, free: 9.988 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.175/5.593, allocations: 4.031 kB / 0.5247 GB, free: 9.984 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.ThyristorBridge2mPulse_RL_res.mat does not exist to compare? outputFormat=mat