Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_RLV_Characteristic",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.135/2.135, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.227e-05/3.226e-05, allocations: 7.656 kB / 249.8 MB, free: 5.281 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.102, allocations: 44.51 MB / 294.3 MB, free: 10.63 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4902/0.5922, allocations: 86.13 MB / 380.4 MB, free: 6.273 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000412/0.5926, allocations: 81.45 kB / 380.5 MB, free: 6.262 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.187/0.7796, allocations: 35.82 MB / 416.3 MB, free: 4.219 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.7797, allocations: 0 / 416.3 MB, free: 4.219 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002173/0.7799, allocations: 44 kB / 416.4 MB, free: 4.176 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: 448 * Number of variables: 448 Notification: Performance of Generate backend data structure: time 0.007973/0.7879, allocations: 2.028 MB / 418.4 MB, free: 2.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.467e-05/0.788, allocations: 8.031 kB / 418.4 MB, free: 2.223 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008518/0.7889, allocations: 233.3 kB / 418.7 MB, free: 1.992 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008283/0.7972, allocations: 1.968 MB / 420.6 MB, free: 496 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001495/0.7974, allocations: 63.56 kB / 420.7 MB, free: 436 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006141/0.798, allocations: 104 kB / 420.8 MB, free: 332 kB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006024/0.8041, allocations: 1.872 MB / 422.7 MB, free: 15.19 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006896/0.811, allocations: 2.121 MB / 424.8 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.693e-05/0.8111, allocations: 7.844 kB / 424.8 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002718/0.8114, allocations: 4 kB / 424.8 MB, free: 13.63 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001476/0.8116, allocations: 73.83 kB / 424.9 MB, free: 13.56 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02187/0.8335, allocations: 6.863 MB / 431.7 MB, free: 6.781 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004695/0.8382, allocations: 1.498 MB / 433.2 MB, free: 5.277 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002622/0.8409, allocations: 0.8816 MB / 434.1 MB, free: 4.398 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001566/0.8411, allocations: 17.27 kB / 434.1 MB, free: 4.383 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00235/0.8435, allocations: 0.8264 MB / 435 MB, free: 3.539 MB / 330.7 MB Notification: Performance of pre-optimization done (n=117): time 5.621e-06/0.8435, allocations: 0 / 435 MB, free: 3.539 MB / 330.7 MB Notification: Performance of matching and sorting (n=117): time 0.004384/0.8479, allocations: 1.442 MB / 436.4 MB, free: 2.086 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.8481, allocations: 128.1 kB / 436.5 MB, free: 1.938 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002677/0.8508, allocations: 0.9547 MB / 437.5 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003661/0.8512, allocations: 53.61 kB / 437.5 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001155/0.8523, allocations: 0.7713 MB / 438.3 MB, free: 136 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006982/0.8531, allocations: 334.7 kB / 438.6 MB, free: 15.8 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.8532, allocations: 0 / 438.6 MB, free: 15.8 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002192/0.8534, allocations: 353.9 kB / 439 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001665/0.8551, allocations: 0.5687 MB / 439.5 MB, free: 14.88 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001853/0.857, allocations: 0.7735 MB / 440.3 MB, free: 14.04 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001675/0.8587, allocations: 0.5879 MB / 440.9 MB, free: 13.45 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.33e-05/0.8587, allocations: 4 kB / 440.9 MB, free: 13.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004909/0.8636, allocations: 1.625 MB / 442.5 MB, free: 11.81 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009917/0.8647, allocations: 1.925 MB / 444.5 MB, free: 9.738 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.91e-05/0.8647, allocations: 8 kB / 444.5 MB, free: 9.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00193/0.8667, allocations: 430.3 kB / 444.9 MB, free: 9.309 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001835/0.8685, allocations: 191.6 kB / 445.1 MB, free: 9.121 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01062/0.8792, allocations: 4.317 MB / 449.4 MB, free: 4.691 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002028/0.8813, allocations: 147.1 kB / 449.5 MB, free: 4.547 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001883/0.8815, allocations: 40.06 kB / 449.6 MB, free: 4.508 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.8815, allocations: 4 kB / 449.6 MB, free: 4.504 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004472/0.886, allocations: 1.476 MB / 451 MB, free: 3.023 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.543e-05/0.8861, allocations: 4.625 kB / 451.1 MB, free: 3.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001736/0.8878, allocations: 417 kB / 451.5 MB, free: 2.609 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/0.8896, allocations: 179.7 kB / 451.6 MB, free: 2.434 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01041/0.9, allocations: 4.327 MB / 456 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/0.902, allocations: 139.2 kB / 456.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001814/0.9022, allocations: 36.06 kB / 456.1 MB, free: 13.82 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 (123): * Single equations (assignments): 122 * 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.0005472/0.9028, allocations: 184.8 kB / 456.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004307/0.9071, allocations: 1.437 MB / 457.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005145/0.9077, allocations: 126.5 kB / 457.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006207/0.9083, allocations: 152.1 kB / 458 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.928e-05/0.9083, allocations: 12 kB / 458 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.9084, allocations: 0 / 458 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.766e-05/0.9084, allocations: 3.984 kB / 458 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01025/0.9187, allocations: 3.296 MB / 461.3 MB, free: 8.574 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/0.9187, allocations: 0 / 461.3 MB, free: 8.574 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001434/0.9202, allocations: 135.8 kB / 461.5 MB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001592/0.9218, allocations: 384.6 kB / 461.8 MB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001826/0.922, allocations: 11.98 kB / 461.9 MB, free: 8.051 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009832/0.9318, allocations: 4.208 MB / 466.1 MB, free: 3.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.9319, allocations: 3.938 kB / 466.1 MB, free: 3.727 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00689/0.9388, allocations: 2.418 MB / 468.5 MB, free: 1.285 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001335/0.9402, allocations: 363.3 kB / 468.8 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004209/0.9406, allocations: 19.98 kB / 468.9 MB, free: 0.8906 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001554/0.9422, allocations: 95.89 kB / 469 MB, free: 0.7969 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009916/0.9432, allocations: 229 kB / 469.2 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001397/0.9434, allocations: 32.11 kB / 469.2 MB, free: 0.543 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001852/0.9452, allocations: 0.7128 MB / 469.9 MB, free: 15.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.9453, allocations: 0 / 469.9 MB, free: 15.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003813/0.9491, allocations: 0.7898 MB / 470.7 MB, free: 15.03 MB / 378.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 (91): * Single equations (assignments): 81 * 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.007372/0.9565, allocations: 3.046 MB / 473.8 MB, free: 11.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007852/0.9644, allocations: 2.687 MB / 476.4 MB, free: 9.242 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.9645, allocations: 0 / 476.4 MB, free: 9.242 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00289/0.9674, allocations: 0.9623 MB / 477.4 MB, free: 8.277 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002551/0.97, allocations: 248.3 kB / 477.6 MB, free: 8.031 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01237/0.9824, allocations: 3.322 MB / 481 MB, free: 4.656 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00257/0.985, allocations: 1.753 MB / 482.7 MB, free: 2.867 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003453/0.9885, allocations: 0.5753 MB / 483.3 MB, free: 2.289 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001753/0.9903, allocations: 0.6282 MB / 483.9 MB, free: 1.66 MB / 378.7 MB Notification: Performance of SimCode: time 1.182e-06/0.9903, allocations: 0 / 483.9 MB, free: 1.66 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4316/1.422, allocations: 37.09 MB / 0.5088 GB, free: 112.3 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002238/1.422, allocations: 234.9 kB / 0.509 GB, free: 112 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.551/5.973, allocations: 0 / 0.509 GB, free: 112 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat