Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_DC_Drive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.077/2.077, allocations: 205.8 MB / 218.9 MB, free: 9.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.352e-05/3.342e-05, allocations: 4 kB / 269.5 MB, free: 6.293 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1446, allocations: 47.57 MB / 317 MB, free: 6.637 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4575/0.6022, allocations: 105.8 MB / 422.8 MB, free: 14.58 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003391/0.6026, allocations: 91.62 kB / 422.9 MB, free: 14.53 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1741/0.7768, allocations: 36.63 MB / 459.5 MB, free: 15.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.7768, allocations: 0 / 459.5 MB, free: 15.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002312/0.7771, allocations: 35.98 kB / 459.5 MB, free: 15.58 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 366 * Number of variables: 366 Notification: Performance of Generate backend data structure: time 0.00613/0.7832, allocations: 1.73 MB / 461.3 MB, free: 13.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.023e-05/0.7833, allocations: 12.03 kB / 461.3 MB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008405/0.7841, allocations: 236.2 kB / 461.5 MB, free: 13.74 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/0.7854, allocations: 245.5 kB / 461.8 MB, free: 13.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004498/0.7899, allocations: 1.276 MB / 463 MB, free: 12.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/0.7901, allocations: 111.1 kB / 463.1 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003836/0.7905, allocations: 152.3 kB / 463.3 MB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003906/0.7944, allocations: 1.488 MB / 464.8 MB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.429e-05/0.7945, allocations: 7.938 kB / 464.8 MB, free: 11.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002065/0.7948, allocations: 57.5 kB / 464.8 MB, free: 11.24 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.721e-05/0.7948, allocations: 43.89 kB / 464.9 MB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003454/0.7983, allocations: 1.133 MB / 466 MB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01546/0.8138, allocations: 6.396 MB / 472.4 MB, free: 3.461 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00296/0.8168, allocations: 1.007 MB / 473.4 MB, free: 2.441 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00178/0.8186, allocations: 0.5822 MB / 474 MB, free: 1.852 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001157/0.8187, allocations: 12.77 kB / 474 MB, free: 1.836 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00242/0.8212, allocations: 0.5395 MB / 474.6 MB, free: 1.277 MB / 378.7 MB Notification: Performance of pre-optimization done (n=92): time 6.933e-06/0.8213, allocations: 0 / 474.6 MB, free: 1.277 MB / 378.7 MB Notification: Performance of matching and sorting (n=95): time 0.01011/0.8314, allocations: 2.389 MB / 476.9 MB, free: 14.8 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/0.8316, allocations: 171 kB / 477.1 MB, free: 14.6 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002886/0.8345, allocations: 1.145 MB / 478.3 MB, free: 13.44 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002679/0.8348, allocations: 57.69 kB / 478.3 MB, free: 13.38 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009582/0.8357, allocations: 0.7723 MB / 479.1 MB, free: 12.6 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004759/0.8362, allocations: 311.6 kB / 479.4 MB, free: 12.29 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.8364, allocations: 27.94 kB / 479.4 MB, free: 12.26 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.8365, allocations: 353.9 kB / 479.8 MB, free: 11.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/0.8377, allocations: 414.5 kB / 480.2 MB, free: 11.5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/0.8392, allocations: 0.823 MB / 481 MB, free: 10.49 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.8406, allocations: 0.4966 MB / 481.5 MB, free: 9.992 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.215e-05/0.8406, allocations: 4 kB / 481.5 MB, free: 9.988 MB / 394.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.004103/0.8447, allocations: 1.538 MB / 483 MB, free: 8.418 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002147/0.8469, allocations: 5.099 MB / 488.1 MB, free: 2.973 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.577e-05/0.847, allocations: 12 kB / 488.1 MB, free: 2.961 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/0.8481, allocations: 221.5 kB / 488.4 MB, free: 2.738 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002265/0.8504, allocations: 303.5 kB / 488.7 MB, free: 2.441 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006116/0.8566, allocations: 3.919 MB / 492.6 MB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002538/0.8592, allocations: 175.8 kB / 492.7 MB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002996/0.8595, allocations: 60 kB / 492.8 MB, free: 14.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.8595, allocations: 4 kB / 492.8 MB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003886/0.8634, allocations: 1.37 MB / 494.2 MB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-05/0.8635, allocations: 16.06 kB / 494.2 MB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009435/0.8645, allocations: 213.6 kB / 494.4 MB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002207/0.8667, allocations: 307.4 kB / 494.7 MB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007709/0.8745, allocations: 3.926 MB / 498.6 MB, free: 7.906 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003237/0.8778, allocations: 159.8 kB / 498.8 MB, free: 7.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003374/0.8782, allocations: 56 kB / 498.8 MB, free: 7.695 MB / 410.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.0006317/0.8788, allocations: 200.7 kB / 499 MB, free: 7.492 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006512/0.8795, allocations: 146.2 kB / 499.2 MB, free: 7.348 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005264/0.8848, allocations: 1.197 MB / 0.4886 GB, free: 6.117 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.948e-05/0.8848, allocations: 12 kB / 0.4887 GB, free: 6.105 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.8849, allocations: 3.938 kB / 0.4887 GB, free: 6.102 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.64e-05/0.8849, allocations: 3.984 kB / 0.4887 GB, free: 6.098 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01809/0.903, allocations: 2.73 MB / 0.4913 GB, free: 3.258 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-05/0.9031, allocations: 4 kB / 0.4913 GB, free: 3.254 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001885/0.905, allocations: 155.8 kB / 0.4915 GB, free: 3.102 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00555/0.9106, allocations: 197.6 kB / 0.4917 GB, free: 2.902 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002299/0.9108, allocations: 23.98 kB / 0.4917 GB, free: 2.879 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01291/0.9238, allocations: 3.82 MB / 0.4954 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.9238, allocations: 4 kB / 0.4954 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004577/0.9284, allocations: 1.836 MB / 0.4972 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/0.9296, allocations: 327.2 kB / 0.4975 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003444/0.93, allocations: 24 kB / 0.4976 GB, free: 12.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001768/0.9317, allocations: 135.8 kB / 0.4977 GB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004531/0.9322, allocations: 112.6 kB / 0.4978 GB, free: 12.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-05/0.9323, allocations: 24 kB / 0.4978 GB, free: 12.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002286/0.9346, allocations: 0.8586 MB / 0.4987 GB, free: 11.34 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.52e-07/0.9347, allocations: 0 / 0.4987 GB, free: 11.34 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003916/0.9386, allocations: 0.6406 MB / 0.4993 GB, free: 10.7 MB / 426.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.005845/0.9445, allocations: 3.1 MB / 0.5023 GB, free: 7.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005827/0.9504, allocations: 2.278 MB / 0.5045 GB, free: 5.191 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.278e-06/0.9504, allocations: 0 / 0.5045 GB, free: 5.191 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002128/0.9526, allocations: 0.8305 MB / 0.5053 GB, free: 4.336 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002521/0.9551, allocations: 293 kB / 0.5056 GB, free: 4.051 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009961/0.9651, allocations: 2.75 MB / 0.5083 GB, free: 1.238 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3026/1.268, allocations: 1.331 MB / 0.5096 GB, free: 119.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003159/1.271, allocations: 432.9 kB / 0.51 GB, free: 119.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001498/1.273, allocations: 0.5833 MB / 0.5106 GB, free: 119.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.803e-06/1.273, allocations: 0 / 0.5106 GB, free: 119.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1371/1.41, allocations: 37.75 MB / 0.5475 GB, free: 115.4 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002167/1.41, allocations: 242.7 kB / 0.5477 GB, free: 115.1 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.542/5.952, allocations: 3.719 kB / 0.5477 GB, free: 115.1 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive_res.mat does not exist to compare? outputFormat=mat