Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.249/2.249, allocations: 225.8 MB / 239.3 MB, free: 1.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.807e-05/4.828e-05, allocations: 4 kB / 292.8 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1169, allocations: 50.42 MB / 343.2 MB, free: 8.98 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5016/0.6185, allocations: 91.96 MB / 435.1 MB, free: 5.984 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003181/0.6189, allocations: 86.59 kB / 435.2 MB, free: 5.969 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1282/0.7471, allocations: 30.9 MB / 466.1 MB, free: 3.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.7472, allocations: 0 / 466.1 MB, free: 3.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001848/0.7474, allocations: 32 kB / 466.2 MB, free: 3.309 MB / 346.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.006215/0.7536, allocations: 1.606 MB / 467.8 MB, free: 1.727 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.7537, allocations: 8.031 kB / 467.8 MB, free: 1.719 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008209/0.7545, allocations: 209.5 kB / 468 MB, free: 1.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000713/0.7553, allocations: 170 kB / 468.1 MB, free: 1.422 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00681/0.7621, allocations: 1.675 MB / 469.8 MB, free: 64 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001714/0.7623, allocations: 108.2 kB / 469.9 MB, free: 0 / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005821/0.763, allocations: 145 kB / 470.1 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005463/0.7684, allocations: 1.748 MB / 471.8 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.789e-05/0.7685, allocations: 0 / 471.8 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002606/0.7688, allocations: 62.78 kB / 471.9 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001086/0.7689, allocations: 58.67 kB / 471.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0047/0.7737, allocations: 1.393 MB / 473.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.016/0.7897, allocations: 5.203 MB / 478.5 MB, free: 9.762 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00304/0.7928, allocations: 1.051 MB / 479.6 MB, free: 8.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001746/0.7946, allocations: 0.6005 MB / 480.2 MB, free: 8.148 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.039e-05/0.7947, allocations: 12.73 kB / 480.2 MB, free: 8.133 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00167/0.7964, allocations: 0.6254 MB / 480.8 MB, free: 7.488 MB / 362.7 MB Notification: Performance of pre-optimization done (n=88): time 4.839e-06/0.7965, allocations: 0 / 480.8 MB, free: 7.488 MB / 362.7 MB Notification: Performance of matching and sorting (n=88): time 0.002979/0.7995, allocations: 1.031 MB / 481.8 MB, free: 6.445 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001358/0.7997, allocations: 171 kB / 482 MB, free: 6.242 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002062/0.8017, allocations: 0.8203 MB / 482.8 MB, free: 5.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002942/0.8021, allocations: 53.69 kB / 482.9 MB, free: 5.352 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008496/0.8029, allocations: 0.6085 MB / 483.5 MB, free: 4.734 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004904/0.8034, allocations: 268.4 kB / 483.8 MB, free: 4.469 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.745e-05/0.8036, allocations: 16 kB / 483.8 MB, free: 4.453 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.8037, allocations: 349.9 kB / 484.1 MB, free: 4.105 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/0.8049, allocations: 441.8 kB / 484.5 MB, free: 3.672 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00146/0.8064, allocations: 0.6562 MB / 485.2 MB, free: 2.914 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/0.8078, allocations: 476.7 kB / 485.7 MB, free: 2.449 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-05/0.8079, allocations: 7.938 kB / 485.7 MB, free: 2.441 MB / 362.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003698/0.8116, allocations: 1.273 MB / 486.9 MB, free: 1.156 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001233/0.8129, allocations: 2.528 MB / 489.5 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.604e-05/0.813, allocations: 11.98 kB / 489.5 MB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/0.814, allocations: 220.7 kB / 489.7 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/0.8154, allocations: 167.7 kB / 489.9 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005412/0.8208, allocations: 2.764 MB / 492.6 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/0.8226, allocations: 163.1 kB / 492.8 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002231/0.8228, allocations: 43.95 kB / 492.8 MB, free: 10.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.8229, allocations: 0 / 492.8 MB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003264/0.8261, allocations: 1.151 MB / 494 MB, free: 9.785 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.482e-05/0.8262, allocations: 8 kB / 494 MB, free: 9.777 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008504/0.8271, allocations: 225.5 kB / 494.2 MB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.8284, allocations: 156.3 kB / 494.4 MB, free: 9.402 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005258/0.8337, allocations: 2.764 MB / 497.1 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/0.8353, allocations: 135.4 kB / 497.3 MB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000218/0.8355, allocations: 39.98 kB / 497.3 MB, free: 6.328 MB / 378.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.0004584/0.836, allocations: 208.8 kB / 497.5 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003656/0.8364, allocations: 98.78 kB / 497.6 MB, free: 6.027 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004557/0.8368, allocations: 125.9 kB / 497.7 MB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.8369, allocations: 8 kB / 497.7 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.8369, allocations: 0 / 497.7 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.8369, allocations: 3.984 kB / 497.7 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007827/0.8448, allocations: 2.713 MB / 0.4887 GB, free: 3.109 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/0.8448, allocations: 4 kB / 0.4887 GB, free: 3.105 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008886/0.8457, allocations: 87.83 kB / 0.4888 GB, free: 3.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008065/0.8465, allocations: 192.8 kB / 0.489 GB, free: 2.828 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001819/0.8468, allocations: 23.98 kB / 0.489 GB, free: 2.805 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005161/0.8519, allocations: 2.728 MB / 0.4917 GB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.852, allocations: 4 kB / 0.4917 GB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00463/0.8566, allocations: 1.774 MB / 0.4934 GB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009454/0.8577, allocations: 279.8 kB / 0.4937 GB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002885/0.858, allocations: 20.19 kB / 0.4937 GB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/0.8593, allocations: 95.91 kB / 0.4938 GB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005831/0.8599, allocations: 144.5 kB / 0.4939 GB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/0.86, allocations: 27.98 kB / 0.494 GB, free: 13.54 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001662/0.8617, allocations: 0.6163 MB / 0.4946 GB, free: 12.92 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.52e-07/0.8618, allocations: 4 kB / 0.4946 GB, free: 12.92 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003151/0.8649, allocations: 0.615 MB / 0.4952 GB, free: 12.3 MB / 394.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.005373/0.8704, allocations: 2.52 MB / 0.4976 GB, free: 9.734 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005534/0.8759, allocations: 1.959 MB / 0.4995 GB, free: 7.758 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/0.876, allocations: 0 / 0.4995 GB, free: 7.758 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002033/0.878, allocations: 0.7273 MB / 0.5002 GB, free: 7.023 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001916/0.88, allocations: 219.8 kB / 0.5005 GB, free: 6.812 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008437/0.8885, allocations: 2.452 MB / 0.5028 GB, free: 4.309 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001847/0.8904, allocations: 1.445 MB / 0.5043 GB, free: 2.832 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002519/0.8929, allocations: 475.3 kB / 0.5047 GB, free: 2.363 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001197/0.8942, allocations: 467.3 kB / 0.5052 GB, free: 1.906 MB / 394.7 MB Notification: Performance of SimCode: time 1.282e-06/0.8942, allocations: 0 / 0.5052 GB, free: 1.906 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09643/0.9907, allocations: 27.75 MB / 0.5323 GB, free: 6.52 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000335/0.991, allocations: 240.2 kB / 0.5325 GB, free: 6.207 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.737/4.728, allocations: 0 / 0.5325 GB, free: 6.207 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_res.mat does not exist to compare? outputFormat=mat