Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_DC_Drive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.088/2.088, allocations: 194.9 MB / 208 MB, free: 3.176 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.023e-05/3.028e-05, allocations: 4 kB / 255.5 MB, free: 2.594 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09583/0.09588, allocations: 44.5 MB / 300 MB, free: 6.035 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5348/0.6307, allocations: 100.5 MB / 400.5 MB, free: 12.17 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004389/0.6312, allocations: 91.66 kB / 400.5 MB, free: 12.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1719/0.8031, allocations: 36.29 MB / 436.8 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.8032, allocations: 4 kB / 436.8 MB, free: 11.88 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002166/0.8034, allocations: 32 kB / 436.9 MB, free: 11.84 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: 365 * Number of variables: 365 Notification: Performance of Generate backend data structure: time 0.006135/0.8096, allocations: 1.726 MB / 438.6 MB, free: 10.18 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.859e-05/0.8096, allocations: 12.03 kB / 438.6 MB, free: 10.17 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000789/0.8104, allocations: 222.5 kB / 438.8 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002445/0.8129, allocations: 241.6 kB / 439.1 MB, free: 9.797 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005118/0.8181, allocations: 1.272 MB / 440.3 MB, free: 8.793 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001564/0.8183, allocations: 110.9 kB / 440.4 MB, free: 8.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005327/0.8188, allocations: 149.6 kB / 440.6 MB, free: 8.633 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004412/0.8233, allocations: 1.504 MB / 442.1 MB, free: 7.566 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.131e-05/0.8234, allocations: 7.906 kB / 442.1 MB, free: 7.559 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002106/0.8236, allocations: 61.88 kB / 442.2 MB, free: 7.543 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.798e-05/0.8237, allocations: 36 kB / 442.2 MB, free: 7.508 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003802/0.8275, allocations: 1.152 MB / 443.3 MB, free: 6.754 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01697/0.8445, allocations: 6.394 MB / 449.7 MB, free: 1.566 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00323/0.8478, allocations: 1.014 MB / 450.7 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001889/0.8497, allocations: 0.586 MB / 451.3 MB, free: 128 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001152/0.8499, allocations: 12.78 kB / 451.3 MB, free: 116 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001509/0.8514, allocations: 0.5372 MB / 451.9 MB, free: 15.55 MB / 346.7 MB Notification: Performance of pre-optimization done (n=92): time 4.098e-06/0.8515, allocations: 0 / 451.9 MB, free: 15.55 MB / 346.7 MB Notification: Performance of matching and sorting (n=95): time 0.007955/0.8594, allocations: 2.393 MB / 454.3 MB, free: 13.08 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001811/0.8597, allocations: 175 kB / 454.4 MB, free: 12.87 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003011/0.8627, allocations: 1.137 MB / 455.6 MB, free: 11.72 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000274/0.8631, allocations: 53.69 kB / 455.6 MB, free: 11.66 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001028/0.8641, allocations: 0.768 MB / 456.4 MB, free: 10.89 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005193/0.8646, allocations: 323.4 kB / 456.7 MB, free: 10.58 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.8648, allocations: 27.94 kB / 456.7 MB, free: 10.55 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.865, allocations: 361.9 kB / 457.1 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/0.8662, allocations: 410.5 kB / 457.5 MB, free: 9.793 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001556/0.8677, allocations: 0.8217 MB / 458.3 MB, free: 8.781 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/0.8692, allocations: 0.5045 MB / 458.8 MB, free: 8.277 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.37e-05/0.8693, allocations: 4 kB / 458.8 MB, free: 8.273 MB / 346.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.004257/0.8736, allocations: 1.561 MB / 460.4 MB, free: 6.68 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002187/0.8758, allocations: 5.1 MB / 465.5 MB, free: 1.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.205e-05/0.8759, allocations: 16 kB / 465.5 MB, free: 1.215 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/0.877, allocations: 215.6 kB / 465.7 MB, free: 1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002269/0.8793, allocations: 311.5 kB / 466 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006381/0.8857, allocations: 3.917 MB / 469.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002652/0.8884, allocations: 171.8 kB / 470.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003181/0.8888, allocations: 59.94 kB / 470.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.8888, allocations: 4 kB / 470.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003825/0.8927, allocations: 1.413 MB / 471.6 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.664e-05/0.8928, allocations: 15.95 kB / 471.6 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009209/0.8937, allocations: 217.3 kB / 471.8 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002206/0.8959, allocations: 303.5 kB / 472.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006353/0.9023, allocations: 3.912 MB / 476 MB, free: 6.145 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002406/0.9048, allocations: 159.8 kB / 476.2 MB, free: 5.988 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002618/0.9051, allocations: 52 kB / 476.2 MB, free: 5.938 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * 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 (144): * Single equations (assignments): 142 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.000465/0.9056, allocations: 208.7 kB / 476.4 MB, free: 5.727 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004503/0.906, allocations: 138.3 kB / 476.6 MB, free: 5.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003591/0.9096, allocations: 1.197 MB / 477.8 MB, free: 4.355 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.989e-05/0.9097, allocations: 11.98 kB / 477.8 MB, free: 4.344 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.9097, allocations: 0 / 477.8 MB, free: 4.344 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.81e-05/0.9098, allocations: 7.938 kB / 477.8 MB, free: 4.336 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007678/0.9174, allocations: 2.733 MB / 480.5 MB, free: 1.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.335e-05/0.9175, allocations: 4 kB / 480.5 MB, free: 1.516 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0014/0.9189, allocations: 160 kB / 480.7 MB, free: 1.359 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009322/0.9199, allocations: 189.5 kB / 480.9 MB, free: 1.168 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001587/0.9201, allocations: 28 kB / 480.9 MB, free: 1.141 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005948/0.926, allocations: 3.82 MB / 484.7 MB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.9261, allocations: 0 / 484.7 MB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004513/0.9306, allocations: 1.828 MB / 486.5 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/0.9317, allocations: 335.1 kB / 486.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003379/0.9321, allocations: 35.94 kB / 486.9 MB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001675/0.9338, allocations: 131.8 kB / 487 MB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003956/0.9342, allocations: 104.6 kB / 487.1 MB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.604e-05/0.9343, allocations: 32.17 kB / 487.2 MB, free: 10.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00218/0.9365, allocations: 0.8467 MB / 488 MB, free: 9.648 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.02e-07/0.9365, allocations: 3.938 kB / 488 MB, free: 9.645 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003763/0.9403, allocations: 0.6445 MB / 488.7 MB, free: 9 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 10 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,pulse2.twoPulse.filter[1].firstOrder.y,pulse2.twoPulse.filter[1].transferFunction[1].x_scaled[1],pulse2.twoPulse.filter[1].transferFunction[2].x_scaled[1],inductor.i,dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,lMains.i) * Number of discrete variables: 20 (pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[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 (73): * Single equations (assignments): 66 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 1 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.005557/0.9459, allocations: 3.082 MB / 491.7 MB, free: 5.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006167/0.9521, allocations: 2.364 MB / 494.1 MB, free: 3.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/0.9522, allocations: 0 / 494.1 MB, free: 3.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002124/0.9544, allocations: 0.8647 MB / 495 MB, free: 2.539 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002441/0.9568, allocations: 281.3 kB / 495.2 MB, free: 2.266 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009333/0.9662, allocations: 2.751 MB / 498 MB, free: 15.45 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001346/0.9676, allocations: 1.343 MB / 499.3 MB, free: 14.07 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00274/0.9704, allocations: 438.9 kB / 499.8 MB, free: 13.64 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001236/0.9716, allocations: 0.5774 MB / 0.4886 GB, free: 13.06 MB / 394.7 MB Notification: Performance of SimCode: time 1.553e-06/0.9717, allocations: 0 / 0.4886 GB, free: 13.06 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4034/1.375, allocations: 37.77 MB / 0.5255 GB, free: 112.5 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002615/1.375, allocations: 235.6 kB / 0.5257 GB, free: 112.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.724/6.099, allocations: 3.938 kB / 0.5257 GB, free: 112.2 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive_res.mat does not exist to compare? outputFormat=mat