Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.175/2.175, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.285e-05/4.301e-05, allocations: 4 kB / 292.8 MB, free: 8.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1303, allocations: 50.41 MB / 343.2 MB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4478/0.5781, allocations: 89.08 MB / 432.3 MB, free: 4.828 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003222/0.5785, allocations: 82.7 kB / 432.3 MB, free: 4.785 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06381/0.6424, allocations: 14.35 MB / 446.7 MB, free: 8.641 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.6424, allocations: 0 / 446.7 MB, free: 8.641 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.15e-05/0.6425, allocations: 19.94 kB / 446.7 MB, free: 8.621 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.002998/0.6455, allocations: 0.8819 MB / 447.6 MB, free: 7.734 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/0.6456, allocations: 12.03 kB / 447.6 MB, free: 7.723 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003336/0.646, allocations: 110.1 kB / 447.7 MB, free: 7.645 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000285/0.6463, allocations: 86.97 kB / 447.8 MB, free: 7.559 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/0.6477, allocations: 0.4999 MB / 448.3 MB, free: 7.105 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.896e-05/0.6478, allocations: 56.38 kB / 448.3 MB, free: 7.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001993/0.648, allocations: 68.81 kB / 448.4 MB, free: 7.023 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002027/0.6501, allocations: 0.7006 MB / 449.1 MB, free: 6.523 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.652e-05/0.6502, allocations: 0 / 449.1 MB, free: 6.523 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.6503, allocations: 28.25 kB / 449.1 MB, free: 6.516 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.756e-05/0.6503, allocations: 16 kB / 449.2 MB, free: 6.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001741/0.6521, allocations: 0.4958 MB / 449.7 MB, free: 6.188 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007123/0.6593, allocations: 2.684 MB / 452.3 MB, free: 3.984 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/0.6608, allocations: 0.5211 MB / 452.9 MB, free: 3.664 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001002/0.6619, allocations: 317.7 kB / 453.2 MB, free: 3.453 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.127e-05/0.662, allocations: 12.44 kB / 453.2 MB, free: 3.438 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009219/0.6629, allocations: 345.9 kB / 453.5 MB, free: 3.176 MB / 362.7 MB Notification: Performance of pre-optimization done (n=57): time 5.44e-06/0.663, allocations: 3.984 kB / 453.5 MB, free: 3.172 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.001651/0.6646, allocations: 0.5252 MB / 454 MB, free: 2.793 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/0.6648, allocations: 152.6 kB / 454.2 MB, free: 2.617 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009154/0.6657, allocations: 429.1 kB / 454.6 MB, free: 2.293 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001755/0.6659, allocations: 47.19 kB / 454.7 MB, free: 2.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003476/0.6663, allocations: 325.6 kB / 455 MB, free: 2.012 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002925/0.6666, allocations: 173.2 kB / 455.1 MB, free: 1.867 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.086e-05/0.6667, allocations: 10.5 kB / 455.2 MB, free: 1.867 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.6669, allocations: 366.5 kB / 455.5 MB, free: 1.523 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005635/0.6675, allocations: 193.2 kB / 455.7 MB, free: 1.406 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007253/0.6682, allocations: 351.3 kB / 456 MB, free: 1.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005916/0.6688, allocations: 202 kB / 456.2 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.6688, allocations: 0 / 456.2 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001883/0.6707, allocations: 0.6658 MB / 456.9 MB, free: 420 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000705/0.6715, allocations: 1.575 MB / 458.5 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.122e-05/0.6716, allocations: 4 kB / 458.5 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009193/0.6725, allocations: 148.8 kB / 458.6 MB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007317/0.6733, allocations: 91.83 kB / 458.7 MB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004644/0.6779, allocations: 2.343 MB / 461.1 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/0.679, allocations: 95.45 kB / 461.2 MB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.87e-05/0.6792, allocations: 24 kB / 461.2 MB, free: 11.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.6792, allocations: 4 kB / 461.2 MB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00171/0.6809, allocations: 0.5881 MB / 461.8 MB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.881e-05/0.681, allocations: 4 kB / 461.8 MB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007383/0.6817, allocations: 148.8 kB / 461.9 MB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006626/0.6824, allocations: 83.83 kB / 462 MB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004618/0.6871, allocations: 2.353 MB / 464.4 MB, free: 8.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009308/0.6881, allocations: 79.55 kB / 464.4 MB, free: 8.492 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.705e-05/0.6882, allocations: 27.95 kB / 464.5 MB, free: 8.465 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 (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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003229/0.6885, allocations: 156.9 kB / 464.6 MB, free: 8.305 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/0.6887, allocations: 59.33 kB / 464.7 MB, free: 8.246 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002336/0.689, allocations: 69.59 kB / 464.7 MB, free: 8.176 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.689, allocations: 4 kB / 464.7 MB, free: 8.172 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.689, allocations: 4 kB / 464.8 MB, free: 8.168 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.689, allocations: 3.984 kB / 464.8 MB, free: 8.164 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003615/0.6927, allocations: 1.387 MB / 466.1 MB, free: 6.715 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.6927, allocations: 0 / 466.1 MB, free: 6.715 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004681/0.6932, allocations: 55.89 kB / 466.2 MB, free: 6.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007217/0.6939, allocations: 140.8 kB / 466.3 MB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-05/0.6941, allocations: 16 kB / 466.4 MB, free: 6.504 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004404/0.6985, allocations: 2.244 MB / 468.6 MB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.6985, allocations: 96 / 468.6 MB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00249/0.701, allocations: 0.924 MB / 469.5 MB, free: 3.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005095/0.7016, allocations: 192.2 kB / 469.7 MB, free: 2.973 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/0.7018, allocations: 16 kB / 469.7 MB, free: 2.957 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000752/0.7026, allocations: 47.95 kB / 469.8 MB, free: 2.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000325/0.7029, allocations: 72.45 kB / 469.8 MB, free: 2.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.271e-05/0.703, allocations: 19.98 kB / 469.9 MB, free: 2.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007442/0.7037, allocations: 329.6 kB / 470.2 MB, free: 2.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.7038, allocations: 4 kB / 470.2 MB, free: 2.496 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001774/0.7056, allocations: 343.1 kB / 470.5 MB, free: 2.16 MB / 378.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: 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_n1.off,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 34 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.003003/0.7086, allocations: 1.571 MB / 472.1 MB, free: 0.5508 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003299/0.712, allocations: 1.15 MB / 473.2 MB, free: 15.38 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.199e-05/0.712, allocations: 4 kB / 473.2 MB, free: 15.38 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001194/0.7132, allocations: 436.7 kB / 473.7 MB, free: 14.94 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.7144, allocations: 119.4 kB / 473.8 MB, free: 14.83 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00417/0.7186, allocations: 1.06 MB / 474.8 MB, free: 13.72 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007549/0.7194, allocations: 0.9595 MB / 475.8 MB, free: 12.73 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008872/0.7203, allocations: 124.8 kB / 475.9 MB, free: 12.61 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005035/0.7209, allocations: 227.4 kB / 476.2 MB, free: 12.38 MB / 394.7 MB Notification: Performance of SimCode: time 3.577e-06/0.7209, allocations: 0 / 476.2 MB, free: 12.38 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06341/0.7843, allocations: 16.2 MB / 492.4 MB, free: 12.45 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003516/0.7847, allocations: 232.4 kB / 492.6 MB, free: 12.16 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.306/4.091, allocations: 3.938 kB / 492.6 MB, free: 12.16 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R_res.mat does not exist to compare? outputFormat=mat