Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.147/2.147, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.318e-05/2.328e-05, allocations: 0 / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3515, allocations: 44.5 MB / 294.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1549/0.5065, allocations: 85.68 MB / 379.9 MB, free: 12.14 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003385/0.5068, allocations: 87.94 kB / 380 MB, free: 12.06 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2049/0.7117, allocations: 35.42 MB / 415.4 MB, free: 8.383 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.7118, allocations: 4 kB / 415.4 MB, free: 8.379 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002915/0.7121, allocations: 47.94 kB / 415.5 MB, free: 8.332 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: 440 * Number of variables: 440 Notification: Performance of Generate backend data structure: time 0.007442/0.7196, allocations: 1.985 MB / 417.5 MB, free: 6.289 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/0.7197, allocations: 8.031 kB / 417.5 MB, free: 6.281 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008937/0.7206, allocations: 225.3 kB / 417.7 MB, free: 6.059 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007446/0.7281, allocations: 1.972 MB / 419.7 MB, free: 4.031 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.7282, allocations: 59.94 kB / 419.7 MB, free: 3.973 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004355/0.7287, allocations: 104 kB / 419.8 MB, free: 3.871 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005158/0.7338, allocations: 1.858 MB / 421.7 MB, free: 2.012 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2562/0.9901, allocations: 2.09 MB / 423.8 MB, free: 93.56 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.571e-05/0.9902, allocations: 6.734 kB / 423.8 MB, free: 93.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002576/0.9905, allocations: 7.844 kB / 423.8 MB, free: 93.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001732/0.9907, allocations: 74.3 kB / 423.8 MB, free: 93.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01846/1.009, allocations: 6.916 MB / 430.8 MB, free: 91.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004417/1.014, allocations: 1.568 MB / 432.3 MB, free: 91.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002176/1.016, allocations: 0.8671 MB / 433.2 MB, free: 91.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001242/1.016, allocations: 12.61 kB / 433.2 MB, free: 91.85 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001845/1.018, allocations: 0.7985 MB / 434 MB, free: 91.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=113): time 3.927e-06/1.018, allocations: 1.281 kB / 434 MB, free: 91.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=113): time 0.003269/1.021, allocations: 1.409 MB / 435.4 MB, free: 91.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.505e-05/1.021, allocations: 127.2 kB / 435.5 MB, free: 91.51 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001967/1.023, allocations: 0.9745 MB / 436.5 MB, free: 91.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002733/1.024, allocations: 41.31 kB / 436.6 MB, free: 91.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000819/1.024, allocations: 0.7746 MB / 437.3 MB, free: 91.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004712/1.025, allocations: 317.6 kB / 437.6 MB, free: 90.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.148e-05/1.025, allocations: 0 / 437.6 MB, free: 90.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/1.025, allocations: 353.8 kB / 438 MB, free: 90.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001248/1.026, allocations: 0.5666 MB / 438.6 MB, free: 90.33 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/1.028, allocations: 0.7726 MB / 439.3 MB, free: 89.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/1.029, allocations: 0.5792 MB / 439.9 MB, free: 89.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.165e-05/1.029, allocations: 3.312 kB / 439.9 MB, free: 89.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003521/1.033, allocations: 1.615 MB / 441.5 MB, free: 89.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004381/1.033, allocations: 1.924 MB / 443.4 MB, free: 87.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.868e-05/1.033, allocations: 7.156 kB / 443.5 MB, free: 87.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00147/1.035, allocations: 419 kB / 443.9 MB, free: 86.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/1.036, allocations: 181.3 kB / 444 MB, free: 86.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00777/1.044, allocations: 4.307 MB / 448.3 MB, free: 84.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001755/1.046, allocations: 155.5 kB / 448.5 MB, free: 84.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001997/1.046, allocations: 41.89 kB / 448.5 MB, free: 84.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/1.046, allocations: 3.844 kB / 448.5 MB, free: 84.3 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003388/1.049, allocations: 1.461 MB / 450 MB, free: 83.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.888e-05/1.049, allocations: 3.906 kB / 450 MB, free: 83.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001391/1.051, allocations: 420.4 kB / 450.4 MB, free: 83.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/1.052, allocations: 172.7 kB / 450.6 MB, free: 83.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007246/1.059, allocations: 4.317 MB / 454.9 MB, free: 81.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/1.061, allocations: 133.3 kB / 455 MB, free: 81.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001579/1.061, allocations: 36.72 kB / 455.1 MB, free: 81.03 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 57 ($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,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,rectifier.andCondition_n[1].y,rectifier.andCondition_n[2].y,rectifier.andCondition_n[3].y,$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,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 (121): * Single equations (assignments): 120 * 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 21} Notification: Performance of prepare postOptimizeDAE: time 0.0004419/1.062, allocations: 190.5 kB / 455.3 MB, free: 80.9 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003228/1.065, allocations: 1.409 MB / 456.7 MB, free: 80.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000413/1.065, allocations: 122.2 kB / 456.8 MB, free: 80.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005142/1.066, allocations: 147.3 kB / 456.9 MB, free: 80.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/1.066, allocations: 11.12 kB / 456.9 MB, free: 80.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/1.066, allocations: 3.953 kB / 456.9 MB, free: 80.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.486e-05/1.066, allocations: 6.938 kB / 457 MB, free: 80.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007863/1.074, allocations: 3.251 MB / 460.2 MB, free: 78.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/1.074, allocations: 2.578 kB / 460.2 MB, free: 78.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009776/1.075, allocations: 121.1 kB / 460.3 MB, free: 78.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001205/1.076, allocations: 389.7 kB / 460.7 MB, free: 78.74 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.577e-05/1.076, allocations: 7.422 kB / 460.7 MB, free: 78.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007079/1.083, allocations: 4.201 MB / 464.9 MB, free: 76.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/1.083, allocations: 3.281 kB / 464.9 MB, free: 76.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004709/1.088, allocations: 2.382 MB / 467.3 MB, free: 75.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009782/1.089, allocations: 359.9 kB / 467.6 MB, free: 74.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003142/1.089, allocations: 18.47 kB / 467.7 MB, free: 74.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/1.091, allocations: 91.14 kB / 467.8 MB, free: 74.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007504/1.091, allocations: 219.4 kB / 468 MB, free: 74.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/1.092, allocations: 34.83 kB / 468 MB, free: 74.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001299/1.093, allocations: 0.7217 MB / 468.7 MB, free: 74.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.41e-07/1.093, allocations: 0 / 468.7 MB, free: 74.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002968/1.096, allocations: 0.776 MB / 469.5 MB, free: 74.12 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: 42 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,rectifier.andCondition_n[1].y,rectifier.andCondition_n[2].y,rectifier.andCondition_n[3].y,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,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: 9 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 77 * 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 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.005/1.101, allocations: 2.992 MB / 472.5 MB, free: 71.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005546/1.107, allocations: 2.661 MB / 475.2 MB, free: 69.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/1.107, allocations: 4.25 kB / 475.2 MB, free: 69.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001966/1.109, allocations: 0.9364 MB / 476.1 MB, free: 68.21 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001954/1.111, allocations: 244.5 kB / 476.3 MB, free: 68.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007977/1.119, allocations: 3.264 MB / 479.6 MB, free: 65.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001612/1.12, allocations: 1.747 MB / 481.3 MB, free: 63.79 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00265/1.123, allocations: 0.5746 MB / 481.9 MB, free: 63.42 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001166/1.124, allocations: 0.6087 MB / 482.5 MB, free: 62.86 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/1.124, allocations: 0 / 482.5 MB, free: 62.86 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1477/1.272, allocations: 36.68 MB / 0.507 GB, free: 26.75 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002136/1.272, allocations: 211.5 kB / 0.5072 GB, free: 26.45 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.133/5.405, allocations: 0 / 0.5072 GB, free: 26.45 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL_res.mat does not exist to compare? outputFormat=mat