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.066/2.066, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.304e-05/4.313e-05, allocations: 4 kB / 255.5 MB, free: 2.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1154, allocations: 44.51 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.463/0.5785, allocations: 84.75 MB / 384.7 MB, free: 12.72 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/0.5788, allocations: 88.64 kB / 384.8 MB, free: 12.72 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1217/0.7006, allocations: 27.85 MB / 412.7 MB, free: 5.312 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.7007, allocations: 0 / 412.7 MB, free: 5.312 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001262/0.7008, allocations: 30.91 kB / 412.7 MB, free: 5.309 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: 318 * Number of variables: 318 Notification: Performance of Generate backend data structure: time 0.004615/0.7054, allocations: 1.506 MB / 414.2 MB, free: 4.316 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.7055, allocations: 11.09 kB / 414.2 MB, free: 4.316 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005231/0.706, allocations: 199.9 kB / 414.4 MB, free: 4.238 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004153/0.7065, allocations: 159.4 kB / 414.6 MB, free: 4.16 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0056/0.7121, allocations: 1.617 MB / 416.2 MB, free: 3.492 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.7122, allocations: 103.3 kB / 416.3 MB, free: 3.484 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002941/0.7125, allocations: 124 kB / 416.4 MB, free: 3.484 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003814/0.7164, allocations: 1.636 MB / 418 MB, free: 3.039 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.827e-05/0.7165, allocations: 7.875 kB / 418 MB, free: 3.035 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001831/0.7167, allocations: 57.86 kB / 418.1 MB, free: 3.031 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.993e-05/0.7168, allocations: 56.17 kB / 418.2 MB, free: 3.023 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003455/0.7202, allocations: 1.315 MB / 419.5 MB, free: 2.867 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01153/0.7318, allocations: 4.854 MB / 424.3 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00265/0.7345, allocations: 1.031 MB / 425.4 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001364/0.7359, allocations: 0.5478 MB / 425.9 MB, free: 436 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.711e-05/0.736, allocations: 8.188 kB / 425.9 MB, free: 436 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00123/0.7373, allocations: 0.5834 MB / 426.5 MB, free: 220 kB / 314.7 MB Notification: Performance of pre-optimization done (n=79): time 4.028e-06/0.7373, allocations: 0 / 426.5 MB, free: 220 kB / 314.7 MB Notification: Performance of matching and sorting (n=79): time 0.002637/0.7399, allocations: 0.9989 MB / 427.5 MB, free: 15.96 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.7401, allocations: 152.5 kB / 427.6 MB, free: 15.8 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001697/0.7418, allocations: 0.766 MB / 428.4 MB, free: 15.58 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002818/0.7421, allocations: 59.69 kB / 428.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007767/0.7429, allocations: 0.5711 MB / 429 MB, free: 15.21 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004067/0.7434, allocations: 227.3 kB / 429.3 MB, free: 15.06 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.598e-05/0.7434, allocations: 16.75 kB / 429.3 MB, free: 15.06 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.7436, allocations: 348.9 kB / 429.6 MB, free: 14.74 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009704/0.7446, allocations: 395.7 kB / 430 MB, free: 14.7 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/0.7458, allocations: 0.6215 MB / 430.6 MB, free: 14.37 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009933/0.7468, allocations: 430 kB / 431 MB, free: 14.28 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.595e-06/0.7468, allocations: 0 / 431 MB, free: 14.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.002944/0.7498, allocations: 1.204 MB / 432.3 MB, free: 13.75 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001326/0.7512, allocations: 2.523 MB / 434.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-05/0.7512, allocations: 7.844 kB / 434.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.7523, allocations: 232.7 kB / 435 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.7534, allocations: 142.1 kB / 435.1 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005425/0.7588, allocations: 2.902 MB / 438 MB, free: 8.559 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/0.7604, allocations: 152.8 kB / 438.2 MB, free: 8.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001504/0.7606, allocations: 31.38 kB / 438.2 MB, free: 8.477 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.7606, allocations: 3.875 kB / 438.2 MB, free: 8.477 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002807/0.7635, allocations: 1.09 MB / 439.3 MB, free: 7.719 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.157e-05/0.7635, allocations: 8 kB / 439.3 MB, free: 7.711 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008987/0.7644, allocations: 233.5 kB / 439.6 MB, free: 7.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.7655, allocations: 135.8 kB / 439.7 MB, free: 7.348 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005551/0.771, allocations: 2.889 MB / 442.6 MB, free: 4.328 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/0.7725, allocations: 139.5 kB / 442.7 MB, free: 4.191 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.7726, allocations: 32 kB / 442.7 MB, free: 4.16 MB / 330.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.000416/0.773, allocations: 200.8 kB / 442.9 MB, free: 3.961 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00023/0.7733, allocations: 94.83 kB / 443 MB, free: 3.867 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003834/0.7737, allocations: 112.9 kB / 443.1 MB, free: 3.746 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.7737, allocations: 8 kB / 443.2 MB, free: 3.738 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.7737, allocations: 4 kB / 443.2 MB, free: 3.734 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/0.7737, allocations: 11.92 kB / 443.2 MB, free: 3.723 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007108/0.7809, allocations: 2.624 MB / 445.8 MB, free: 1.055 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.7809, allocations: 0 / 445.8 MB, free: 1.055 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006528/0.7816, allocations: 71.89 kB / 445.9 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008071/0.7824, allocations: 218 kB / 446.1 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-05/0.7825, allocations: 12 kB / 446.1 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004954/0.7875, allocations: 2.648 MB / 448.7 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.7875, allocations: 0 / 448.7 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00425/0.7918, allocations: 1.649 MB / 450.4 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007145/0.7925, allocations: 263.9 kB / 450.6 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001976/0.7927, allocations: 19.98 kB / 450.7 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009838/0.7937, allocations: 88.11 kB / 450.8 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00049/0.7942, allocations: 140.5 kB / 450.9 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.562e-05/0.7943, allocations: 27.97 kB / 450.9 MB, free: 11.75 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001308/0.7957, allocations: 0.5811 MB / 451.5 MB, free: 11.17 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7957, allocations: 0 / 451.5 MB, free: 11.17 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002222/0.7979, allocations: 0.5798 MB / 452.1 MB, free: 10.59 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: 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.004707/0.8026, allocations: 2.323 MB / 454.4 MB, free: 8.234 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004689/0.8074, allocations: 1.894 MB / 456.3 MB, free: 6.309 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.8074, allocations: 0 / 456.3 MB, free: 6.309 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001591/0.809, allocations: 0.6623 MB / 457 MB, free: 5.641 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/0.8106, allocations: 183.5 kB / 457.1 MB, free: 5.465 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007844/0.8184, allocations: 2.234 MB / 459.4 MB, free: 3.184 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001583/0.8201, allocations: 1.394 MB / 460.8 MB, free: 1.762 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002087/0.8222, allocations: 422.8 kB / 461.2 MB, free: 1.344 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009498/0.8232, allocations: 423.3 kB / 461.6 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of SimCode: time 9.82e-07/0.8232, allocations: 3.938 kB / 461.6 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1141/0.9373, allocations: 26.5 MB / 488.1 MB, free: 6.457 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003412/0.9377, allocations: 233.9 kB / 488.3 MB, free: 6.148 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.727/4.664, allocations: 0 / 488.3 MB, free: 6.148 MB / 378.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