Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.078/2.078, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.301e-05/3.313e-05, allocations: 4 kB / 249.8 MB, free: 14.79 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.323, allocations: 44.49 MB / 294.2 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1616/0.4846, allocations: 86.14 MB / 380.4 MB, free: 11.69 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003526/0.485, allocations: 91.94 kB / 380.5 MB, free: 11.6 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1902/0.6753, allocations: 35.81 MB / 416.3 MB, free: 7.531 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.6754, allocations: 0 / 416.3 MB, free: 7.531 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001985/0.6756, allocations: 47.94 kB / 416.3 MB, free: 7.484 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: 448 * Number of variables: 448 Notification: Performance of Generate backend data structure: time 0.007375/0.683, allocations: 2.03 MB / 418.4 MB, free: 5.395 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.683, allocations: 8.031 kB / 418.4 MB, free: 5.387 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009868/0.684, allocations: 233.3 kB / 418.6 MB, free: 5.156 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007539/0.6916, allocations: 1.968 MB / 420.6 MB, free: 3.133 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.6918, allocations: 64 kB / 420.6 MB, free: 3.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005269/0.6923, allocations: 104 kB / 420.7 MB, free: 2.969 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005674/0.698, allocations: 1.873 MB / 422.6 MB, free: 1.094 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2565/0.9546, allocations: 2.121 MB / 424.7 MB, free: 93.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.248e-05/0.9547, allocations: 3.844 kB / 424.7 MB, free: 93.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002306/0.9549, allocations: 8.25 kB / 424.7 MB, free: 93.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001643/0.9551, allocations: 76.39 kB / 424.8 MB, free: 93.01 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01722/0.9724, allocations: 6.851 MB / 431.7 MB, free: 91.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00356/0.976, allocations: 1.501 MB / 433.2 MB, free: 91.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002039/0.978, allocations: 0.8844 MB / 434 MB, free: 91.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001374/0.9782, allocations: 12.34 kB / 434.1 MB, free: 91.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001794/0.98, allocations: 0.8235 MB / 434.9 MB, free: 91.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=117): time 3.837e-06/0.9801, allocations: 0 / 434.9 MB, free: 91.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=117): time 0.003181/0.9832, allocations: 1.438 MB / 436.3 MB, free: 91.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.535e-05/0.9834, allocations: 130.7 kB / 436.4 MB, free: 90.97 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001803/0.9852, allocations: 0.9604 MB / 437.4 MB, free: 90.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001903/0.9854, allocations: 39.86 kB / 437.4 MB, free: 90.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007577/0.9862, allocations: 0.7755 MB / 438.2 MB, free: 90.35 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004427/0.9866, allocations: 335.7 kB / 438.5 MB, free: 90.13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.162e-05/0.9867, allocations: 0 / 438.5 MB, free: 90.13 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.9868, allocations: 352.5 kB / 438.9 MB, free: 89.81 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001172/0.988, allocations: 0.5752 MB / 439.5 MB, free: 89.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/0.9893, allocations: 0.7762 MB / 440.2 MB, free: 89.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.9905, allocations: 0.5853 MB / 440.8 MB, free: 88.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.9905, allocations: 3.719 kB / 440.8 MB, free: 88.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.00348/0.994, allocations: 1.622 MB / 442.5 MB, free: 88.33 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004824/0.9945, allocations: 1.926 MB / 444.4 MB, free: 86.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.348e-05/0.9946, allocations: 3.656 kB / 444.4 MB, free: 86.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00153/0.9961, allocations: 426.7 kB / 444.8 MB, free: 86.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/0.9976, allocations: 189.1 kB / 445 MB, free: 86.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00753/1.005, allocations: 4.323 MB / 449.3 MB, free: 83.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/1.007, allocations: 148.7 kB / 449.5 MB, free: 83.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/1.007, allocations: 38.75 kB / 449.5 MB, free: 83.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/1.007, allocations: 3.938 kB / 449.5 MB, free: 83.52 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003187/1.01, allocations: 1.468 MB / 451 MB, free: 83.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.079e-05/1.01, allocations: 12.06 kB / 451 MB, free: 83.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001292/1.012, allocations: 413.7 kB / 451.4 MB, free: 82.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/1.013, allocations: 187.1 kB / 451.6 MB, free: 82.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007271/1.02, allocations: 4.318 MB / 455.9 MB, free: 80.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/1.022, allocations: 140.6 kB / 456 MB, free: 80.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/1.022, allocations: 41.56 kB / 456.1 MB, free: 80.24 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.0004329/1.023, allocations: 176.8 kB / 456.2 MB, free: 80.12 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003001/1.026, allocations: 1.434 MB / 457.7 MB, free: 79.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002882/1.026, allocations: 129.8 kB / 457.8 MB, free: 79.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000471/1.026, allocations: 154.3 kB / 457.9 MB, free: 79.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/1.026, allocations: 11.31 kB / 457.9 MB, free: 79.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.026, allocations: 0 / 457.9 MB, free: 79.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.515e-05/1.026, allocations: 6.609 kB / 458 MB, free: 79.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007266/1.034, allocations: 3.3 MB / 461.3 MB, free: 78.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/1.034, allocations: 2.5 kB / 461.3 MB, free: 78.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001162/1.035, allocations: 136.5 kB / 461.4 MB, free: 78.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00122/1.036, allocations: 385.8 kB / 461.8 MB, free: 77.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000123/1.036, allocations: 6.484 kB / 461.8 MB, free: 77.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007044/1.043, allocations: 4.205 MB / 466 MB, free: 75.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/1.043, allocations: 0 / 466 MB, free: 75.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004688/1.048, allocations: 2.42 MB / 468.4 MB, free: 74.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009365/1.049, allocations: 362 kB / 468.8 MB, free: 74.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003404/1.05, allocations: 22.33 kB / 468.8 MB, free: 74.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/1.051, allocations: 105 kB / 468.9 MB, free: 74.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000745/1.052, allocations: 225.4 kB / 469.1 MB, free: 74.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001053/1.052, allocations: 34.78 kB / 469.1 MB, free: 74.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001289/1.053, allocations: 0.7109 MB / 469.8 MB, free: 73.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/1.053, allocations: 0 / 469.8 MB, free: 73.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002821/1.056, allocations: 0.7877 MB / 470.6 MB, free: 72.87 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[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.005004/1.061, allocations: 3.033 MB / 473.7 MB, free: 70.13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005576/1.067, allocations: 2.686 MB / 476.3 MB, free: 67.72 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.067, allocations: 3.125 kB / 476.4 MB, free: 67.72 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001972/1.069, allocations: 0.9642 MB / 477.3 MB, free: 66.87 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001988/1.071, allocations: 260.4 kB / 477.6 MB, free: 66.67 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008597/1.079, allocations: 3.306 MB / 480.9 MB, free: 63.83 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001604/1.081, allocations: 1.756 MB / 482.6 MB, free: 62.38 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002607/1.083, allocations: 0.5743 MB / 483.2 MB, free: 62.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001118/1.085, allocations: 0.6308 MB / 483.8 MB, free: 61.44 MB / 362.7 MB Notification: Performance of SimCode: time 1.102e-06/1.085, allocations: 0 / 483.8 MB, free: 61.44 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1069/1.192, allocations: 37.12 MB / 0.5087 GB, free: 24.82 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002377/1.192, allocations: 231.5 kB / 0.509 GB, free: 24.53 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.075/5.267, allocations: 0 / 0.509 GB, free: 24.53 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat