Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2/2, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.968e-05/2.964e-05, allocations: 4 kB / 292.3 MB, free: 8.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.107, allocations: 50.4 MB / 342.7 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4741/0.5811, allocations: 88.93 MB / 431.6 MB, free: 5.012 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003146/0.5815, allocations: 88.7 kB / 431.7 MB, free: 4.961 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05878/0.6403, allocations: 13.71 MB / 445.4 MB, free: 9.348 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.6403, allocations: 3.938 kB / 445.4 MB, free: 9.344 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.588e-05/0.6404, allocations: 16 kB / 445.4 MB, free: 9.328 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.0024/0.6428, allocations: 0.8566 MB / 446.3 MB, free: 8.461 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/0.6429, allocations: 12.03 kB / 446.3 MB, free: 8.449 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002231/0.6431, allocations: 105.7 kB / 446.4 MB, free: 8.371 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002344/0.6434, allocations: 79.06 kB / 446.5 MB, free: 8.293 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.6447, allocations: 490.5 kB / 446.9 MB, free: 7.855 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.833e-05/0.6448, allocations: 50.69 kB / 447 MB, free: 7.828 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.6449, allocations: 66 kB / 447.1 MB, free: 7.781 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/0.6466, allocations: 0.6383 MB / 447.7 MB, free: 7.324 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.069e-05/0.6467, allocations: 0 / 447.7 MB, free: 7.324 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.6468, allocations: 27.44 kB / 447.7 MB, free: 7.316 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.769e-05/0.6468, allocations: 12 kB / 447.7 MB, free: 7.305 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/0.6481, allocations: 452.1 kB / 448.2 MB, free: 7.023 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005764/0.6539, allocations: 2.379 MB / 450.6 MB, free: 5.043 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.655, allocations: 415.4 kB / 451 MB, free: 4.785 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007823/0.6558, allocations: 255.5 kB / 451.2 MB, free: 4.605 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.96e-05/0.6559, allocations: 4 kB / 451.2 MB, free: 4.602 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007495/0.6566, allocations: 314.7 kB / 451.5 MB, free: 4.352 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 3.216e-06/0.6566, allocations: 0 / 451.5 MB, free: 4.352 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.001328/0.658, allocations: 453.8 kB / 452 MB, free: 4.012 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.6581, allocations: 158.7 kB / 452.1 MB, free: 3.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000801/0.6589, allocations: 419.2 kB / 452.5 MB, free: 3.504 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.685e-05/0.659, allocations: 43.08 kB / 452.6 MB, free: 3.465 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003058/0.6593, allocations: 315.4 kB / 452.9 MB, free: 3.238 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/0.6595, allocations: 148.1 kB / 453 MB, free: 3.113 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.98e-05/0.6596, allocations: 7.125 kB / 453 MB, free: 3.113 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.6599, allocations: 371.7 kB / 453.4 MB, free: 2.766 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004508/0.6603, allocations: 161.9 kB / 453.5 MB, free: 2.668 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005855/0.6609, allocations: 319.5 kB / 453.9 MB, free: 2.363 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004947/0.6615, allocations: 191 kB / 454 MB, free: 2.238 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/0.6615, allocations: 0 / 454 MB, free: 2.238 MB / 362.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001493/0.663, allocations: 0.5603 MB / 454.6 MB, free: 1.812 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007513/0.6637, allocations: 1.653 MB / 456.3 MB, free: 56 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.6638, allocations: 4 kB / 456.3 MB, free: 52 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005085/0.6643, allocations: 82.23 kB / 456.3 MB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007406/0.6651, allocations: 95.77 kB / 456.4 MB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002414/0.6675, allocations: 1.741 MB / 458.2 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008936/0.6684, allocations: 82.19 kB / 458.3 MB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.27e-05/0.6685, allocations: 26.17 kB / 458.3 MB, free: 14.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/0.6685, allocations: 4 kB / 458.3 MB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001294/0.6698, allocations: 497.8 kB / 458.8 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.6698, allocations: 4 kB / 458.8 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003542/0.6702, allocations: 77.8 kB / 458.9 MB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006059/0.6708, allocations: 95.89 kB / 458.9 MB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002623/0.6735, allocations: 1.733 MB / 460.7 MB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007359/0.6742, allocations: 67.66 kB / 460.7 MB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-05/0.6743, allocations: 28.06 kB / 460.8 MB, free: 11.66 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.0002571/0.6746, allocations: 152 kB / 460.9 MB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.6747, allocations: 55.34 kB / 461 MB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001911/0.6749, allocations: 65.17 kB / 461 MB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/0.675, allocations: 8 kB / 461 MB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.675, allocations: 3.938 kB / 461.1 MB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.675, allocations: 3.984 kB / 461.1 MB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00301/0.678, allocations: 1.311 MB / 462.4 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.6781, allocations: 4 kB / 462.4 MB, free: 9.996 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004938/0.6786, allocations: 47.91 kB / 462.4 MB, free: 9.949 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004132/0.679, allocations: 80.84 kB / 462.5 MB, free: 9.867 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.249e-05/0.6791, allocations: 12.06 kB / 462.5 MB, free: 9.855 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002409/0.6815, allocations: 1.655 MB / 464.2 MB, free: 8.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.6815, allocations: 0 / 464.2 MB, free: 8.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002278/0.6838, allocations: 0.7909 MB / 465 MB, free: 7.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003409/0.6842, allocations: 172.4 kB / 465.1 MB, free: 7.062 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.6843, allocations: 12 kB / 465.1 MB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006409/0.6849, allocations: 39.97 kB / 465.2 MB, free: 7.012 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002049/0.6852, allocations: 56.36 kB / 465.2 MB, free: 6.957 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.743e-05/0.6852, allocations: 23.92 kB / 465.3 MB, free: 6.934 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006381/0.6859, allocations: 313.2 kB / 465.6 MB, free: 6.629 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6859, allocations: 0 / 465.6 MB, free: 6.629 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001923/0.6878, allocations: 303 kB / 465.9 MB, free: 6.332 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.003244/0.6911, allocations: 1.442 MB / 467.3 MB, free: 4.855 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00293/0.694, allocations: 0.9292 MB / 468.2 MB, free: 3.906 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.6941, allocations: 0 / 468.2 MB, free: 3.906 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009773/0.6951, allocations: 343.2 kB / 468.6 MB, free: 3.562 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.6961, allocations: 91.03 kB / 468.7 MB, free: 3.477 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004436/0.7006, allocations: 1.006 MB / 469.7 MB, free: 2.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/0.7017, allocations: 0.9348 MB / 470.6 MB, free: 1.465 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001147/0.7028, allocations: 124.5 kB / 470.7 MB, free: 1.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006427/0.7035, allocations: 215.4 kB / 470.9 MB, free: 1.129 MB / 378.7 MB Notification: Performance of SimCode: time 1.644e-06/0.7035, allocations: 0 / 470.9 MB, free: 1.129 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07188/0.7754, allocations: 13.08 MB / 484 MB, free: 4.305 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003988/0.7759, allocations: 234.9 kB / 484.2 MB, free: 4 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.116/3.892, allocations: 4 kB / 484.2 MB, free: 3.996 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL_res.mat does not exist to compare? outputFormat=mat