Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.136/2.136, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.595e-05/3.598e-05, allocations: 4 kB / 269.5 MB, free: 6.285 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1119, allocations: 47.58 MB / 317 MB, free: 6.625 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4908/0.6028, allocations: 87.08 MB / 404.1 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003217/0.6031, allocations: 87.88 kB / 404.2 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05487/0.658, allocations: 12.59 MB / 416.8 MB, free: 5.941 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.6581, allocations: 0 / 416.8 MB, free: 5.941 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.763e-05/0.6581, allocations: 12 kB / 416.8 MB, free: 5.93 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.00224/0.6604, allocations: 0.8259 MB / 417.6 MB, free: 5.094 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.6605, allocations: 8.031 kB / 417.6 MB, free: 5.086 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002111/0.6607, allocations: 96.58 kB / 417.7 MB, free: 5.016 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002327/0.6609, allocations: 79.06 kB / 417.8 MB, free: 4.938 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.662, allocations: 480.8 kB / 418.3 MB, free: 4.504 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.425e-05/0.6621, allocations: 44.56 kB / 418.3 MB, free: 4.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/0.6623, allocations: 59.25 kB / 418.4 MB, free: 4.441 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.6638, allocations: 0.569 MB / 419 MB, free: 4.035 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.004e-05/0.6638, allocations: 3.688 kB / 419 MB, free: 4.035 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-05/0.6639, allocations: 30.92 kB / 419 MB, free: 4.02 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2e-05/0.664, allocations: 15.94 kB / 419 MB, free: 4.004 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.6651, allocations: 400 kB / 419.4 MB, free: 3.758 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005492/0.6707, allocations: 2.223 MB / 421.6 MB, free: 1.898 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.6721, allocations: 437.6 kB / 422 MB, free: 1.594 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007069/0.6729, allocations: 228.4 kB / 422.3 MB, free: 1.438 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.456e-05/0.6729, allocations: 8.328 kB / 422.3 MB, free: 1.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006876/0.6736, allocations: 297 kB / 422.6 MB, free: 1.188 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 3.987e-06/0.6737, allocations: 0 / 422.6 MB, free: 1.188 MB / 330.7 MB Notification: Performance of matching and sorting (n=44): time 0.001243/0.6749, allocations: 418.3 kB / 423 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.675, allocations: 140.5 kB / 423.1 MB, free: 0.707 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008007/0.6759, allocations: 402 kB / 423.5 MB, free: 412 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.676, allocations: 43.19 kB / 423.5 MB, free: 372 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000297/0.6763, allocations: 301.1 kB / 423.8 MB, free: 148 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/0.6765, allocations: 133.9 kB / 424 MB, free: 32 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.186e-05/0.6765, allocations: 11 kB / 424 MB, free: 28 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.6767, allocations: 363.8 kB / 424.3 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004152/0.6772, allocations: 142.8 kB / 424.5 MB, free: 15.6 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005433/0.6777, allocations: 302.4 kB / 424.8 MB, free: 15.31 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004544/0.6782, allocations: 157.8 kB / 424.9 MB, free: 15.21 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/0.6782, allocations: 4 kB / 424.9 MB, free: 15.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001414/0.6796, allocations: 0.5245 MB / 425.5 MB, free: 14.8 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000692/0.6804, allocations: 1.657 MB / 427.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/0.6804, allocations: 11.98 kB / 427.1 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005335/0.6809, allocations: 85.52 kB / 427.2 MB, free: 12.97 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006265/0.6816, allocations: 88.45 kB / 427.3 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002883/0.6845, allocations: 1.844 MB / 429.1 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008778/0.6854, allocations: 89.67 kB / 429.2 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-05/0.6855, allocations: 19.25 kB / 429.2 MB, free: 11.05 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.6855, allocations: 7.938 kB / 429.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001225/0.6868, allocations: 463.1 kB / 429.7 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.6868, allocations: 4 kB / 429.7 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000412/0.6872, allocations: 90.78 kB / 429.8 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005278/0.6878, allocations: 83.14 kB / 429.9 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00272/0.6905, allocations: 1.838 MB / 431.7 MB, free: 8.852 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007669/0.6913, allocations: 64.16 kB / 431.8 MB, free: 8.797 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.167e-05/0.6914, allocations: 27.86 kB / 431.8 MB, free: 8.773 MB / 346.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 (56): * Single equations (assignments): 55 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002625/0.6916, allocations: 153.5 kB / 432 MB, free: 8.633 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.6918, allocations: 51.34 kB / 432 MB, free: 8.582 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001857/0.692, allocations: 56.94 kB / 432.1 MB, free: 8.547 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.692, allocations: 8 kB / 432.1 MB, free: 8.539 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.692, allocations: 3.953 kB / 432.1 MB, free: 8.535 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.692, allocations: 0 / 432.1 MB, free: 8.535 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002615/0.6947, allocations: 1.221 MB / 433.3 MB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.6947, allocations: 0 / 433.3 MB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003846/0.6951, allocations: 43.22 kB / 433.3 MB, free: 7.508 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004017/0.6955, allocations: 88.91 kB / 433.4 MB, free: 7.441 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.65e-05/0.6956, allocations: 7.812 kB / 433.4 MB, free: 7.438 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002591/0.6982, allocations: 1.755 MB / 435.2 MB, free: 5.793 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.6982, allocations: 0 / 435.2 MB, free: 5.793 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001814/0.7001, allocations: 0.7279 MB / 435.9 MB, free: 5.234 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003541/0.7005, allocations: 169.4 kB / 436.1 MB, free: 5.074 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.7006, allocations: 7.75 kB / 436.1 MB, free: 5.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005906/0.7012, allocations: 42.34 kB / 436.1 MB, free: 5.035 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002053/0.7014, allocations: 54.88 kB / 436.2 MB, free: 4.992 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.529e-05/0.7015, allocations: 23.23 kB / 436.2 MB, free: 4.973 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005783/0.7021, allocations: 308.8 kB / 436.5 MB, free: 4.746 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7021, allocations: 0 / 436.5 MB, free: 4.746 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001434/0.7035, allocations: 279.1 kB / 436.8 MB, free: 4.496 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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 (35): * Single equations (assignments): 29 * 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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.002232/0.7058, allocations: 1.375 MB / 438.2 MB, free: 3.289 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002296/0.7081, allocations: 0.8918 MB / 439 MB, free: 2.594 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.7082, allocations: 4 kB / 439 MB, free: 2.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007878/0.709, allocations: 345.1 kB / 439.4 MB, free: 2.316 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007821/0.7098, allocations: 71.73 kB / 439.5 MB, free: 2.273 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002817/0.7126, allocations: 0.8694 MB / 440.3 MB, free: 1.484 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006445/0.7133, allocations: 0.9249 MB / 441.2 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007071/0.714, allocations: 104.6 kB / 441.4 MB, free: 448 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003535/0.7144, allocations: 208.2 kB / 441.6 MB, free: 392 kB / 346.7 MB Notification: Performance of SimCode: time 3.366e-06/0.7144, allocations: 0 / 441.6 MB, free: 392 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06272/0.7771, allocations: 12.7 MB / 454.3 MB, free: 3.762 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004275/0.7776, allocations: 236.7 kB / 454.5 MB, free: 3.449 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.979/3.756, allocations: 3.938 kB / 454.5 MB, free: 3.445 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R_res.mat does not exist to compare? outputFormat=mat