Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.135/2.135, allocations: 225.8 MB / 239.3 MB, free: 11.21 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.972e-05/2.985e-05, allocations: 4 kB / 292.8 MB, free: 8.273 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1077, allocations: 50.41 MB / 343.2 MB, free: 5.848 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4471/0.5548, allocations: 89.39 MB / 432.6 MB, free: 4.945 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003193/0.5552, allocations: 85.02 kB / 432.7 MB, free: 4.898 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06631/0.6215, allocations: 14.69 MB / 447.3 MB, free: 8.469 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.408e-06/0.6216, allocations: 0 / 447.3 MB, free: 8.469 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.5e-05/0.6217, allocations: 19.94 kB / 447.4 MB, free: 8.449 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002488/0.6242, allocations: 0.9019 MB / 448.3 MB, free: 7.543 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.834e-05/0.6242, allocations: 12.03 kB / 448.3 MB, free: 7.531 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001996/0.6244, allocations: 109.5 kB / 448.4 MB, free: 7.453 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002427/0.6247, allocations: 90.97 kB / 448.5 MB, free: 7.363 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001216/0.6259, allocations: 0.5159 MB / 449 MB, free: 6.898 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.254e-05/0.626, allocations: 53.31 kB / 449 MB, free: 6.867 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/0.6262, allocations: 70.08 kB / 449.1 MB, free: 6.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/0.6281, allocations: 0.7221 MB / 449.8 MB, free: 6.301 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.174e-05/0.6281, allocations: 0 / 449.8 MB, free: 6.301 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.6282, allocations: 32.05 kB / 449.9 MB, free: 6.289 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/0.6283, allocations: 16 kB / 449.9 MB, free: 6.273 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/0.6298, allocations: 0.5084 MB / 450.4 MB, free: 5.957 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006298/0.6361, allocations: 2.736 MB / 453.1 MB, free: 3.715 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/0.6374, allocations: 0.5322 MB / 453.7 MB, free: 3.395 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001248/0.6387, allocations: 400.2 kB / 454 MB, free: 3.105 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.88e-05/0.6388, allocations: 4.438 kB / 454 MB, free: 3.102 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008623/0.6396, allocations: 357.1 kB / 454.4 MB, free: 2.828 MB / 362.7 MB Notification: Performance of pre-optimization done (n=59): time 3.516e-06/0.6397, allocations: 4 kB / 454.4 MB, free: 2.824 MB / 362.7 MB Notification: Performance of matching and sorting (n=59): time 0.001638/0.6413, allocations: 0.5556 MB / 455 MB, free: 2.422 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.902e-05/0.6414, allocations: 148.4 kB / 455.1 MB, free: 2.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008516/0.6423, allocations: 439.5 kB / 455.5 MB, free: 1.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001011/0.6424, allocations: 47.06 kB / 455.6 MB, free: 1.871 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003428/0.6428, allocations: 326.3 kB / 455.9 MB, free: 1.637 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002359/0.643, allocations: 180.8 kB / 456.1 MB, free: 1.484 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.071e-05/0.6431, allocations: 9.562 kB / 456.1 MB, free: 1.484 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.6433, allocations: 371.7 kB / 456.4 MB, free: 1.137 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005688/0.6439, allocations: 199.4 kB / 456.6 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007583/0.6446, allocations: 361.3 kB / 457 MB, free: 0.543 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006614/0.6453, allocations: 215.2 kB / 457.2 MB, free: 340 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.916e-06/0.6453, allocations: 3.953 kB / 457.2 MB, free: 336 kB / 362.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002013/0.6474, allocations: 0.699 MB / 457.9 MB, free: 15.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006421/0.648, allocations: 1.579 MB / 459.5 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.6481, allocations: 4 kB / 459.5 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008454/0.6489, allocations: 165.7 kB / 459.6 MB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007912/0.6497, allocations: 99.83 kB / 459.7 MB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005252/0.655, allocations: 3.595 MB / 463.3 MB, free: 9.785 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.656, allocations: 95.55 kB / 463.4 MB, free: 9.691 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.06e-05/0.6561, allocations: 20 kB / 463.5 MB, free: 9.672 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.6562, allocations: 4 kB / 463.5 MB, free: 9.668 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001761/0.6579, allocations: 0.6199 MB / 464.1 MB, free: 9.039 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.658, allocations: 4 kB / 464.1 MB, free: 9.035 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007287/0.6587, allocations: 170.1 kB / 464.2 MB, free: 8.863 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006547/0.6594, allocations: 87.83 kB / 464.3 MB, free: 8.777 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005275/0.6647, allocations: 3.598 MB / 467.9 MB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009146/0.6656, allocations: 79.62 kB / 468 MB, free: 4.832 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.02e-05/0.6657, allocations: 31.94 kB / 468 MB, free: 4.801 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 29 ($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_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n2.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 (67): * Single equations (assignments): 65 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002926/0.666, allocations: 160.8 kB / 468.2 MB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/0.6662, allocations: 59.62 kB / 468.3 MB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002298/0.6664, allocations: 73.58 kB / 468.3 MB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.6665, allocations: 8 kB / 468.3 MB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.6665, allocations: 3.938 kB / 468.3 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.6665, allocations: 7.922 kB / 468.3 MB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003466/0.67, allocations: 1.454 MB / 469.8 MB, free: 2.969 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.67, allocations: 0 / 469.8 MB, free: 2.969 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005072/0.6705, allocations: 51.91 kB / 469.9 MB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006907/0.6712, allocations: 145.6 kB / 470 MB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.975e-05/0.6713, allocations: 15.98 kB / 470 MB, free: 2.754 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005017/0.6764, allocations: 3.522 MB / 473.5 MB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.6764, allocations: 0 / 473.5 MB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002577/0.679, allocations: 0.9756 MB / 474.5 MB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004082/0.6794, allocations: 192.3 kB / 474.7 MB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001403/0.6796, allocations: 12 kB / 474.7 MB, free: 13.74 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006672/0.6803, allocations: 43.95 kB / 474.8 MB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002842/0.6806, allocations: 84.41 kB / 474.8 MB, free: 13.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.696e-05/0.6806, allocations: 19.98 kB / 474.9 MB, free: 13.59 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006906/0.6813, allocations: 329.6 kB / 475.2 MB, free: 13.28 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6814, allocations: 0 / 475.2 MB, free: 13.28 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001776/0.6831, allocations: 351 kB / 475.5 MB, free: 12.93 MB / 394.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: 20 (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_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.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: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 36 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003228/0.6864, allocations: 1.639 MB / 477.2 MB, free: 11.25 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0034/0.6898, allocations: 1.362 MB / 478.5 MB, free: 9.852 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/0.6899, allocations: 4.062 kB / 478.5 MB, free: 9.848 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001236/0.6911, allocations: 0.5362 MB / 479.1 MB, free: 9.293 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009922/0.6922, allocations: 102.7 kB / 479.2 MB, free: 9.195 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003983/0.6962, allocations: 1.154 MB / 480.3 MB, free: 7.992 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000859/0.6971, allocations: 0.971 MB / 481.3 MB, free: 6.992 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008187/0.6979, allocations: 120.8 kB / 481.4 MB, free: 6.871 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004802/0.6984, allocations: 231.3 kB / 481.6 MB, free: 6.645 MB / 394.7 MB Notification: Performance of SimCode: time 1.413e-06/0.6984, allocations: 0 / 481.6 MB, free: 6.645 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06041/0.7588, allocations: 16.54 MB / 498.2 MB, free: 6.391 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004059/0.7593, allocations: 229.5 kB / 498.4 MB, free: 6.082 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.324/4.084, allocations: 4.062 kB / 498.4 MB, free: 6.078 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL_res.mat does not exist to compare? outputFormat=mat