Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.015/2.015, allocations: 194.9 MB / 208 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.233e-05/3.257e-05, allocations: 0 / 255.5 MB, free: 2.613 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09547/0.09553, allocations: 44.52 MB / 300 MB, free: 6.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4694/0.565, allocations: 82.1 MB / 382.1 MB, free: 12.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003174/0.5653, allocations: 85.67 kB / 382.2 MB, free: 12.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04986/0.6152, allocations: 12.64 MB / 394.8 MB, free: 11.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.6153, allocations: 4 kB / 394.8 MB, free: 11.17 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.321e-05/0.6153, allocations: 15.31 kB / 394.8 MB, free: 11.17 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.002114/0.6175, allocations: 0.853 MB / 395.7 MB, free: 10.62 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.6175, allocations: 11.62 kB / 395.7 MB, free: 10.62 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002408/0.6178, allocations: 105.2 kB / 395.8 MB, free: 10.58 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002428/0.618, allocations: 81.22 kB / 395.9 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.6191, allocations: 481.4 kB / 396.3 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.637e-05/0.6192, allocations: 49.5 kB / 396.4 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.6193, allocations: 58.81 kB / 396.4 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.6209, allocations: 0.6206 MB / 397.1 MB, free: 10.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.227e-05/0.6209, allocations: 4 kB / 397.1 MB, free: 10.18 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.283e-05/0.621, allocations: 31.92 kB / 397.1 MB, free: 10.17 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.6211, allocations: 11.78 kB / 397.1 MB, free: 10.17 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.6222, allocations: 438 kB / 397.5 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005229/0.6275, allocations: 2.339 MB / 399.9 MB, free: 9.023 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/0.6289, allocations: 459.8 kB / 400.3 MB, free: 8.945 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000654/0.6295, allocations: 244 kB / 400.6 MB, free: 8.918 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.944e-05/0.6296, allocations: 3.906 kB / 400.6 MB, free: 8.918 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006696/0.6303, allocations: 305.9 kB / 400.9 MB, free: 8.777 MB / 314.7 MB Notification: Performance of pre-optimization done (n=47): time 3.346e-06/0.6303, allocations: 0 / 400.9 MB, free: 8.777 MB / 314.7 MB Notification: Performance of matching and sorting (n=47): time 0.001159/0.6315, allocations: 435 kB / 401.3 MB, free: 8.668 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.6316, allocations: 143.7 kB / 401.4 MB, free: 8.508 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006897/0.6323, allocations: 406.2 kB / 401.8 MB, free: 8.375 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.299e-05/0.6324, allocations: 42.45 kB / 401.9 MB, free: 8.344 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002466/0.6326, allocations: 322.8 kB / 402.2 MB, free: 8.145 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00014/0.6328, allocations: 143.9 kB / 402.3 MB, free: 8.047 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.6328, allocations: 13.81 kB / 402.3 MB, free: 8.047 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.633, allocations: 365.8 kB / 402.7 MB, free: 7.715 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003893/0.6334, allocations: 147.8 kB / 402.8 MB, free: 7.711 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004793/0.6338, allocations: 310.9 kB / 403.1 MB, free: 7.523 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004441/0.6343, allocations: 179.5 kB / 403.3 MB, free: 7.484 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.6343, allocations: 0 / 403.3 MB, free: 7.484 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001306/0.6356, allocations: 0.5562 MB / 403.9 MB, free: 7.336 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003225/0.636, allocations: 1.661 MB / 405.5 MB, free: 5.586 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.636, allocations: 11.72 kB / 405.6 MB, free: 5.582 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004551/0.6365, allocations: 74.23 kB / 405.6 MB, free: 5.566 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006719/0.6372, allocations: 92.7 kB / 405.7 MB, free: 5.547 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002383/0.6396, allocations: 1.729 MB / 407.4 MB, free: 20.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008799/0.6405, allocations: 84.95 kB / 407.5 MB, free: 20.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.647e-05/0.6406, allocations: 26.83 kB / 407.6 MB, free: 20.09 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.6406, allocations: 5.594 kB / 407.6 MB, free: 20.09 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001107/0.6417, allocations: 487.4 kB / 408 MB, free: 20.01 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.6418, allocations: 3.938 kB / 408 MB, free: 20.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003689/0.6421, allocations: 80.36 kB / 408.1 MB, free: 19.99 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005525/0.6427, allocations: 89.47 kB / 408.2 MB, free: 19.97 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00225/0.645, allocations: 1.746 MB / 410 MB, free: 18.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000765/0.6458, allocations: 64.47 kB / 410 MB, free: 18.51 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.777e-05/0.6459, allocations: 23.06 kB / 410 MB, free: 18.51 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 25 ($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_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.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 (62): * Single equations (assignments): 61 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002943/0.6462, allocations: 162.5 kB / 410.2 MB, free: 18.38 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.6463, allocations: 54.47 kB / 410.2 MB, free: 18.36 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001974/0.6465, allocations: 56.08 kB / 410.3 MB, free: 18.34 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/0.6466, allocations: 3.906 kB / 410.3 MB, free: 18.34 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.6466, allocations: 0 / 410.3 MB, free: 18.34 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.6466, allocations: 7.859 kB / 410.3 MB, free: 18.34 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002492/0.6491, allocations: 1.256 MB / 411.6 MB, free: 17.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.6491, allocations: 0 / 411.6 MB, free: 17.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004418/0.6496, allocations: 50.78 kB / 411.6 MB, free: 17.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003522/0.65, allocations: 74.55 kB / 411.7 MB, free: 17.69 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.024e-05/0.65, allocations: 18.97 kB / 411.7 MB, free: 17.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002091/0.6521, allocations: 1.647 MB / 413.4 MB, free: 16.33 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.6522, allocations: 0 / 413.4 MB, free: 16.33 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001676/0.6539, allocations: 0.7458 MB / 414.1 MB, free: 16.08 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003401/0.6543, allocations: 169.2 kB / 414.3 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.6544, allocations: 18.98 kB / 414.3 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005966/0.655, allocations: 41.81 kB / 414.3 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/0.6552, allocations: 50.3 kB / 414.4 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.27e-05/0.6553, allocations: 23.58 kB / 414.4 MB, free: 15.89 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005351/0.6558, allocations: 313.5 kB / 414.7 MB, free: 15.79 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6558, allocations: 0 / 414.7 MB, free: 15.79 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001216/0.6571, allocations: 291.1 kB / 415 MB, free: 15.75 MB / 330.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: 18 (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_p.off,rectifier.thyristor_n.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: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.off,rectifier.thyristor_p.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 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002014/0.6591, allocations: 1.4 MB / 416.4 MB, free: 14.88 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001899/0.661, allocations: 0.9257 MB / 417.3 MB, free: 14.55 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.661, allocations: 3.906 kB / 417.3 MB, free: 14.55 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006244/0.6617, allocations: 338.5 kB / 417.7 MB, free: 14.41 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007317/0.6624, allocations: 79.39 kB / 417.7 MB, free: 14.38 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002715/0.6651, allocations: 0.9835 MB / 418.7 MB, free: 13.9 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005803/0.6658, allocations: 0.9259 MB / 419.6 MB, free: 13.09 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006806/0.6665, allocations: 114.3 kB / 419.8 MB, free: 13.04 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003331/0.6668, allocations: 215.8 kB / 420 MB, free: 13.01 MB / 330.7 MB Notification: Performance of SimCode: time 1.373e-06/0.6668, allocations: 0 / 420 MB, free: 13.01 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04528/0.7121, allocations: 12.79 MB / 432.8 MB, free: 6.812 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003782/0.7126, allocations: 255.5 kB / 433 MB, free: 6.488 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.308/4.021, allocations: 0 / 433 MB, free: 6.488 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_res.mat does not exist to compare? outputFormat=mat