Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.081/2.081, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.905e-05/2.914e-05, allocations: 0 / 292.8 MB, free: 8.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1089, allocations: 50.41 MB / 343.2 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4643/0.5732, allocations: 89.22 MB / 432.4 MB, free: 4.719 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004959/0.5738, allocations: 79.33 kB / 432.5 MB, free: 4.676 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06273/0.6365, allocations: 14.01 MB / 446.5 MB, free: 8.812 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.6366, allocations: 0 / 446.5 MB, free: 8.812 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.132e-05/0.6367, allocations: 15.98 kB / 446.5 MB, free: 8.797 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.002376/0.6391, allocations: 0.8734 MB / 447.4 MB, free: 7.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.6391, allocations: 12.03 kB / 447.4 MB, free: 7.898 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002034/0.6393, allocations: 107.3 kB / 447.5 MB, free: 7.824 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002362/0.6396, allocations: 86.97 kB / 447.6 MB, free: 7.738 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.6407, allocations: 494 kB / 448.1 MB, free: 7.297 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.546e-05/0.6409, allocations: 51 kB / 448.1 MB, free: 7.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.641, allocations: 64.31 kB / 448.2 MB, free: 7.227 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.6427, allocations: 0.656 MB / 448.8 MB, free: 6.758 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.995e-05/0.6427, allocations: 0 / 448.8 MB, free: 6.758 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.423e-05/0.6428, allocations: 29.88 kB / 448.9 MB, free: 6.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.24e-05/0.6429, allocations: 15.98 kB / 448.9 MB, free: 6.734 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/0.6441, allocations: 459.3 kB / 449.3 MB, free: 6.449 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005831/0.65, allocations: 2.421 MB / 451.7 MB, free: 4.438 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.6511, allocations: 421 kB / 452.2 MB, free: 4.176 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007969/0.6519, allocations: 272.8 kB / 452.4 MB, free: 3.984 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.784e-05/0.652, allocations: 4 kB / 452.4 MB, free: 3.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007475/0.6527, allocations: 315.2 kB / 452.7 MB, free: 3.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 3.196e-06/0.6527, allocations: 0 / 452.7 MB, free: 3.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.001368/0.6541, allocations: 451.5 kB / 453.2 MB, free: 3.391 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/0.6543, allocations: 165.6 kB / 453.3 MB, free: 3.195 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008816/0.6552, allocations: 429 kB / 453.8 MB, free: 2.871 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.846e-05/0.6553, allocations: 41.08 kB / 453.8 MB, free: 2.832 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003356/0.6557, allocations: 332.2 kB / 454.1 MB, free: 2.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001817/0.6558, allocations: 143.7 kB / 454.3 MB, free: 2.469 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.118e-05/0.6559, allocations: 18.53 kB / 454.3 MB, free: 2.461 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002018/0.6561, allocations: 371.3 kB / 454.6 MB, free: 2.113 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004472/0.6566, allocations: 162.5 kB / 454.8 MB, free: 2.016 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006315/0.6572, allocations: 326.5 kB / 455.1 MB, free: 1.703 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000499/0.6577, allocations: 183.5 kB / 455.3 MB, free: 1.582 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/0.6578, allocations: 4 kB / 455.3 MB, free: 1.578 MB / 362.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001971/0.6597, allocations: 0.5667 MB / 455.9 MB, free: 1.152 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000799/0.6606, allocations: 1.649 MB / 457.5 MB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.6606, allocations: 8 kB / 457.5 MB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005196/0.6611, allocations: 86.64 kB / 457.6 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007436/0.6619, allocations: 95.62 kB / 457.7 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002518/0.6644, allocations: 1.736 MB / 459.4 MB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009323/0.6654, allocations: 93.86 kB / 459.5 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.084e-05/0.6655, allocations: 19.5 kB / 459.6 MB, free: 13.47 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.6655, allocations: 4 kB / 459.6 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00132/0.6669, allocations: 497.6 kB / 460 MB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.6669, allocations: 7.984 kB / 460 MB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000379/0.6673, allocations: 85.48 kB / 460.1 MB, free: 12.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006277/0.6679, allocations: 95.83 kB / 460.2 MB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002511/0.6704, allocations: 1.726 MB / 462 MB, free: 10.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007884/0.6713, allocations: 87.42 kB / 462 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.387e-05/0.6713, allocations: 20 kB / 462.1 MB, free: 10.89 MB / 378.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_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_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 (64): * 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: 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.0002732/0.6716, allocations: 152 kB / 462.2 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.6718, allocations: 55.3 kB / 462.3 MB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001969/0.672, allocations: 65.36 kB / 462.3 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.672, allocations: 4 kB / 462.3 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.672, allocations: 0 / 462.3 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.672, allocations: 3.984 kB / 462.3 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002993/0.675, allocations: 1.335 MB / 463.7 MB, free: 9.203 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.6751, allocations: 0 / 463.7 MB, free: 9.203 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005101/0.6756, allocations: 51.91 kB / 463.7 MB, free: 9.152 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003629/0.676, allocations: 80.83 kB / 463.8 MB, free: 9.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.366e-05/0.676, allocations: 15.95 kB / 463.8 MB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00237/0.6784, allocations: 1.643 MB / 465.5 MB, free: 7.281 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.6784, allocations: 0 / 465.5 MB, free: 7.281 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001947/0.6804, allocations: 0.7908 MB / 466.2 MB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003775/0.6808, allocations: 188.2 kB / 466.4 MB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.6809, allocations: 12 kB / 466.4 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000617/0.6816, allocations: 35.97 kB / 466.5 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001913/0.6818, allocations: 56.36 kB / 466.5 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.776e-05/0.6818, allocations: 15.98 kB / 466.5 MB, free: 6.141 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000636/0.6825, allocations: 333.6 kB / 466.9 MB, free: 5.816 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6825, allocations: 0 / 466.9 MB, free: 5.816 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001428/0.6839, allocations: 299.1 kB / 467.2 MB, free: 5.523 MB / 378.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_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: 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 (42): * Single equations (assignments): 36 * 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.002422/0.6864, allocations: 1.442 MB / 468.6 MB, free: 4.047 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002269/0.6887, allocations: 0.9379 MB / 469.5 MB, free: 3.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/0.6887, allocations: 4 kB / 469.5 MB, free: 3.086 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007658/0.6895, allocations: 339.2 kB / 469.9 MB, free: 2.746 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008007/0.6903, allocations: 90.36 kB / 470 MB, free: 2.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003176/0.6935, allocations: 1.039 MB / 471 MB, free: 1.578 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007154/0.6942, allocations: 0.9385 MB / 471.9 MB, free: 0.6094 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007579/0.695, allocations: 124.6 kB / 472.1 MB, free: 500 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004263/0.6954, allocations: 223.4 kB / 472.3 MB, free: 276 kB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/0.6954, allocations: 4 kB / 472.3 MB, free: 272 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06826/0.7637, allocations: 13.31 MB / 485.6 MB, free: 3.215 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003187/0.7641, allocations: 233.1 kB / 485.8 MB, free: 2.91 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.337/4.101, allocations: 3.938 kB / 485.8 MB, free: 2.906 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_res.mat does not exist to compare? outputFormat=mat