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.084/2.084, allocations: 194.9 MB / 208 MB, free: 3.273 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.725e-05/3.754e-05, allocations: 4 kB / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09594/0.09602, allocations: 44.5 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4281/0.5242, allocations: 86.34 MB / 386.3 MB, free: 12.66 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/0.5246, allocations: 88.56 kB / 386.4 MB, free: 12.66 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1348/0.6594, allocations: 35.79 MB / 422.2 MB, free: 1.699 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.6595, allocations: 0 / 422.2 MB, free: 1.699 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001686/0.6596, allocations: 49.81 kB / 422.3 MB, free: 1.691 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: 440 * Number of variables: 440 Notification: Performance of Generate backend data structure: time 0.006864/0.6665, allocations: 1.987 MB / 424.2 MB, free: 484 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.6666, allocations: 11.91 kB / 424.3 MB, free: 484 kB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008256/0.6674, allocations: 250 kB / 424.5 MB, free: 396 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006755/0.6681, allocations: 231.8 kB / 424.7 MB, free: 276 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00738/0.6755, allocations: 1.963 MB / 426.7 MB, free: 15.49 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001646/0.6757, allocations: 140.5 kB / 426.8 MB, free: 15.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005759/0.6763, allocations: 169.5 kB / 427 MB, free: 15.48 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006485/0.6828, allocations: 2.317 MB / 429.3 MB, free: 14.89 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.37e-05/0.6829, allocations: 3.625 kB / 429.3 MB, free: 14.89 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002629/0.6832, allocations: 72.83 kB / 429.4 MB, free: 14.89 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001106/0.6833, allocations: 75.2 kB / 429.5 MB, free: 14.88 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005721/0.6891, allocations: 1.936 MB / 431.4 MB, free: 14.65 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02151/0.7106, allocations: 7.261 MB / 438.7 MB, free: 9.52 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005023/0.7157, allocations: 1.607 MB / 440.3 MB, free: 7.902 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002396/0.7182, allocations: 0.9002 MB / 441.2 MB, free: 6.996 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.7183, allocations: 13 kB / 441.2 MB, free: 6.984 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002152/0.7205, allocations: 0.8265 MB / 442 MB, free: 6.141 MB / 330.7 MB Notification: Performance of pre-optimization done (n=113): time 5.831e-06/0.7205, allocations: 0 / 442 MB, free: 6.141 MB / 330.7 MB Notification: Performance of matching and sorting (n=113): time 0.004184/0.7247, allocations: 1.481 MB / 443.5 MB, free: 4.645 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.7249, allocations: 131.5 kB / 443.6 MB, free: 4.496 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002867/0.7277, allocations: 1.1 MB / 444.7 MB, free: 3.379 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003451/0.7281, allocations: 65.69 kB / 444.8 MB, free: 3.309 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001111/0.7293, allocations: 0.7723 MB / 445.5 MB, free: 2.531 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006646/0.7299, allocations: 337.5 kB / 445.9 MB, free: 2.211 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.7301, allocations: 27.94 kB / 445.9 MB, free: 2.184 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.7303, allocations: 353.9 kB / 446.3 MB, free: 1.832 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001581/0.7319, allocations: 0.5843 MB / 446.8 MB, free: 1.246 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001829/0.7337, allocations: 0.7927 MB / 447.6 MB, free: 388 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/0.7354, allocations: 0.6139 MB / 448.2 MB, free: 15.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-06/0.7355, allocations: 0 / 448.2 MB, free: 15.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.004723/0.7402, allocations: 1.711 MB / 450 MB, free: 14.04 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008844/0.7411, allocations: 1.929 MB / 451.9 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.017e-05/0.7412, allocations: 11.95 kB / 451.9 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001753/0.743, allocations: 419.1 kB / 452.3 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001538/0.7445, allocations: 179.7 kB / 452.5 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009684/0.7542, allocations: 4.384 MB / 456.9 MB, free: 6.855 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002019/0.7563, allocations: 175.2 kB / 457 MB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002777/0.7566, allocations: 51.98 kB / 457.1 MB, free: 6.633 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.7567, allocations: 8.781 kB / 457.1 MB, free: 6.625 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004419/0.7611, allocations: 1.563 MB / 458.7 MB, free: 5.059 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.528e-05/0.7612, allocations: 8 kB / 458.7 MB, free: 5.051 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001621/0.7628, allocations: 432.5 kB / 459.1 MB, free: 4.625 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/0.7642, allocations: 167.7 kB / 459.2 MB, free: 4.461 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01092/0.7752, allocations: 4.387 MB / 463.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002971/0.7782, allocations: 163.2 kB / 463.8 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004819/0.7788, allocations: 40 kB / 463.8 MB, free: 15.75 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.000971/0.7798, allocations: 228.8 kB / 464.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008368/0.7806, allocations: 126.4 kB / 464.2 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008402/0.7815, allocations: 168.7 kB / 464.3 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.346e-05/0.7815, allocations: 15.98 kB / 464.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.7816, allocations: 0 / 464.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.021e-05/0.7816, allocations: 3.984 kB / 464.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01572/0.7973, allocations: 3.572 MB / 467.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.568e-05/0.7974, allocations: 7.938 kB / 467.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001835/0.7993, allocations: 111.9 kB / 468.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002376/0.8017, allocations: 400.7 kB / 468.4 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003357/0.802, allocations: 19.98 kB / 468.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.015/0.8171, allocations: 4.326 MB / 472.8 MB, free: 6.609 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.165e-06/0.8171, allocations: 0 / 472.8 MB, free: 6.609 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01031/0.8275, allocations: 2.473 MB / 475.3 MB, free: 4.121 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001912/0.8295, allocations: 363.3 kB / 475.6 MB, free: 3.746 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008009/0.8303, allocations: 31.98 kB / 475.7 MB, free: 3.715 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002529/0.8329, allocations: 115.8 kB / 475.8 MB, free: 3.602 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001479/0.8344, allocations: 224.7 kB / 476 MB, free: 3.379 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002336/0.8347, allocations: 35.97 kB / 476 MB, free: 3.344 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003274/0.838, allocations: 0.8445 MB / 476.9 MB, free: 2.488 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.683e-06/0.838, allocations: 0 / 476.9 MB, free: 2.488 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00527/0.8433, allocations: 0.8383 MB / 477.7 MB, free: 1.648 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.01081/0.8542, allocations: 3.101 MB / 480.8 MB, free: 14.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01274/0.867, allocations: 2.723 MB / 483.5 MB, free: 11.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/0.8671, allocations: 0 / 483.5 MB, free: 11.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004252/0.8713, allocations: 0.9651 MB / 484.5 MB, free: 10.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003643/0.875, allocations: 296.5 kB / 484.8 MB, free: 10.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01584/0.8909, allocations: 3.358 MB / 488.1 MB, free: 7.109 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00337/0.8944, allocations: 1.749 MB / 489.9 MB, free: 5.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.004838/0.8993, allocations: 0.6071 MB / 490.5 MB, free: 4.711 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002124/0.9015, allocations: 0.6242 MB / 491.1 MB, free: 4.086 MB / 378.7 MB Notification: Performance of SimCode: time 2.044e-06/0.9015, allocations: 0 / 491.1 MB, free: 4.086 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4224/1.324, allocations: 40.15 MB / 0.5188 GB, free: 120 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002621/1.324, allocations: 240.2 kB / 0.519 GB, free: 119.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.159/5.483, allocations: 0 / 0.519 GB, free: 119.7 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_RL_res.mat does not exist to compare? outputFormat=mat