Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.974/1.974, allocations: 225.8 MB / 238.8 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.617e-05/3.613e-05, allocations: 4 kB / 292.3 MB, free: 8.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1027, allocations: 50.41 MB / 342.7 MB, free: 5.785 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.464/0.5668, allocations: 92.19 MB / 434.9 MB, free: 2.141 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003136/0.5671, allocations: 91.12 kB / 434.9 MB, free: 2.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1419/0.709, allocations: 30.9 MB / 465.8 MB, free: 7.367 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.709, allocations: 0 / 465.8 MB, free: 7.367 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001723/0.7092, allocations: 40 kB / 465.9 MB, free: 7.328 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 346 * Number of variables: 346 Notification: Performance of Generate backend data structure: time 0.006632/0.7159, allocations: 1.592 MB / 467.5 MB, free: 5.668 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.2e-05/0.716, allocations: 8.031 kB / 467.5 MB, free: 5.66 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006927/0.7167, allocations: 202.7 kB / 467.7 MB, free: 5.453 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006823/0.7174, allocations: 173.9 kB / 467.9 MB, free: 5.281 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008168/0.7256, allocations: 1.683 MB / 469.5 MB, free: 3.551 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001411/0.7258, allocations: 110.9 kB / 469.6 MB, free: 3.441 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003593/0.7261, allocations: 147.9 kB / 469.8 MB, free: 3.297 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005109/0.7313, allocations: 1.745 MB / 471.5 MB, free: 1.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.172e-05/0.7314, allocations: 4 kB / 471.5 MB, free: 1.477 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000217/0.7316, allocations: 56 kB / 471.6 MB, free: 1.422 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001045/0.7317, allocations: 62.67 kB / 471.7 MB, free: 1.359 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004421/0.7361, allocations: 1.391 MB / 473 MB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01461/0.7508, allocations: 5.199 MB / 478.2 MB, free: 10.63 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00272/0.7536, allocations: 1.05 MB / 479.3 MB, free: 9.57 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00154/0.7551, allocations: 0.6028 MB / 479.9 MB, free: 8.969 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.09e-05/0.7552, allocations: 12.73 kB / 479.9 MB, free: 8.953 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001461/0.7567, allocations: 0.6254 MB / 480.5 MB, free: 8.309 MB / 394.7 MB Notification: Performance of pre-optimization done (n=88): time 3.166e-06/0.7567, allocations: 4 kB / 480.5 MB, free: 8.305 MB / 394.7 MB Notification: Performance of matching and sorting (n=88): time 0.002761/0.7595, allocations: 1.023 MB / 481.6 MB, free: 7.27 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/0.7597, allocations: 179 kB / 481.7 MB, free: 7.059 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001823/0.7615, allocations: 0.8125 MB / 482.5 MB, free: 6.234 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001741/0.7617, allocations: 65.72 kB / 482.6 MB, free: 6.164 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000729/0.7624, allocations: 0.6124 MB / 483.2 MB, free: 5.543 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003508/0.7628, allocations: 264.4 kB / 483.5 MB, free: 5.281 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.01e-05/0.7629, allocations: 20 kB / 483.5 MB, free: 5.262 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.7631, allocations: 341.9 kB / 483.8 MB, free: 4.922 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001114/0.7642, allocations: 437.8 kB / 484.3 MB, free: 4.492 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001326/0.7655, allocations: 0.6679 MB / 484.9 MB, free: 3.727 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.7667, allocations: 469.8 kB / 485.4 MB, free: 3.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.602e-05/0.7667, allocations: 4 kB / 485.4 MB, free: 3.266 MB / 394.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003247/0.77, allocations: 1.273 MB / 486.7 MB, free: 1.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001055/0.7711, allocations: 2.533 MB / 489.2 MB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.308e-05/0.7711, allocations: 8 kB / 489.2 MB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009344/0.772, allocations: 220.7 kB / 489.4 MB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.7733, allocations: 163.7 kB / 489.6 MB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004857/0.7782, allocations: 2.758 MB / 492.3 MB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/0.7798, allocations: 163.1 kB / 492.5 MB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.78, allocations: 40.05 kB / 492.5 MB, free: 11.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.78, allocations: 7.938 kB / 492.5 MB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00296/0.783, allocations: 1.156 MB / 493.7 MB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/0.783, allocations: 8 kB / 493.7 MB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008291/0.7839, allocations: 225 kB / 493.9 MB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.785, allocations: 159.7 kB / 494.1 MB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004842/0.7898, allocations: 2.764 MB / 496.9 MB, free: 7.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/0.7914, allocations: 139.4 kB / 497 MB, free: 7.184 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/0.7916, allocations: 32 kB / 497 MB, free: 7.152 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 48 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,$PRE.rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[1].off,$PRE.rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[2].off,$PRE.rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[3].off,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.positiveThreshold[3].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.negativeThreshold[3].y,$PRE.pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[1].entryTime,$PRE.pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,$PRE.pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,$PRE.pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,$PRE.pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,$PRE.pulsem.twomPulse.timerNegative[3].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 112 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004116/0.792, allocations: 204.7 kB / 497.2 MB, free: 6.953 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002595/0.7923, allocations: 98.88 kB / 497.3 MB, free: 6.855 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003927/0.7927, allocations: 133.8 kB / 497.4 MB, free: 6.723 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.7927, allocations: 8 kB / 497.5 MB, free: 6.715 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/0.7927, allocations: 4 kB / 497.5 MB, free: 6.711 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.7927, allocations: 3.984 kB / 497.5 MB, free: 6.707 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006643/0.7994, allocations: 2.705 MB / 0.4884 GB, free: 3.934 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/0.7994, allocations: 0 / 0.4884 GB, free: 3.934 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008191/0.8003, allocations: 99.89 kB / 0.4885 GB, free: 3.836 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007219/0.801, allocations: 196.8 kB / 0.4887 GB, free: 3.641 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.849e-05/0.8011, allocations: 20 kB / 0.4887 GB, free: 3.621 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00471/0.8058, allocations: 2.724 MB / 0.4914 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.8059, allocations: 0 / 0.4914 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004145/0.81, allocations: 1.774 MB / 0.4931 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007353/0.8108, allocations: 279.8 kB / 0.4934 GB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002207/0.811, allocations: 24 kB / 0.4934 GB, free: 14.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/0.8122, allocations: 91.91 kB / 0.4935 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004839/0.8127, allocations: 140.6 kB / 0.4936 GB, free: 14.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-05/0.8128, allocations: 28.17 kB / 0.4937 GB, free: 14.38 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001351/0.8141, allocations: 0.6124 MB / 0.4943 GB, free: 13.76 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.31e-07/0.8141, allocations: 0 / 0.4943 GB, free: 13.76 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002384/0.8165, allocations: 0.6189 MB / 0.4949 GB, free: 13.14 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 36 (pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.negativeThreshold[3].y,pulsem.twomPulse.positiveThreshold[3].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.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 6 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[3].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 66 * 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 {3 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.004747/0.8213, allocations: 2.537 MB / 0.4974 GB, free: 10.55 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004859/0.8262, allocations: 1.95 MB / 0.4993 GB, free: 8.578 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.313e-06/0.8262, allocations: 0 / 0.4993 GB, free: 8.578 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001807/0.8281, allocations: 0.7247 MB / 0.5 GB, free: 7.848 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001669/0.8298, allocations: 207.5 kB / 0.5002 GB, free: 7.652 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007535/0.8373, allocations: 2.471 MB / 0.5026 GB, free: 5.129 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001503/0.8389, allocations: 1.445 MB / 0.504 GB, free: 3.652 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002222/0.8411, allocations: 475.3 kB / 0.5044 GB, free: 3.184 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000988/0.8421, allocations: 467.3 kB / 0.5049 GB, free: 2.727 MB / 426.7 MB Notification: Performance of SimCode: time 1.272e-06/0.8421, allocations: 0 / 0.5049 GB, free: 2.727 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3646/1.207, allocations: 27.73 MB / 0.532 GB, free: 131.5 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/1.207, allocations: 241.2 kB / 0.5322 GB, free: 131.2 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.754/4.961, allocations: 7.5 kB / 0.5322 GB, free: 131.2 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_res.mat does not exist to compare? outputFormat=mat