Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_RL",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.113/2.113, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.296e-05/3.305e-05, allocations: 4.094 kB / 249.8 MB, free: 5.23 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09981/0.09988, allocations: 44.5 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4655/0.5655, allocations: 85.67 MB / 380 MB, free: 6.562 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003216/0.5659, allocations: 92.45 kB / 380.1 MB, free: 6.543 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.164/0.7298, allocations: 35.42 MB / 415.5 MB, free: 4.973 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.7299, allocations: 0 / 415.5 MB, free: 4.973 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002112/0.7301, allocations: 44 kB / 415.5 MB, free: 4.93 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: 440 * Number of variables: 440 Notification: Performance of Generate backend data structure: time 0.008435/0.7386, allocations: 1.987 MB / 417.5 MB, free: 3.027 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.309e-05/0.7386, allocations: 12.03 kB / 417.5 MB, free: 3.016 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001196/0.7399, allocations: 233.2 kB / 417.8 MB, free: 2.785 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0087/0.7486, allocations: 1.954 MB / 419.7 MB, free: 1.285 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001646/0.7488, allocations: 63.48 kB / 419.8 MB, free: 1.227 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000704/0.7495, allocations: 107.5 kB / 419.9 MB, free: 1.125 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007223/0.7567, allocations: 1.858 MB / 421.7 MB, free: 15.99 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009857/0.7667, allocations: 2.097 MB / 423.8 MB, free: 14.47 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.602e-05/0.7668, allocations: 7.906 kB / 423.8 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003743/0.7672, allocations: 3.984 kB / 423.9 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001888/0.7674, allocations: 74.64 kB / 423.9 MB, free: 14.39 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02985/0.7973, allocations: 6.908 MB / 430.8 MB, free: 7.562 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007329/0.8047, allocations: 1.575 MB / 432.4 MB, free: 5.977 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003562/0.8083, allocations: 0.8585 MB / 433.3 MB, free: 5.121 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001617/0.8085, allocations: 16.91 kB / 433.3 MB, free: 5.109 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003155/0.8117, allocations: 0.8035 MB / 434.1 MB, free: 4.285 MB / 330.7 MB Notification: Performance of pre-optimization done (n=113): time 6.842e-06/0.8117, allocations: 0 / 434.1 MB, free: 4.285 MB / 330.7 MB Notification: Performance of matching and sorting (n=113): time 0.006325/0.8181, allocations: 1.414 MB / 435.5 MB, free: 2.855 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001557/0.8183, allocations: 124.1 kB / 435.6 MB, free: 2.711 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003808/0.8221, allocations: 0.966 MB / 436.6 MB, free: 1.727 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004395/0.8226, allocations: 45.69 kB / 436.6 MB, free: 1.676 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001644/0.8243, allocations: 0.7641 MB / 437.4 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008824/0.8252, allocations: 319.3 kB / 437.7 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001606/0.8254, allocations: 0 / 437.7 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002912/0.8257, allocations: 361.9 kB / 438.1 MB, free: 244 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002494/0.8282, allocations: 0.5687 MB / 438.6 MB, free: 15.67 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002838/0.8311, allocations: 0.7617 MB / 439.4 MB, free: 14.84 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002456/0.8336, allocations: 0.584 MB / 440 MB, free: 14.25 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.468e-05/0.8336, allocations: 0 / 440 MB, free: 14.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.006002/0.8397, allocations: 1.614 MB / 441.6 MB, free: 12.62 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001054/0.8408, allocations: 1.925 MB / 443.5 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.428e-05/0.8408, allocations: 4 kB / 443.5 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002055/0.8429, allocations: 423.2 kB / 443.9 MB, free: 10.13 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001901/0.8448, allocations: 183.7 kB / 444.1 MB, free: 9.953 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01724/0.8621, allocations: 4.31 MB / 448.4 MB, free: 5.531 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002706/0.8649, allocations: 151.2 kB / 448.6 MB, free: 5.383 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003135/0.8652, allocations: 44.05 kB / 448.6 MB, free: 5.34 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.8653, allocations: 4 kB / 448.6 MB, free: 5.336 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004643/0.8699, allocations: 1.461 MB / 450.1 MB, free: 3.871 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.132e-05/0.87, allocations: 12 kB / 450.1 MB, free: 3.859 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001829/0.8718, allocations: 416.6 kB / 450.5 MB, free: 3.449 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001738/0.8736, allocations: 172.2 kB / 450.7 MB, free: 3.281 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01114/0.8848, allocations: 4.319 MB / 455 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001958/0.8868, allocations: 135.3 kB / 455.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002523/0.8871, allocations: 44.05 kB / 455.2 MB, free: 14.68 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 (121): * Single equations (assignments): 120 * 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 21} Notification: Performance of prepare postOptimizeDAE: time 0.0005417/0.8876, allocations: 180.5 kB / 455.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004397/0.892, allocations: 1.414 MB / 456.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005566/0.8926, allocations: 126.5 kB / 456.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000625/0.8933, allocations: 152 kB / 457 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.997e-05/0.8933, allocations: 12 kB / 457 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.8933, allocations: 0 / 457 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/0.8934, allocations: 3.984 kB / 457 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01136/0.9047, allocations: 3.24 MB / 460.3 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/0.9048, allocations: 0 / 460.3 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0013/0.9061, allocations: 119.8 kB / 460.4 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001667/0.9078, allocations: 392.8 kB / 460.8 MB, free: 9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002577/0.9081, allocations: 15.94 kB / 460.8 MB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01018/0.9183, allocations: 4.192 MB / 465 MB, free: 4.684 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.9184, allocations: 0 / 465 MB, free: 4.684 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006543/0.9249, allocations: 2.383 MB / 467.4 MB, free: 2.277 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001289/0.9263, allocations: 355.3 kB / 467.7 MB, free: 1.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003746/0.9267, allocations: 19.98 kB / 467.7 MB, free: 1.891 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001449/0.9281, allocations: 91.89 kB / 467.8 MB, free: 1.801 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009526/0.9291, allocations: 221 kB / 468 MB, free: 1.586 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001267/0.9292, allocations: 35.98 kB / 468.1 MB, free: 1.551 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001823/0.9311, allocations: 0.7205 MB / 468.8 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.635e-06/0.9311, allocations: 4 kB / 468.8 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00354/0.9346, allocations: 0.7757 MB / 469.6 MB, free: 40 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * 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 (87): * Single equations (assignments): 77 * 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 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.007414/0.9421, allocations: 2.999 MB / 472.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.009923/0.9521, allocations: 2.667 MB / 475.2 MB, free: 10.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.9521, allocations: 0 / 475.2 MB, free: 10.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003361/0.9555, allocations: 0.9392 MB / 476.2 MB, free: 9.383 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002719/0.9583, allocations: 256.7 kB / 476.4 MB, free: 9.129 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0122/0.9705, allocations: 3.261 MB / 479.7 MB, free: 5.816 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002569/0.9731, allocations: 1.753 MB / 481.4 MB, free: 4.027 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003276/0.9764, allocations: 0.5674 MB / 482 MB, free: 3.457 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001476/0.9779, allocations: 0.6086 MB / 482.6 MB, free: 2.848 MB / 378.7 MB Notification: Performance of SimCode: time 1.152e-06/0.978, allocations: 4 kB / 482.6 MB, free: 2.844 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4594/1.437, allocations: 36.67 MB / 0.5071 GB, free: 112.3 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002391/1.438, allocations: 216 kB / 0.5073 GB, free: 112 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.51/5.948, allocations: 0 / 0.5073 GB, free: 112 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_RL_res.mat does not exist to compare? outputFormat=mat