Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.057/2.057, allocations: 194.9 MB / 208 MB, free: 3.188 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.693e-05/4.702e-05, allocations: 4 kB / 255.5 MB, free: 2.598 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1401, allocations: 44.5 MB / 300 MB, free: 6.031 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4751/0.6152, allocations: 86.59 MB / 386.6 MB, free: 12.83 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004985/0.6158, allocations: 84.36 kB / 386.6 MB, free: 12.83 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1527/0.7685, allocations: 36.06 MB / 422.7 MB, free: 1.691 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.776e-06/0.7685, allocations: 0 / 422.7 MB, free: 1.691 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001748/0.7687, allocations: 48.75 kB / 422.8 MB, free: 1.684 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: 446 * Number of variables: 446 Notification: Performance of Generate backend data structure: time 0.006576/0.7753, allocations: 2.004 MB / 424.8 MB, free: 472 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.7754, allocations: 9.656 kB / 424.8 MB, free: 472 kB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009093/0.7763, allocations: 254.9 kB / 425 MB, free: 380 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000679/0.777, allocations: 228.9 kB / 425.2 MB, free: 260 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009365/0.7864, allocations: 1.975 MB / 427.2 MB, free: 15.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002815/0.7867, allocations: 140.2 kB / 427.3 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009768/0.7877, allocations: 174.2 kB / 427.5 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0101/0.7979, allocations: 2.359 MB / 429.9 MB, free: 14.86 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.2e-05/0.798, allocations: 0 / 429.9 MB, free: 14.86 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004662/0.7985, allocations: 80.95 kB / 430 MB, free: 14.85 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001513/0.7987, allocations: 76.34 kB / 430 MB, free: 14.84 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0087/0.8074, allocations: 1.968 MB / 432 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03044/0.8379, allocations: 7.302 MB / 439.3 MB, free: 8.887 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007466/0.8455, allocations: 1.636 MB / 440.9 MB, free: 7.242 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003908/0.8494, allocations: 0.9168 MB / 441.9 MB, free: 6.324 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002257/0.8497, allocations: 13 kB / 441.9 MB, free: 6.312 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002689/0.8524, allocations: 0.8361 MB / 442.7 MB, free: 5.461 MB / 330.7 MB Notification: Performance of pre-optimization done (n=114): time 7.554e-06/0.8525, allocations: 0 / 442.7 MB, free: 5.461 MB / 330.7 MB Notification: Performance of matching and sorting (n=114): time 0.006067/0.8586, allocations: 1.489 MB / 444.2 MB, free: 3.961 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001571/0.8588, allocations: 127.8 kB / 444.3 MB, free: 3.812 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003802/0.8626, allocations: 1.106 MB / 445.4 MB, free: 2.691 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004583/0.8632, allocations: 69.69 kB / 445.5 MB, free: 2.617 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001459/0.8646, allocations: 0.776 MB / 446.3 MB, free: 1.836 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008613/0.8655, allocations: 337.8 kB / 446.6 MB, free: 1.516 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/0.8657, allocations: 27.94 kB / 446.6 MB, free: 1.488 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002994/0.866, allocations: 357.9 kB / 447 MB, free: 1.133 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002449/0.8685, allocations: 0.5843 MB / 447.6 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003039/0.8716, allocations: 0.8031 MB / 448.4 MB, free: 15.67 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002582/0.8743, allocations: 0.606 MB / 449 MB, free: 15.06 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.102e-05/0.8743, allocations: 0 / 449 MB, free: 15.06 MB / 346.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.00732/0.8817, allocations: 1.735 MB / 450.7 MB, free: 13.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001222/0.883, allocations: 1.936 MB / 452.6 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.982e-05/0.883, allocations: 4 kB / 452.6 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002339/0.8854, allocations: 429.9 kB / 453.1 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002267/0.8877, allocations: 183.6 kB / 453.2 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01145/0.8992, allocations: 4.388 MB / 457.6 MB, free: 6.117 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001958/0.9012, allocations: 175.1 kB / 457.8 MB, free: 5.945 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002069/0.9015, allocations: 47.98 kB / 457.8 MB, free: 5.898 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.9015, allocations: 7.953 kB / 457.9 MB, free: 5.891 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004256/0.9058, allocations: 1.582 MB / 459.4 MB, free: 4.305 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.958e-05/0.9059, allocations: 8.156 kB / 459.4 MB, free: 4.297 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001576/0.9075, allocations: 433.3 kB / 459.9 MB, free: 3.871 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/0.909, allocations: 167.7 kB / 460 MB, free: 3.707 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009768/0.9188, allocations: 4.396 MB / 464.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/0.9207, allocations: 163.2 kB / 464.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001539/0.9209, allocations: 40.12 kB / 464.6 MB, free: 14.98 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 (122): * Single equations (assignments): 121 * 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.0005145/0.9214, allocations: 224.6 kB / 464.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003699/0.9218, allocations: 130.4 kB / 465 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005973/0.9224, allocations: 168.9 kB / 465.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-05/0.9224, allocations: 16 kB / 465.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.9225, allocations: 4 kB / 465.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/0.9225, allocations: 3.984 kB / 465.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00971/0.9322, allocations: 3.593 MB / 468.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/0.9323, allocations: 0 / 468.8 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/0.9334, allocations: 119.8 kB / 468.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001503/0.9349, allocations: 397 kB / 469.3 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001738/0.9351, allocations: 19.98 kB / 469.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009179/0.9443, allocations: 4.318 MB / 473.6 MB, free: 5.824 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.9444, allocations: 0 / 473.6 MB, free: 5.824 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006366/0.9507, allocations: 2.482 MB / 476.1 MB, free: 3.324 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/0.952, allocations: 367.2 kB / 476.4 MB, free: 2.945 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00031/0.9524, allocations: 31.98 kB / 476.5 MB, free: 2.914 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/0.9537, allocations: 115.8 kB / 476.6 MB, free: 2.801 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008638/0.9546, allocations: 236.7 kB / 476.8 MB, free: 2.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/0.9547, allocations: 31.98 kB / 476.8 MB, free: 2.539 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002183/0.9569, allocations: 0.845 MB / 477.7 MB, free: 1.684 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.11e-07/0.957, allocations: 0 / 477.7 MB, free: 1.684 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004014/0.961, allocations: 0.8408 MB / 478.5 MB, free: 0.8398 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[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[3].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 78 * 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.00798/0.969, allocations: 3.104 MB / 481.6 MB, free: 13.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008268/0.9774, allocations: 2.783 MB / 484.4 MB, free: 10.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.298e-06/0.9774, allocations: 0 / 484.4 MB, free: 10.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002924/0.9804, allocations: 0.9873 MB / 485.4 MB, free: 9.902 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002589/0.983, allocations: 292.7 kB / 485.7 MB, free: 9.613 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/0.9949, allocations: 3.39 MB / 489.1 MB, free: 6.168 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002539/0.9975, allocations: 1.757 MB / 490.8 MB, free: 4.375 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003315/1.001, allocations: 0.6109 MB / 491.4 MB, free: 3.762 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001647/1.003, allocations: 0.6321 MB / 492.1 MB, free: 3.129 MB / 378.7 MB Notification: Performance of SimCode: time 1.352e-06/1.003, allocations: 0 / 492.1 MB, free: 3.129 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4135/1.416, allocations: 40.67 MB / 0.5203 GB, free: 120.9 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002809/1.416, allocations: 243.4 kB / 0.5205 GB, free: 120.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.143/5.56, allocations: 3.312 kB / 0.5205 GB, free: 120.6 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV_res.mat does not exist to compare? outputFormat=mat