Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.233/2.233, allocations: 205.8 MB / 218.9 MB, free: 9.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.172e-05/4.18e-05, allocations: 4 kB / 269.5 MB, free: 6.289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1073, allocations: 47.57 MB / 317 MB, free: 6.629 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.479/0.5864, allocations: 87.83 MB / 404.9 MB, free: 15.93 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003365/0.5868, allocations: 79.95 kB / 405 MB, free: 15.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06142/0.6483, allocations: 13.89 MB / 418.8 MB, free: 4.148 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.6483, allocations: 0 / 418.8 MB, free: 4.148 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.231e-05/0.6484, allocations: 20 kB / 418.9 MB, free: 4.129 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.002584/0.651, allocations: 0.8825 MB / 419.7 MB, free: 3.238 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.281e-05/0.6511, allocations: 12.03 kB / 419.8 MB, free: 3.227 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002686/0.6514, allocations: 112.9 kB / 419.9 MB, free: 3.148 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002815/0.6517, allocations: 90.95 kB / 420 MB, free: 3.059 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/0.653, allocations: 0.4981 MB / 420.5 MB, free: 2.609 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.6531, allocations: 54.06 kB / 420.5 MB, free: 2.578 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/0.6533, allocations: 66.38 kB / 420.6 MB, free: 2.535 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/0.6552, allocations: 0.6726 MB / 421.2 MB, free: 2.055 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.646e-05/0.6553, allocations: 3.938 kB / 421.2 MB, free: 2.051 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.6554, allocations: 35.11 kB / 421.3 MB, free: 2.039 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.157e-05/0.6554, allocations: 15.94 kB / 421.3 MB, free: 2.023 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/0.6568, allocations: 489.3 kB / 421.8 MB, free: 1.719 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006696/0.6636, allocations: 2.664 MB / 424.4 MB, free: 15.53 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001759/0.6654, allocations: 0.5652 MB / 425 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001275/0.6667, allocations: 386.5 kB / 425.4 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.118e-05/0.6668, allocations: 4.438 kB / 425.4 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008839/0.6677, allocations: 346.2 kB / 425.7 MB, free: 14.61 MB / 346.7 MB Notification: Performance of pre-optimization done (n=57): time 3.947e-06/0.6677, allocations: 4 kB / 425.7 MB, free: 14.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=57): time 0.001631/0.6693, allocations: 0.5359 MB / 426.3 MB, free: 14.21 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.809e-05/0.6695, allocations: 122.7 kB / 426.4 MB, free: 14.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008941/0.6704, allocations: 427.1 kB / 426.8 MB, free: 13.74 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001133/0.6705, allocations: 47.88 kB / 426.8 MB, free: 13.7 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003187/0.6709, allocations: 312.2 kB / 427.2 MB, free: 13.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002187/0.6711, allocations: 173.9 kB / 427.3 MB, free: 13.33 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.8e-05/0.6711, allocations: 10.31 kB / 427.3 MB, free: 13.33 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.6714, allocations: 376.1 kB / 427.7 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005236/0.6719, allocations: 192.2 kB / 427.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006606/0.6726, allocations: 340.2 kB / 428.2 MB, free: 12.56 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006031/0.6732, allocations: 209.8 kB / 428.4 MB, free: 12.43 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.6732, allocations: 0 / 428.4 MB, free: 12.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001977/0.6752, allocations: 0.6813 MB / 429.1 MB, free: 11.92 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007004/0.6759, allocations: 1.574 MB / 430.7 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/0.676, allocations: 4 kB / 430.7 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008401/0.6768, allocations: 162.1 kB / 430.8 MB, free: 10.13 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007651/0.6776, allocations: 98.62 kB / 430.9 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00625/0.6839, allocations: 3.594 MB / 434.5 MB, free: 6.648 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009825/0.6849, allocations: 90.69 kB / 434.6 MB, free: 6.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.655e-05/0.685, allocations: 19.81 kB / 434.6 MB, free: 6.555 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.685, allocations: 7.984 kB / 434.6 MB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001662/0.6867, allocations: 0.5912 MB / 435.2 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.6867, allocations: 4.5 kB / 435.2 MB, free: 6.133 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007296/0.6875, allocations: 172.6 kB / 435.4 MB, free: 6.004 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006019/0.6881, allocations: 87.27 kB / 435.5 MB, free: 5.922 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005147/0.6933, allocations: 3.59 MB / 439.1 MB, free: 2.543 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000874/0.6942, allocations: 78.89 kB / 439.2 MB, free: 2.477 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.158e-05/0.6943, allocations: 26.5 kB / 439.2 MB, free: 2.457 MB / 346.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,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_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 (65): * Single equations (assignments): 63 * 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.0002921/0.6946, allocations: 161.7 kB / 439.3 MB, free: 2.312 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.6947, allocations: 55.34 kB / 439.4 MB, free: 2.258 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002139/0.695, allocations: 68.39 kB / 439.5 MB, free: 2.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.695, allocations: 8 kB / 439.5 MB, free: 2.223 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.413e-06/0.695, allocations: 0 / 439.5 MB, free: 2.223 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.695, allocations: 3.984 kB / 439.5 MB, free: 2.219 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003339/0.6984, allocations: 1.402 MB / 440.9 MB, free: 1.141 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.6984, allocations: 3.938 kB / 440.9 MB, free: 1.137 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004875/0.6989, allocations: 55.47 kB / 440.9 MB, free: 1.086 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00071/0.6997, allocations: 153.8 kB / 441.1 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.424e-05/0.6998, allocations: 15.36 kB / 441.1 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00523/0.705, allocations: 3.513 MB / 444.6 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.705, allocations: 0 / 444.6 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002588/0.7076, allocations: 0.9344 MB / 445.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004959/0.7082, allocations: 192.2 kB / 445.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.7084, allocations: 9.75 kB / 445.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006608/0.709, allocations: 44.97 kB / 445.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003406/0.7094, allocations: 80.31 kB / 445.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.816e-05/0.7095, allocations: 15.5 kB / 445.9 MB, free: 12.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006603/0.7101, allocations: 325.6 kB / 446.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.7101, allocations: 0 / 446.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001841/0.712, allocations: 340 kB / 446.5 MB, free: 12.13 MB / 362.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,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: 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 (41): * 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: 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.003034/0.7151, allocations: 1.586 MB / 448.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003288/0.7184, allocations: 1.326 MB / 449.4 MB, free: 9.422 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-05/0.7185, allocations: 4 kB / 449.5 MB, free: 9.418 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001267/0.7198, allocations: 0.514 MB / 450 MB, free: 8.887 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.7208, allocations: 110 kB / 450.1 MB, free: 8.781 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003981/0.7248, allocations: 1.099 MB / 451.2 MB, free: 7.641 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007747/0.7257, allocations: 0.9553 MB / 452.1 MB, free: 6.656 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007666/0.7264, allocations: 112.8 kB / 452.2 MB, free: 6.543 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004456/0.7269, allocations: 223.4 kB / 452.5 MB, free: 6.324 MB / 362.7 MB Notification: Performance of SimCode: time 1.693e-06/0.7269, allocations: 0 / 452.5 MB, free: 6.324 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05846/0.7854, allocations: 16.1 MB / 468.6 MB, free: 6.293 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004348/0.7859, allocations: 246.9 kB / 468.8 MB, free: 5.992 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.221/4.007, allocations: 3.938 kB / 468.8 MB, free: 5.988 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL_res.mat does not exist to compare? outputFormat=mat