Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_ThyristorBridge2mPulse_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.026/2.026, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.715e-05/3.78e-05, allocations: 4 kB / 269.5 MB, free: 6.289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1207, allocations: 47.57 MB / 317 MB, free: 6.633 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4381/0.5588, allocations: 92.8 MB / 409.8 MB, free: 11.27 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003467/0.5592, allocations: 89 kB / 409.9 MB, free: 11.22 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1944/0.7536, allocations: 47.41 MB / 457.3 MB, free: 2.895 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.288e-06/0.7537, allocations: 4 kB / 457.3 MB, free: 2.891 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002305/0.7539, allocations: 55.92 kB / 457.4 MB, free: 2.836 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: 443 * Number of variables: 443 Notification: Performance of Generate backend data structure: time 0.00772/0.7617, allocations: 1.951 MB / 459.3 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.396e-05/0.7618, allocations: 8.031 kB / 459.3 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00126/0.763, allocations: 257.2 kB / 459.6 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000968/0.764, allocations: 225.4 kB / 459.8 MB, free: 336 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008299/0.7724, allocations: 2.061 MB / 461.9 MB, free: 14.22 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001941/0.7726, allocations: 143.4 kB / 462 MB, free: 14.08 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005656/0.7732, allocations: 175.9 kB / 462.2 MB, free: 13.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00624/0.7794, allocations: 2.312 MB / 464.5 MB, free: 11.51 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.456e-05/0.7796, allocations: 3.938 kB / 464.5 MB, free: 11.51 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002932/0.7799, allocations: 83.92 kB / 464.6 MB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001302/0.78, allocations: 79.41 kB / 464.7 MB, free: 11.35 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005733/0.7858, allocations: 1.869 MB / 466.5 MB, free: 9.477 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0195/0.8053, allocations: 6.8 MB / 473.3 MB, free: 2.547 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005036/0.8104, allocations: 1.674 MB / 475 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002447/0.8129, allocations: 0.9108 MB / 475.9 MB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001371/0.8131, allocations: 16.98 kB / 475.9 MB, free: 15.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002255/0.8154, allocations: 0.8684 MB / 476.8 MB, free: 15.04 MB / 394.7 MB Notification: Performance of pre-optimization done (n=122): time 5.38e-06/0.8154, allocations: 0 / 476.8 MB, free: 15.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=122): time 0.004738/0.8202, allocations: 1.614 MB / 478.4 MB, free: 13.42 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/0.8203, allocations: 161.5 kB / 478.6 MB, free: 13.23 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002556/0.8229, allocations: 1.039 MB / 479.6 MB, free: 12.17 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003585/0.8233, allocations: 81.67 kB / 479.7 MB, free: 12.09 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009988/0.8243, allocations: 0.7415 MB / 480.4 MB, free: 11.33 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006091/0.825, allocations: 359 kB / 480.8 MB, free: 10.98 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.8251, allocations: 32 kB / 480.8 MB, free: 10.95 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.8253, allocations: 365.8 kB / 481.2 MB, free: 10.58 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001661/0.827, allocations: 0.6403 MB / 481.8 MB, free: 9.941 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001985/0.829, allocations: 0.9097 MB / 482.7 MB, free: 8.938 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001841/0.8309, allocations: 0.692 MB / 483.4 MB, free: 8.242 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.545e-05/0.8309, allocations: 8 kB / 483.4 MB, free: 8.234 MB / 394.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.005166/0.8361, allocations: 1.907 MB / 485.3 MB, free: 6.316 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001086/0.8372, allocations: 2.447 MB / 487.8 MB, free: 3.684 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.309e-05/0.8373, allocations: 12 kB / 487.8 MB, free: 3.672 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002054/0.8394, allocations: 0.4901 MB / 488.3 MB, free: 3.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.8408, allocations: 175.7 kB / 488.5 MB, free: 3.008 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01146/0.8523, allocations: 5.22 MB / 493.7 MB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001967/0.8543, allocations: 187.1 kB / 493.9 MB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001881/0.8546, allocations: 44 kB / 493.9 MB, free: 13.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.8546, allocations: 4 kB / 493.9 MB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004536/0.8591, allocations: 1.78 MB / 495.7 MB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.81e-05/0.8592, allocations: 8 kB / 495.7 MB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001833/0.8611, allocations: 0.4902 MB / 496.2 MB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/0.8624, allocations: 163.7 kB / 496.3 MB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01147/0.8739, allocations: 5.221 MB / 0.4898 GB, free: 5.609 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/0.8758, allocations: 163.2 kB / 0.49 GB, free: 5.449 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001863/0.876, allocations: 51.98 kB / 0.49 GB, free: 5.398 MB / 410.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.0005337/0.8766, allocations: 233.3 kB / 0.4902 GB, free: 5.156 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003909/0.877, allocations: 130.4 kB / 0.4904 GB, free: 5.027 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005534/0.8775, allocations: 168.5 kB / 0.4905 GB, free: 4.855 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/0.8776, allocations: 12 kB / 0.4905 GB, free: 4.844 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.8776, allocations: 0 / 0.4905 GB, free: 4.844 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.701e-05/0.8776, allocations: 7.969 kB / 0.4905 GB, free: 4.836 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00934/0.8869, allocations: 3.552 MB / 0.494 GB, free: 1.223 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.216e-05/0.887, allocations: 4 kB / 0.494 GB, free: 1.219 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009914/0.888, allocations: 99.83 kB / 0.4941 GB, free: 1.121 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001797/0.8898, allocations: 468.7 kB / 0.4946 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001843/0.8901, allocations: 27.98 kB / 0.4946 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01117/0.9012, allocations: 5.162 MB / 0.4996 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/0.9013, allocations: 3.953 kB / 0.4996 GB, free: 11.33 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006334/0.9076, allocations: 2.56 MB / 0.5021 GB, free: 8.754 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/0.9089, allocations: 371.2 kB / 0.5025 GB, free: 8.371 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003409/0.9092, allocations: 43.97 kB / 0.5025 GB, free: 8.328 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/0.9106, allocations: 111.9 kB / 0.5026 GB, free: 8.219 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007857/0.9114, allocations: 224.6 kB / 0.5028 GB, free: 7.996 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/0.9115, allocations: 35.94 kB / 0.5029 GB, free: 7.961 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001851/0.9134, allocations: 0.7925 MB / 0.5036 GB, free: 7.156 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.9134, allocations: 0 / 0.5036 GB, free: 7.156 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003684/0.9171, allocations: 0.8528 MB / 0.5045 GB, free: 6.301 MB / 426.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.006903/0.9241, allocations: 3.212 MB / 0.5076 GB, free: 3.066 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007935/0.932, allocations: 2.971 MB / 0.5105 GB, free: 76 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.9321, allocations: 3.938 kB / 0.5105 GB, free: 72 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2626/1.195, allocations: 1.025 MB / 0.5115 GB, free: 128.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002573/1.197, allocations: 305.8 kB / 0.5118 GB, free: 128.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/1.209, allocations: 3.334 MB / 0.5151 GB, free: 127.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002928/1.212, allocations: 1.72 MB / 0.5168 GB, free: 127 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003287/1.215, allocations: 0.6079 MB / 0.5173 GB, free: 127 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00139/1.217, allocations: 0.6033 MB / 0.5179 GB, free: 127 MB / 426.7 MB Notification: Performance of SimCode: time 1.553e-06/1.217, allocations: 1.062 kB / 0.5179 GB, free: 127 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1382/1.355, allocations: 42.17 MB / 0.5591 GB, free: 113.8 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002377/1.355, allocations: 230.1 kB / 0.5593 GB, free: 113.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.185/5.54, allocations: 0 / 0.5593 GB, free: 113.5 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RL_res.mat does not exist to compare? outputFormat=mat