Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_R,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_R",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.131/2.131, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.115e-05/3.125e-05, allocations: 3.953 kB / 249.8 MB, free: 5.258 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09831/0.09837, allocations: 44.52 MB / 294.3 MB, free: 10.62 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4594/0.5578, allocations: 85.36 MB / 379.7 MB, free: 6.234 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003271/0.5582, allocations: 88.38 kB / 379.8 MB, free: 6.219 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1564/0.7146, allocations: 35.08 MB / 414.8 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.821e-06/0.7147, allocations: 0 / 414.8 MB, free: 5.086 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002526/0.715, allocations: 51.94 kB / 414.9 MB, free: 5.035 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: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.008206/0.7232, allocations: 1.967 MB / 416.9 MB, free: 3.145 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/0.7233, allocations: 12.03 kB / 416.9 MB, free: 3.133 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.7244, allocations: 225.4 kB / 417.1 MB, free: 2.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01039/0.7348, allocations: 1.948 MB / 419 MB, free: 1.418 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002011/0.7351, allocations: 63.23 kB / 419.1 MB, free: 1.359 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007275/0.7358, allocations: 107.8 kB / 419.2 MB, free: 1.254 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00826/0.7441, allocations: 1.847 MB / 421.1 MB, free: 132 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009753/0.7539, allocations: 2.083 MB / 423.1 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.136e-05/0.7541, allocations: 0 / 423.1 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004013/0.7545, allocations: 7.812 kB / 423.1 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001908/0.7547, allocations: 71.34 kB / 423.2 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03003/0.7847, allocations: 6.835 MB / 430 MB, free: 8.145 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007401/0.7922, allocations: 1.551 MB / 431.6 MB, free: 6.586 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00366/0.7959, allocations: 0.8594 MB / 432.5 MB, free: 5.734 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001655/0.7961, allocations: 17.31 kB / 432.5 MB, free: 5.715 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003227/0.7994, allocations: 0.7995 MB / 433.3 MB, free: 4.895 MB / 330.7 MB Notification: Performance of pre-optimization done (n=111): time 7.054e-06/0.7994, allocations: 0 / 433.3 MB, free: 4.895 MB / 330.7 MB Notification: Performance of matching and sorting (n=111): time 0.006044/0.8055, allocations: 1.403 MB / 434.7 MB, free: 3.477 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.8056, allocations: 127.9 kB / 434.8 MB, free: 3.332 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002851/0.8085, allocations: 0.9658 MB / 435.8 MB, free: 2.348 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003376/0.8089, allocations: 41.69 kB / 435.8 MB, free: 2.301 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001272/0.8102, allocations: 0.7641 MB / 436.6 MB, free: 1.531 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006602/0.8109, allocations: 319 kB / 436.9 MB, free: 1.223 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.811, allocations: 4 kB / 436.9 MB, free: 1.219 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002232/0.8112, allocations: 345.9 kB / 437.2 MB, free: 0.875 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001779/0.813, allocations: 0.5648 MB / 437.8 MB, free: 316 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00212/0.8152, allocations: 0.7658 MB / 438.6 MB, free: 15.47 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001828/0.817, allocations: 0.5762 MB / 439.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.227e-05/0.8171, allocations: 0 / 439.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.005318/0.8224, allocations: 1.606 MB / 440.7 MB, free: 13.28 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001025/0.8235, allocations: 1.929 MB / 442.7 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/0.8235, allocations: 4 kB / 442.7 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002027/0.8256, allocations: 431.1 kB / 443.1 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001811/0.8274, allocations: 171.7 kB / 443.3 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01115/0.8386, allocations: 4.278 MB / 447.5 MB, free: 6.215 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002158/0.8408, allocations: 151.2 kB / 447.7 MB, free: 6.066 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002275/0.8411, allocations: 40.06 kB / 447.7 MB, free: 6.027 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.8411, allocations: 4 kB / 447.7 MB, free: 6.023 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004463/0.8456, allocations: 1.449 MB / 449.2 MB, free: 4.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.409e-05/0.8456, allocations: 4.172 kB / 449.2 MB, free: 4.566 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001881/0.8475, allocations: 424.5 kB / 449.6 MB, free: 4.148 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001633/0.8492, allocations: 172.1 kB / 449.8 MB, free: 3.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01026/0.8595, allocations: 4.282 MB / 454 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00187/0.8614, allocations: 127.3 kB / 454.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00017/0.8616, allocations: 48.05 kB / 454.2 MB, free: 15.41 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 57 ($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,rectifier.andCondition_n[1].y,rectifier.andCondition_n[2].y,rectifier.andCondition_n[3].y,$PRE.rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[1].off,$PRE.rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[2].off,$PRE.rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[3].off,$PRE.rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[1].off,$PRE.rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[2].off,$PRE.rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[3].off,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,$PRE.pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[1].entryTime,$PRE.pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,$PRE.pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,$PRE.pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,$PRE.pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,$PRE.pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 116 * 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 {6 22} Notification: Performance of prepare postOptimizeDAE: time 0.0005195/0.8621, allocations: 184.5 kB / 454.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00403/0.8662, allocations: 1.398 MB / 455.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000399/0.8666, allocations: 130.4 kB / 455.9 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005848/0.8672, allocations: 148 kB / 456.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/0.8672, allocations: 16 kB / 456.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.8673, allocations: 0 / 456.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.82e-05/0.8673, allocations: 7.984 kB / 456.1 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009865/0.8772, allocations: 3.225 MB / 459.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.789e-06/0.8772, allocations: 0 / 459.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/0.8784, allocations: 107.8 kB / 459.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001684/0.8801, allocations: 400.8 kB / 459.8 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001543/0.8803, allocations: 7.922 kB / 459.8 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0095/0.8898, allocations: 4.01 MB / 463.8 MB, free: 5.625 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.8899, allocations: 4 kB / 463.8 MB, free: 5.621 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006303/0.8962, allocations: 2.363 MB / 466.2 MB, free: 3.242 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001159/0.8974, allocations: 355.3 kB / 466.5 MB, free: 2.875 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003576/0.8978, allocations: 23.94 kB / 466.6 MB, free: 2.852 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/0.8992, allocations: 87.89 kB / 466.7 MB, free: 2.766 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009572/0.9002, allocations: 229 kB / 466.9 MB, free: 2.539 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001263/0.9003, allocations: 35.98 kB / 466.9 MB, free: 2.504 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001752/0.9021, allocations: 0.7203 MB / 467.6 MB, free: 1.773 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.9021, allocations: 0 / 467.6 MB, free: 1.773 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003342/0.9054, allocations: 0.7704 MB / 468.4 MB, free: 1 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 42 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].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.andCondition_n[1].y,rectifier.andCondition_n[2].y,rectifier.andCondition_n[3].y,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 9 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 74 * 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 {6 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.006728/0.9122, allocations: 2.979 MB / 471.4 MB, free: 13.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007375/0.9196, allocations: 2.661 MB / 474 MB, free: 11.31 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/0.9197, allocations: 0 / 474 MB, free: 11.31 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002629/0.9223, allocations: 0.9482 MB / 475 MB, free: 10.35 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002452/0.9248, allocations: 248.7 kB / 475.2 MB, free: 10.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01387/0.9387, allocations: 3.501 MB / 478.7 MB, free: 6.555 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002596/0.9413, allocations: 1.738 MB / 480.5 MB, free: 4.781 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003314/0.9447, allocations: 0.5674 MB / 481 MB, free: 4.211 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001576/0.9463, allocations: 0.6086 MB / 481.6 MB, free: 3.602 MB / 378.7 MB Notification: Performance of SimCode: time 3.657e-06/0.9463, allocations: 0 / 481.6 MB, free: 3.602 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4487/1.395, allocations: 36.67 MB / 0.5062 GB, free: 112 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003085/1.395, allocations: 204.7 kB / 0.5064 GB, free: 111.7 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.494/5.889, allocations: 0 / 0.5064 GB, free: 111.7 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_R_res.mat does not exist to compare? outputFormat=mat