Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.126/2.126, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.841e-05/3.847e-05, allocations: 7.984 kB / 269.5 MB, free: 6.285 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1008, allocations: 47.58 MB / 317 MB, free: 6.625 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4737/0.5746, allocations: 90.26 MB / 407.3 MB, free: 13.46 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003511/0.575, allocations: 90.17 kB / 407.4 MB, free: 13.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1175/0.6926, allocations: 28.3 MB / 435.7 MB, free: 5.523 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.6926, allocations: 0 / 435.7 MB, free: 5.523 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001418/0.6928, allocations: 32 kB / 435.7 MB, free: 5.492 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: 319 * Number of variables: 319 Notification: Performance of Generate backend data structure: time 0.005127/0.6979, allocations: 1.508 MB / 437.2 MB, free: 3.996 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.698, allocations: 12.03 kB / 437.2 MB, free: 3.984 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005576/0.6986, allocations: 191.4 kB / 437.4 MB, free: 3.863 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005099/0.6991, allocations: 162.1 kB / 437.6 MB, free: 3.703 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006681/0.7058, allocations: 1.609 MB / 439.2 MB, free: 2.398 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.706, allocations: 99.7 kB / 439.3 MB, free: 2.34 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003809/0.7064, allocations: 132.7 kB / 439.4 MB, free: 2.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004787/0.7112, allocations: 1.641 MB / 441.1 MB, free: 1.102 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.954e-05/0.7113, allocations: 4 kB / 441.1 MB, free: 1.098 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001949/0.7115, allocations: 50.69 kB / 441.1 MB, free: 1.086 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001043/0.7116, allocations: 57.34 kB / 441.2 MB, free: 1.031 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004158/0.7158, allocations: 1.303 MB / 442.5 MB, free: 224 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01365/0.7295, allocations: 4.872 MB / 447.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003109/0.7326, allocations: 1.028 MB / 448.4 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001575/0.7343, allocations: 0.5418 MB / 448.9 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.046e-05/0.7344, allocations: 12.56 kB / 448.9 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001481/0.7359, allocations: 0.5744 MB / 449.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=79): time 4.519e-06/0.7359, allocations: 0 / 449.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=79): time 0.002927/0.7389, allocations: 0.9801 MB / 450.5 MB, free: 9.449 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.739, allocations: 149.3 kB / 450.6 MB, free: 9.273 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00189/0.7409, allocations: 0.7693 MB / 451.4 MB, free: 8.492 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002084/0.7412, allocations: 57.69 kB / 451.4 MB, free: 8.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007645/0.742, allocations: 0.5771 MB / 452 MB, free: 7.844 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003647/0.7423, allocations: 233 kB / 452.3 MB, free: 7.613 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.753e-05/0.7424, allocations: 16 kB / 452.3 MB, free: 7.598 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.7426, allocations: 353.8 kB / 452.6 MB, free: 7.246 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/0.7437, allocations: 401.8 kB / 453 MB, free: 6.852 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/0.7449, allocations: 0.6085 MB / 453.6 MB, free: 6.145 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.746, allocations: 437.8 kB / 454 MB, free: 5.719 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.161e-05/0.7461, allocations: 4 kB / 454 MB, free: 5.715 MB / 362.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.003157/0.7492, allocations: 1.175 MB / 455.2 MB, free: 4.527 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001241/0.7505, allocations: 2.532 MB / 457.8 MB, free: 1.801 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.467e-05/0.7506, allocations: 8 kB / 457.8 MB, free: 1.793 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/0.7517, allocations: 236.6 kB / 458 MB, free: 1.559 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.7528, allocations: 135.8 kB / 458.1 MB, free: 1.426 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005632/0.7585, allocations: 2.905 MB / 461 MB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/0.76, allocations: 147.3 kB / 461.2 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001373/0.7601, allocations: 36 kB / 461.2 MB, free: 14.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.7602, allocations: 7.938 kB / 461.2 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002818/0.763, allocations: 1.07 MB / 462.3 MB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.95e-05/0.7631, allocations: 12.09 kB / 462.3 MB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000887/0.764, allocations: 220.7 kB / 462.5 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.7651, allocations: 139.7 kB / 462.6 MB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005583/0.7707, allocations: 2.9 MB / 465.5 MB, free: 9.723 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/0.7721, allocations: 131.5 kB / 465.7 MB, free: 9.594 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.7723, allocations: 32 kB / 465.7 MB, free: 9.562 MB / 378.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.0004164/0.7727, allocations: 204.9 kB / 465.9 MB, free: 9.363 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002681/0.773, allocations: 98.89 kB / 466 MB, free: 9.266 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003876/0.7734, allocations: 112.9 kB / 466.1 MB, free: 9.152 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.7734, allocations: 8 kB / 466.1 MB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-05/0.7735, allocations: 8 kB / 466.1 MB, free: 9.137 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.7735, allocations: 7.922 kB / 466.1 MB, free: 9.129 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007234/0.7807, allocations: 2.638 MB / 468.8 MB, free: 6.426 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.7808, allocations: 0 / 468.8 MB, free: 6.426 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006718/0.7815, allocations: 71.89 kB / 468.8 MB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007862/0.7823, allocations: 200.7 kB / 469 MB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/0.7824, allocations: 24.02 kB / 469.1 MB, free: 6.133 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004676/0.7871, allocations: 2.644 MB / 471.7 MB, free: 3.352 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.7871, allocations: 0 / 471.7 MB, free: 3.352 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004211/0.7914, allocations: 1.649 MB / 473.4 MB, free: 1.676 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001519/0.793, allocations: 263.8 kB / 473.6 MB, free: 1.398 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004575/0.7935, allocations: 20 kB / 473.6 MB, free: 1.379 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/0.7948, allocations: 87.91 kB / 473.7 MB, free: 1.293 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005187/0.7954, allocations: 140.6 kB / 473.9 MB, free: 1.156 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.889e-05/0.7955, allocations: 23.98 kB / 473.9 MB, free: 1.133 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001363/0.7968, allocations: 0.585 MB / 474.5 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-07/0.7968, allocations: 0 / 474.5 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002412/0.7993, allocations: 0.5722 MB / 475 MB, free: 15.97 MB / 394.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.00491/0.8042, allocations: 2.331 MB / 477.4 MB, free: 13.6 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004806/0.8091, allocations: 1.845 MB / 479.2 MB, free: 11.73 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.8091, allocations: 4.125 kB / 479.2 MB, free: 11.73 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001612/0.8108, allocations: 0.6564 MB / 479.9 MB, free: 11.06 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/0.8125, allocations: 195.4 kB / 480.1 MB, free: 10.87 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006825/0.8194, allocations: 2.228 MB / 482.3 MB, free: 8.594 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001521/0.8209, allocations: 1.398 MB / 483.7 MB, free: 7.164 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002031/0.823, allocations: 422.8 kB / 484.1 MB, free: 6.746 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009273/0.8239, allocations: 423.3 kB / 484.5 MB, free: 6.332 MB / 394.7 MB Notification: Performance of SimCode: time 1.482e-06/0.824, allocations: 3.938 kB / 484.5 MB, free: 6.328 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0861/0.9101, allocations: 26.47 MB / 0.499 GB, free: 11.9 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003078/0.9104, allocations: 244.6 kB / 0.4993 GB, free: 11.58 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.589/4.499, allocations: 7.953 kB / 0.4993 GB, free: 11.57 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R_res.mat does not exist to compare? outputFormat=mat