Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.145/2.145, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.821e-05/2.827e-05, allocations: 4 kB / 292.8 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1061, allocations: 50.4 MB / 343.2 MB, free: 5.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4729/0.5791, allocations: 88.94 MB / 432.1 MB, free: 5.031 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/0.5795, allocations: 77.83 kB / 432.2 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05951/0.639, allocations: 13.72 MB / 445.9 MB, free: 9.371 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.175e-06/0.6391, allocations: 3.938 kB / 445.9 MB, free: 9.367 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.528e-05/0.6392, allocations: 12 kB / 445.9 MB, free: 9.355 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.002661/0.6418, allocations: 0.8639 MB / 446.8 MB, free: 8.477 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/0.6419, allocations: 8.031 kB / 446.8 MB, free: 8.469 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003061/0.6422, allocations: 106.2 kB / 446.9 MB, free: 8.395 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002728/0.6425, allocations: 83.06 kB / 447 MB, free: 8.312 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/0.6439, allocations: 490.8 kB / 447.5 MB, free: 7.871 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.342e-05/0.644, allocations: 46.69 kB / 447.5 MB, free: 7.848 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001652/0.6441, allocations: 64.5 kB / 447.6 MB, free: 7.805 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001677/0.6458, allocations: 0.6293 MB / 448.2 MB, free: 7.355 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.766e-05/0.6459, allocations: 11.92 kB / 448.2 MB, free: 7.344 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.082e-05/0.646, allocations: 24.5 kB / 448.2 MB, free: 7.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.69e-05/0.646, allocations: 16 kB / 448.3 MB, free: 7.324 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/0.6473, allocations: 452.8 kB / 448.7 MB, free: 7.043 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005715/0.653, allocations: 2.381 MB / 451.1 MB, free: 5.059 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.6542, allocations: 417.2 kB / 451.5 MB, free: 4.797 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007528/0.655, allocations: 246.5 kB / 451.7 MB, free: 4.629 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.969e-05/0.6551, allocations: 4 kB / 451.7 MB, free: 4.625 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007666/0.6558, allocations: 315.3 kB / 452 MB, free: 4.375 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 3.246e-06/0.6559, allocations: 0 / 452 MB, free: 4.375 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.001307/0.6572, allocations: 445.7 kB / 452.5 MB, free: 4.039 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.6573, allocations: 170 kB / 452.6 MB, free: 3.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008563/0.6582, allocations: 420 kB / 453 MB, free: 3.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001122/0.6583, allocations: 38.83 kB / 453.1 MB, free: 3.484 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000348/0.6587, allocations: 309.7 kB / 453.4 MB, free: 3.262 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/0.6589, allocations: 150 kB / 453.5 MB, free: 3.137 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.221e-05/0.6589, allocations: 14.56 kB / 453.5 MB, free: 3.129 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.6592, allocations: 372.5 kB / 453.9 MB, free: 2.781 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004409/0.6596, allocations: 153.2 kB / 454.1 MB, free: 2.688 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006155/0.6602, allocations: 325.4 kB / 454.4 MB, free: 2.383 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004862/0.6607, allocations: 180.9 kB / 454.6 MB, free: 2.262 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.258e-05/0.6608, allocations: 4 kB / 454.6 MB, free: 2.258 MB / 362.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001524/0.6623, allocations: 0.5641 MB / 455.1 MB, free: 1.832 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007981/0.6631, allocations: 1.652 MB / 456.8 MB, free: 76 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.652e-05/0.6632, allocations: 8 kB / 456.8 MB, free: 68 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009644/0.6642, allocations: 86.27 kB / 456.9 MB, free: 0 / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.6654, allocations: 91.45 kB / 457 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002505/0.6679, allocations: 1.74 MB / 458.7 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009208/0.6688, allocations: 93.17 kB / 458.8 MB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.487e-05/0.6689, allocations: 19.5 kB / 458.8 MB, free: 14.15 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.6689, allocations: 4 kB / 458.8 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001273/0.6702, allocations: 489.1 kB / 459.3 MB, free: 13.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.6702, allocations: 4 kB / 459.3 MB, free: 13.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003633/0.6706, allocations: 78.23 kB / 459.4 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006076/0.6712, allocations: 95.83 kB / 459.5 MB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002357/0.6736, allocations: 1.737 MB / 461.2 MB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007885/0.6744, allocations: 67.66 kB / 461.3 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.705e-05/0.6745, allocations: 24 kB / 461.3 MB, free: 11.69 MB / 378.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_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$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 (63): * Single equations (assignments): 62 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002595/0.6748, allocations: 160 kB / 461.4 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.6749, allocations: 55.33 kB / 461.5 MB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001949/0.6751, allocations: 69.12 kB / 461.6 MB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.6752, allocations: 4 kB / 461.6 MB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.6752, allocations: 4.062 kB / 461.6 MB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.6752, allocations: 3.984 kB / 461.6 MB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002917/0.6781, allocations: 1.308 MB / 462.9 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.6782, allocations: 0 / 462.9 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000494/0.6787, allocations: 55.91 kB / 462.9 MB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003657/0.679, allocations: 76.83 kB / 463 MB, free: 9.883 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.487e-05/0.6791, allocations: 8 kB / 463 MB, free: 9.875 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002236/0.6814, allocations: 1.655 MB / 464.7 MB, free: 8.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.6814, allocations: 0 / 464.7 MB, free: 8.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001945/0.6833, allocations: 0.7908 MB / 465.5 MB, free: 7.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003245/0.6837, allocations: 176.5 kB / 465.6 MB, free: 7.078 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.6838, allocations: 12 kB / 465.7 MB, free: 7.066 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006206/0.6844, allocations: 39.97 kB / 465.7 MB, free: 7.027 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001928/0.6846, allocations: 60.28 kB / 465.8 MB, free: 6.969 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-05/0.6847, allocations: 19.94 kB / 465.8 MB, free: 6.949 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006055/0.6853, allocations: 317.2 kB / 466.1 MB, free: 6.641 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6853, allocations: 0 / 466.1 MB, free: 6.641 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001402/0.6867, allocations: 303 kB / 466.4 MB, free: 6.344 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * 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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,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 (41): * Single equations (assignments): 35 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002321/0.6891, allocations: 1.434 MB / 467.8 MB, free: 4.875 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002171/0.6913, allocations: 0.9293 MB / 468.7 MB, free: 3.926 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.6913, allocations: 3.984 kB / 468.7 MB, free: 3.922 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007045/0.692, allocations: 343.2 kB / 469.1 MB, free: 3.578 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007846/0.6928, allocations: 94.56 kB / 469.2 MB, free: 3.492 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003094/0.6959, allocations: 1.004 MB / 470.2 MB, free: 2.445 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006398/0.6966, allocations: 0.9309 MB / 471.1 MB, free: 1.484 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007422/0.6973, allocations: 128.5 kB / 471.2 MB, free: 1.355 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004184/0.6978, allocations: 211.4 kB / 471.4 MB, free: 1.148 MB / 378.7 MB Notification: Performance of SimCode: time 1.342e-06/0.6978, allocations: 0 / 471.4 MB, free: 1.148 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0489/0.7467, allocations: 13.08 MB / 484.5 MB, free: 4.32 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003536/0.7471, allocations: 239.6 kB / 484.7 MB, free: 4.012 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.071/3.818, allocations: 7 kB / 484.8 MB, free: 4.008 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL_res.mat does not exist to compare? outputFormat=mat