Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.241/2.241, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.874e-05/2.88e-05, allocations: 4 kB / 249.8 MB, free: 14.79 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3553, allocations: 44.49 MB / 294.2 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1531/0.5084, allocations: 84.11 MB / 378.3 MB, free: 13.71 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000329/0.5088, allocations: 79.95 kB / 378.4 MB, free: 13.63 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1189/0.6277, allocations: 27.56 MB / 406 MB, free: 1.895 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.6278, allocations: 0 / 406 MB, free: 1.895 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002241/0.6281, allocations: 35.94 kB / 406 MB, free: 1.859 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 318 * Number of variables: 318 Notification: Performance of Generate backend data structure: time 0.005232/0.6333, allocations: 1.506 MB / 407.5 MB, free: 284 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/0.6334, allocations: 12.03 kB / 407.5 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007816/0.6342, allocations: 154.2 kB / 407.7 MB, free: 116 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009382/0.6436, allocations: 1.624 MB / 409.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001585/0.6439, allocations: 47.98 kB / 409.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005325/0.6444, allocations: 76 kB / 409.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0058/0.6502, allocations: 1.247 MB / 410.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006869/0.6572, allocations: 1.471 MB / 412.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.534e-05/0.6573, allocations: 7.938 kB / 412.2 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002883/0.6576, allocations: 3.984 kB / 412.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001672/0.6578, allocations: 54.45 kB / 412.2 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03139/0.6893, allocations: 4.606 MB / 416.8 MB, free: 6.746 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0183/0.7076, allocations: 0.99 MB / 417.8 MB, free: 5.738 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002211/0.7099, allocations: 0.5261 MB / 418.3 MB, free: 5.207 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001079/0.71, allocations: 16.56 kB / 418.4 MB, free: 5.191 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001941/0.712, allocations: 0.5509 MB / 418.9 MB, free: 4.621 MB / 362.7 MB Notification: Performance of pre-optimization done (n=79): time 5.39e-06/0.712, allocations: 4 kB / 418.9 MB, free: 4.617 MB / 362.7 MB Notification: Performance of matching and sorting (n=79): time 0.01612/0.7282, allocations: 0.9332 MB / 419.8 MB, free: 3.672 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001633/0.7284, allocations: 145.3 kB / 420 MB, free: 3.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002107/0.7305, allocations: 0.6752 MB / 420.7 MB, free: 2.816 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002688/0.7308, allocations: 37.69 kB / 420.7 MB, free: 2.773 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001003/0.7318, allocations: 0.5771 MB / 421.3 MB, free: 2.188 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004971/0.7324, allocations: 221 kB / 421.5 MB, free: 1.969 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.913e-05/0.7325, allocations: 4 kB / 421.5 MB, free: 1.965 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000358/0.7328, allocations: 398.7 kB / 421.9 MB, free: 1.566 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001303/0.7342, allocations: 386.4 kB / 422.3 MB, free: 1.188 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001605/0.7358, allocations: 0.5992 MB / 422.9 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/0.7372, allocations: 408.3 kB / 423.3 MB, free: 96 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.344e-05/0.7372, allocations: 4 kB / 423.3 MB, free: 92 kB / 362.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.2612/0.9984, allocations: 1.098 MB / 424.4 MB, free: 99.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000575/0.999, allocations: 2.534 MB / 426.9 MB, free: 97.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.658e-05/0.9991, allocations: 6.312 kB / 426.9 MB, free: 97.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009483/1, allocations: 225.1 kB / 427.1 MB, free: 97.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/1.001, allocations: 145.8 kB / 427.3 MB, free: 97.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007279/1.008, allocations: 2.823 MB / 430.1 MB, free: 95.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002061/1.011, allocations: 125.8 kB / 430.2 MB, free: 95.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002274/1.011, allocations: 37.34 kB / 430.2 MB, free: 95.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/1.011, allocations: 16.14 kB / 430.3 MB, free: 95.93 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002401/1.013, allocations: 0.9797 MB / 431.2 MB, free: 95.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.805e-05/1.013, allocations: 7.375 kB / 431.2 MB, free: 95.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008151/1.014, allocations: 226.3 kB / 431.5 MB, free: 95.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/1.015, allocations: 135.9 kB / 431.6 MB, free: 95.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004642/1.02, allocations: 2.825 MB / 434.4 MB, free: 94.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/1.021, allocations: 114.2 kB / 434.5 MB, free: 94.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/1.021, allocations: 35.31 kB / 434.6 MB, free: 94.62 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 48 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,$PRE.rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[1].off,$PRE.rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[2].off,$PRE.rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[3].off,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.positiveThreshold[3].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.negativeThreshold[3].y,$PRE.pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[1].entryTime,$PRE.pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,$PRE.pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,$PRE.pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,$PRE.pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,$PRE.pulsem.twomPulse.timerNegative[3].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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 {3 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003747/1.022, allocations: 180.2 kB / 434.7 MB, free: 94.5 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002459/1.024, allocations: 0.9314 MB / 435.7 MB, free: 94.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003385/1.025, allocations: 90.53 kB / 435.8 MB, free: 94.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000344/1.025, allocations: 97.12 kB / 435.9 MB, free: 94.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/1.025, allocations: 11.42 kB / 435.9 MB, free: 94.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.924e-06/1.025, allocations: 1.094 kB / 435.9 MB, free: 94.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/1.025, allocations: 8.688 kB / 435.9 MB, free: 94.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005914/1.031, allocations: 2.383 MB / 438.3 MB, free: 93.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/1.031, allocations: 0 / 438.3 MB, free: 93.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006365/1.032, allocations: 72.91 kB / 438.3 MB, free: 93.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000673/1.032, allocations: 200 kB / 438.5 MB, free: 93.76 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.752e-05/1.032, allocations: 7.141 kB / 438.5 MB, free: 93.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003634/1.036, allocations: 2.542 MB / 441.1 MB, free: 92 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.732e-06/1.036, allocations: 3.938 kB / 441.1 MB, free: 92 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003294/1.039, allocations: 1.587 MB / 442.7 MB, free: 91.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006513/1.04, allocations: 258.5 kB / 442.9 MB, free: 91.13 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002234/1.04, allocations: 13.08 kB / 442.9 MB, free: 91.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00092/1.041, allocations: 83.45 kB / 443 MB, free: 91.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004686/1.042, allocations: 138.5 kB / 443.2 MB, free: 91.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.069e-05/1.042, allocations: 22.5 kB / 443.2 MB, free: 91.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008794/1.043, allocations: 0.4939 MB / 443.7 MB, free: 90.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.52e-07/1.043, allocations: 0 / 443.7 MB, free: 90.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00237/1.045, allocations: 0.5237 MB / 444.2 MB, free: 90.8 MB / 362.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: 36 (pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.negativeThreshold[3].y,pulsem.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 6 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.003652/1.049, allocations: 2.262 MB / 446.5 MB, free: 89.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003749/1.053, allocations: 1.783 MB / 448.2 MB, free: 88.74 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/1.053, allocations: 3.844 kB / 448.2 MB, free: 88.74 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001295/1.054, allocations: 0.6376 MB / 448.9 MB, free: 88.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/1.056, allocations: 164.3 kB / 449 MB, free: 88.4 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00602/1.062, allocations: 2.153 MB / 451.2 MB, free: 87.56 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/1.063, allocations: 1.396 MB / 452.6 MB, free: 86.74 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001821/1.065, allocations: 394.7 kB / 453 MB, free: 86.72 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008571/1.066, allocations: 420.6 kB / 453.4 MB, free: 86.39 MB / 362.7 MB Notification: Performance of SimCode: time 1.373e-06/1.066, allocations: 0 / 453.4 MB, free: 86.39 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08201/1.148, allocations: 24 MB / 477.4 MB, free: 69.12 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000248/1.148, allocations: 203.2 kB / 477.6 MB, free: 68.86 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.735/4.882, allocations: 3.906 kB / 477.6 MB, free: 68.86 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R_res.mat does not exist to compare? outputFormat=mat