Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_R,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.87/1.87, allocations: 194.9 MB / 208 MB, free: 3.188 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.695e-05/3.704e-05, allocations: 0 / 255.5 MB, free: 2.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09916/0.09922, allocations: 44.52 MB / 300 MB, free: 6.039 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.409/0.5083, allocations: 86.03 MB / 386 MB, free: 12.74 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003138/0.5087, allocations: 87.86 kB / 386.1 MB, free: 12.74 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1523/0.661, allocations: 35.45 MB / 421.5 MB, free: 1.969 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.6611, allocations: 0 / 421.5 MB, free: 1.969 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002606/0.6614, allocations: 46.84 kB / 421.6 MB, free: 1.961 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: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.008286/0.6697, allocations: 1.967 MB / 423.6 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.07e-05/0.6697, allocations: 11.69 kB / 423.6 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001021/0.6708, allocations: 252.1 kB / 423.8 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009288/0.6717, allocations: 221.1 kB / 424 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009652/0.6814, allocations: 1.965 MB / 426 MB, free: 15.81 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001816/0.6816, allocations: 127.2 kB / 426.1 MB, free: 15.81 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005487/0.6822, allocations: 183 kB / 426.3 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007721/0.6899, allocations: 2.319 MB / 428.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.299e-05/0.6901, allocations: 3.438 kB / 428.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003673/0.6905, allocations: 71.44 kB / 428.7 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001371/0.6906, allocations: 72.31 kB / 428.8 MB, free: 15.19 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006782/0.6974, allocations: 1.951 MB / 430.7 MB, free: 14.95 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03309/0.7305, allocations: 7.172 MB / 437.9 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006412/0.737, allocations: 1.624 MB / 439.5 MB, free: 8.555 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003301/0.7404, allocations: 0.8922 MB / 440.4 MB, free: 7.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001467/0.7406, allocations: 16.94 kB / 440.4 MB, free: 7.645 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003051/0.7436, allocations: 0.8169 MB / 441.2 MB, free: 6.809 MB / 330.7 MB Notification: Performance of pre-optimization done (n=111): time 5.36e-06/0.7437, allocations: 0 / 441.2 MB, free: 6.809 MB / 330.7 MB Notification: Performance of matching and sorting (n=111): time 0.006003/0.7497, allocations: 1.485 MB / 442.7 MB, free: 5.309 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001393/0.7499, allocations: 123.4 kB / 442.8 MB, free: 5.168 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003658/0.7536, allocations: 1.107 MB / 443.9 MB, free: 4.043 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004639/0.7541, allocations: 65.69 kB / 444 MB, free: 3.973 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00154/0.7556, allocations: 0.7534 MB / 444.8 MB, free: 3.215 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008251/0.7565, allocations: 330.5 kB / 445.1 MB, free: 2.902 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001642/0.7567, allocations: 24 kB / 445.1 MB, free: 2.879 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002891/0.757, allocations: 349.9 kB / 445.5 MB, free: 2.531 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002468/0.7595, allocations: 0.5843 MB / 446 MB, free: 1.945 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003075/0.7626, allocations: 0.7874 MB / 446.8 MB, free: 1.082 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002636/0.7653, allocations: 0.6021 MB / 447.4 MB, free: 492 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.605e-05/0.7654, allocations: 3.938 kB / 447.4 MB, free: 488 kB / 330.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.007253/0.7727, allocations: 1.711 MB / 449.1 MB, free: 14.76 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001222/0.7739, allocations: 1.937 MB / 451.1 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.871e-05/0.774, allocations: 4 kB / 451.1 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00264/0.7767, allocations: 431.1 kB / 451.5 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002246/0.7789, allocations: 171.7 kB / 451.7 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01349/0.7925, allocations: 4.365 MB / 456 MB, free: 7.586 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002782/0.7953, allocations: 175.2 kB / 456.2 MB, free: 7.414 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002927/0.7956, allocations: 43.98 kB / 456.2 MB, free: 7.371 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.7957, allocations: 0 / 456.2 MB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006301/0.802, allocations: 1.578 MB / 457.8 MB, free: 5.789 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.829e-05/0.8021, allocations: 4 kB / 457.8 MB, free: 5.785 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002321/0.8044, allocations: 428.7 kB / 458.2 MB, free: 5.363 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00203/0.8065, allocations: 168 kB / 458.4 MB, free: 5.199 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009994/0.8165, allocations: 4.345 MB / 462.8 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001887/0.8185, allocations: 163.2 kB / 462.9 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001456/0.8186, allocations: 36 kB / 463 MB, free: 0.5234 MB / 346.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 (117): * Single equations (assignments): 116 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0004978/0.8191, allocations: 232.7 kB / 463.2 MB, free: 296 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003177/0.8195, allocations: 130.4 kB / 463.3 MB, free: 164 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000574/0.8201, allocations: 161.5 kB / 463.5 MB, free: 0 / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.814e-05/0.8201, allocations: 12.05 kB / 463.5 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.8201, allocations: 0 / 463.5 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.8201, allocations: 3.938 kB / 463.5 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01252/0.8327, allocations: 3.551 MB / 467 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/0.8327, allocations: 4 kB / 467 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001387/0.8341, allocations: 111.8 kB / 467.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001498/0.8357, allocations: 405 kB / 467.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001497/0.8358, allocations: 23.98 kB / 467.6 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009621/0.8455, allocations: 4.144 MB / 471.7 MB, free: 7.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.8455, allocations: 0 / 471.7 MB, free: 7.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00613/0.8516, allocations: 2.462 MB / 474.2 MB, free: 5.109 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001259/0.853, allocations: 363.3 kB / 474.5 MB, free: 4.734 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003/0.8533, allocations: 27.98 kB / 474.6 MB, free: 4.707 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/0.8547, allocations: 111.8 kB / 474.7 MB, free: 4.598 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008084/0.8555, allocations: 220.6 kB / 474.9 MB, free: 4.383 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/0.8556, allocations: 31.98 kB / 474.9 MB, free: 4.352 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001992/0.8576, allocations: 0.8404 MB / 475.7 MB, free: 3.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.194e-06/0.8576, allocations: 4 kB / 475.8 MB, free: 3.496 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002982/0.8606, allocations: 0.8329 MB / 476.6 MB, free: 2.66 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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[3].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 74 * 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 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.006502/0.8672, allocations: 3.082 MB / 479.7 MB, free: 15.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006926/0.8741, allocations: 2.785 MB / 482.5 MB, free: 12.74 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.8742, allocations: 0 / 482.5 MB, free: 12.74 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002391/0.8766, allocations: 0.9847 MB / 483.4 MB, free: 11.74 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00214/0.8787, allocations: 288.4 kB / 483.7 MB, free: 11.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01133/0.8901, allocations: 3.647 MB / 487.4 MB, free: 7.762 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002115/0.8922, allocations: 1.738 MB / 489.1 MB, free: 5.988 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002821/0.8951, allocations: 0.5951 MB / 489.7 MB, free: 5.391 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001278/0.8964, allocations: 0.6125 MB / 490.3 MB, free: 4.777 MB / 378.7 MB Notification: Performance of SimCode: time 1.352e-06/0.8964, allocations: 4 kB / 490.3 MB, free: 4.773 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4365/1.333, allocations: 40.42 MB / 0.5183 GB, free: 120.1 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002901/1.333, allocations: 234.4 kB / 0.5185 GB, free: 119.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.415/5.749, allocations: 3.938 kB / 0.5185 GB, free: 119.8 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_R_res.mat does not exist to compare? outputFormat=mat