Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.957/1.957, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.261e-05/3.273e-05, allocations: 4 kB / 255.5 MB, free: 2.613 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09299/0.09305, allocations: 44.52 MB / 300 MB, free: 6.031 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4585/0.5516, allocations: 81.55 MB / 381.5 MB, free: 12.76 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000409/0.5521, allocations: 85 kB / 381.6 MB, free: 12.76 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06536/0.6175, allocations: 12.03 MB / 393.6 MB, free: 11.58 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.6176, allocations: 0 / 393.6 MB, free: 11.58 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.902e-05/0.6177, allocations: 11.66 kB / 393.7 MB, free: 11.58 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002741/0.6204, allocations: 0.8174 MB / 394.5 MB, free: 11.05 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.894e-05/0.6205, allocations: 11.47 kB / 394.5 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002913/0.6208, allocations: 99.56 kB / 394.6 MB, free: 11.01 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002816/0.6211, allocations: 77.8 kB / 394.7 MB, free: 10.97 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/0.6225, allocations: 475.1 kB / 395.1 MB, free: 10.71 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.041e-05/0.6226, allocations: 47.31 kB / 395.2 MB, free: 10.71 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000179/0.6228, allocations: 58.31 kB / 395.2 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002005/0.6248, allocations: 0.5857 MB / 395.8 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.907e-05/0.6249, allocations: 3.047 kB / 395.8 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/0.6251, allocations: 20.88 kB / 395.8 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.292e-05/0.6251, allocations: 19.39 kB / 395.9 MB, free: 10.6 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001523/0.6266, allocations: 414.3 kB / 396.3 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007167/0.6338, allocations: 2.195 MB / 398.5 MB, free: 9.695 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001901/0.6358, allocations: 447.9 kB / 398.9 MB, free: 9.652 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009694/0.6368, allocations: 233.9 kB / 399.1 MB, free: 9.641 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.725e-05/0.6369, allocations: 4.172 kB / 399.1 MB, free: 9.641 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009447/0.6379, allocations: 299.4 kB / 399.4 MB, free: 9.555 MB / 314.7 MB Notification: Performance of pre-optimization done (n=44): time 5.219e-06/0.6379, allocations: 0 / 399.4 MB, free: 9.555 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.001721/0.6396, allocations: 413.2 kB / 399.8 MB, free: 9.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.553e-05/0.6398, allocations: 140.3 kB / 400 MB, free: 9.32 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.6409, allocations: 404 kB / 400.3 MB, free: 9.172 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00017/0.6411, allocations: 39.8 kB / 400.4 MB, free: 9.141 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003716/0.6415, allocations: 299.3 kB / 400.7 MB, free: 8.961 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/0.6417, allocations: 140.5 kB / 400.8 MB, free: 8.863 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.964e-05/0.6418, allocations: 10.88 kB / 400.8 MB, free: 8.863 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.642, allocations: 364.8 kB / 401.2 MB, free: 8.531 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005814/0.6426, allocations: 142.3 kB / 401.3 MB, free: 8.527 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007128/0.6433, allocations: 300.2 kB / 401.6 MB, free: 8.336 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006651/0.644, allocations: 160.2 kB / 401.8 MB, free: 8.309 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-05/0.6441, allocations: 0 / 401.8 MB, free: 8.309 MB / 314.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00192/0.646, allocations: 0.5387 MB / 402.3 MB, free: 8.164 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005167/0.6466, allocations: 1.655 MB / 404 MB, free: 6.426 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/0.6466, allocations: 3.938 kB / 404 MB, free: 6.426 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007946/0.6474, allocations: 91.88 kB / 404.1 MB, free: 6.402 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008053/0.6483, allocations: 89.34 kB / 404.1 MB, free: 6.379 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00359/0.6519, allocations: 1.853 MB / 406 MB, free: 20.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/0.653, allocations: 77.17 kB / 406.1 MB, free: 20.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.89e-05/0.6531, allocations: 19.44 kB / 406.1 MB, free: 20.9 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.6532, allocations: 3.969 kB / 406.1 MB, free: 20.9 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001566/0.6548, allocations: 478.2 kB / 406.6 MB, free: 20.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.6548, allocations: 4.406 kB / 406.6 MB, free: 20.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005494/0.6554, allocations: 97.69 kB / 406.7 MB, free: 20.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007016/0.6561, allocations: 70.09 kB / 406.7 MB, free: 20.78 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003652/0.6598, allocations: 1.85 MB / 408.6 MB, free: 19.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.661, allocations: 71.75 kB / 408.7 MB, free: 19.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/0.6612, allocations: 18.97 kB / 408.7 MB, free: 19.3 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 55 * 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 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0003879/0.6616, allocations: 152.6 kB / 408.8 MB, free: 19.17 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002323/0.6618, allocations: 54.55 kB / 408.9 MB, free: 19.14 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002535/0.6621, allocations: 64.78 kB / 408.9 MB, free: 19.12 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.978e-06/0.6621, allocations: 3.875 kB / 408.9 MB, free: 19.12 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.6622, allocations: 0 / 408.9 MB, free: 19.12 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.6622, allocations: 0 / 408.9 MB, free: 19.12 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003901/0.6661, allocations: 1.217 MB / 410.2 MB, free: 18.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.6662, allocations: 7.969 kB / 410.2 MB, free: 18.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005326/0.6667, allocations: 34.23 kB / 410.2 MB, free: 18.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005875/0.6673, allocations: 90.62 kB / 410.3 MB, free: 18.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001165/0.6675, allocations: 14.58 kB / 410.3 MB, free: 18.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003712/0.6712, allocations: 1.746 MB / 412 MB, free: 17.11 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.6713, allocations: 0 / 412 MB, free: 17.11 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002532/0.6738, allocations: 0.7267 MB / 412.8 MB, free: 16.86 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005736/0.6745, allocations: 171.1 kB / 412.9 MB, free: 16.71 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000178/0.6747, allocations: 18.31 kB / 413 MB, free: 16.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008804/0.6756, allocations: 49.72 kB / 413 MB, free: 16.69 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002727/0.6759, allocations: 46.98 kB / 413.1 MB, free: 16.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-05/0.676, allocations: 14.97 kB / 413.1 MB, free: 16.67 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007833/0.6768, allocations: 303.5 kB / 413.4 MB, free: 16.56 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.82e-07/0.6768, allocations: 3.969 kB / 413.4 MB, free: 16.56 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002343/0.6791, allocations: 269.8 kB / 413.6 MB, free: 16.52 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 18 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p.off,rectifier.thyristor_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.off,rectifier.thyristor_p.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.003254/0.6825, allocations: 1.37 MB / 415 MB, free: 15.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00327/0.6858, allocations: 0.9212 MB / 415.9 MB, free: 15.33 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/0.6859, allocations: 0 / 415.9 MB, free: 15.33 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.687, allocations: 361.4 kB / 416.3 MB, free: 15.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.6882, allocations: 75.52 kB / 416.4 MB, free: 15.16 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004343/0.6926, allocations: 0.87 MB / 417.2 MB, free: 14.75 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008011/0.6935, allocations: 0.9131 MB / 418.1 MB, free: 13.95 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009869/0.6945, allocations: 107.1 kB / 418.2 MB, free: 13.9 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004752/0.695, allocations: 196.3 kB / 418.4 MB, free: 13.87 MB / 330.7 MB Notification: Performance of SimCode: time 1.313e-06/0.695, allocations: 0 / 418.4 MB, free: 13.87 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05274/0.7478, allocations: 12.6 MB / 431 MB, free: 7.738 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003707/0.7482, allocations: 237.6 kB / 431.3 MB, free: 7.43 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.196/3.944, allocations: 0 / 431.3 MB, free: 7.43 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R_res.mat does not exist to compare? outputFormat=mat