Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RLV_Characteristic",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.17/2.17, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.755e-05/2.773e-05, allocations: 3.125 kB / 249.8 MB, free: 5.23 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1008, allocations: 44.51 MB / 294.3 MB, free: 10.63 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4737/0.5745, allocations: 84.86 MB / 379.2 MB, free: 6.586 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003347/0.5749, allocations: 89.16 kB / 379.3 MB, free: 6.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1192/0.6941, allocations: 28.31 MB / 407.6 MB, free: 11.32 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.49e-06/0.6942, allocations: 7.984 kB / 407.6 MB, free: 11.31 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001465/0.6944, allocations: 35.94 kB / 407.6 MB, free: 11.28 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: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.005682/0.7001, allocations: 1.547 MB / 409.2 MB, free: 9.762 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/0.7001, allocations: 8.031 kB / 409.2 MB, free: 9.754 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006273/0.7008, allocations: 170.4 kB / 409.3 MB, free: 9.586 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006853/0.7076, allocations: 1.629 MB / 411 MB, free: 8.328 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.7078, allocations: 51.86 kB / 411 MB, free: 8.281 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003507/0.7082, allocations: 76 kB / 411.1 MB, free: 8.207 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003856/0.712, allocations: 1.281 MB / 412.4 MB, free: 7.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004235/0.7163, allocations: 1.501 MB / 413.9 MB, free: 6.324 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.081e-05/0.7164, allocations: 0 / 413.9 MB, free: 6.324 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001847/0.7166, allocations: 4 kB / 413.9 MB, free: 6.32 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001123/0.7167, allocations: 58.56 kB / 413.9 MB, free: 6.262 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01368/0.7304, allocations: 4.768 MB / 418.7 MB, free: 2.605 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00287/0.7333, allocations: 1.013 MB / 419.7 MB, free: 1.957 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001555/0.7349, allocations: 0.5442 MB / 420.3 MB, free: 1.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.682e-05/0.735, allocations: 16.14 kB / 420.3 MB, free: 1.574 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001435/0.7365, allocations: 0.5779 MB / 420.8 MB, free: 1.137 MB / 314.7 MB Notification: Performance of pre-optimization done (n=85): time 4.599e-06/0.7365, allocations: 0 / 420.8 MB, free: 1.137 MB / 314.7 MB Notification: Performance of matching and sorting (n=85): time 0.002987/0.7395, allocations: 0.9635 MB / 421.8 MB, free: 292 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/0.7396, allocations: 149.3 kB / 422 MB, free: 112 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/0.7413, allocations: 0.6712 MB / 422.6 MB, free: 15.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001652/0.7415, allocations: 45.67 kB / 422.7 MB, free: 15.38 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008014/0.7423, allocations: 0.5806 MB / 423.3 MB, free: 14.79 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003683/0.7427, allocations: 240.5 kB / 423.5 MB, free: 14.56 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.167e-05/0.7427, allocations: 4.031 kB / 423.5 MB, free: 14.55 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002866/0.743, allocations: 398.7 kB / 423.9 MB, free: 14.16 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/0.7441, allocations: 394.4 kB / 424.3 MB, free: 13.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/0.7454, allocations: 0.6149 MB / 424.9 MB, free: 13.06 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.7465, allocations: 424.2 kB / 425.3 MB, free: 12.64 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.186e-06/0.7466, allocations: 4 kB / 425.3 MB, free: 12.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003183/0.7498, allocations: 1.117 MB / 426.4 MB, free: 11.51 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001246/0.751, allocations: 2.534 MB / 428.9 MB, free: 8.781 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.112e-05/0.7511, allocations: 4 kB / 429 MB, free: 8.777 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009451/0.752, allocations: 214 kB / 429.2 MB, free: 8.566 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/0.7534, allocations: 163.7 kB / 429.3 MB, free: 8.406 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005265/0.7587, allocations: 2.708 MB / 432 MB, free: 5.582 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/0.7602, allocations: 139.2 kB / 432.2 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.7603, allocations: 36 kB / 432.2 MB, free: 5.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.7603, allocations: 4 kB / 432.2 MB, free: 5.406 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002786/0.7631, allocations: 1.003 MB / 433.2 MB, free: 4.402 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.7632, allocations: 4 kB / 433.2 MB, free: 4.398 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008226/0.764, allocations: 208.7 kB / 433.4 MB, free: 4.191 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/0.7652, allocations: 155.9 kB / 433.6 MB, free: 4.039 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005143/0.7704, allocations: 2.709 MB / 436.3 MB, free: 1.211 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.7718, allocations: 119.4 kB / 436.4 MB, free: 1.094 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/0.7719, allocations: 36 kB / 436.4 MB, free: 1.059 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 (108): * Single equations (assignments): 107 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004155/0.7723, allocations: 176.7 kB / 436.6 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002737/0.7751, allocations: 0.9489 MB / 437.5 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002201/0.7753, allocations: 102.8 kB / 437.6 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000376/0.7757, allocations: 96.95 kB / 437.7 MB, free: 15.72 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.7757, allocations: 8 kB / 437.8 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.7758, allocations: 0 / 437.8 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.7758, allocations: 3.984 kB / 437.8 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006388/0.7822, allocations: 2.345 MB / 440.1 MB, free: 13.33 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/0.7822, allocations: 4 kB / 440.1 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009343/0.7832, allocations: 95.94 kB / 440.2 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007582/0.784, allocations: 200.7 kB / 440.4 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.575e-05/0.7841, allocations: 7.984 kB / 440.4 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005039/0.7891, allocations: 2.638 MB / 443 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.7892, allocations: 4 kB / 443 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004063/0.7932, allocations: 1.598 MB / 444.6 MB, free: 8.629 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000727/0.794, allocations: 267.8 kB / 444.9 MB, free: 8.348 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002418/0.7943, allocations: 15.98 kB / 444.9 MB, free: 8.332 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.7954, allocations: 83.91 kB / 445 MB, free: 8.25 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005934/0.796, allocations: 144.8 kB / 445.1 MB, free: 8.109 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.616e-05/0.7961, allocations: 35.92 kB / 445.2 MB, free: 8.074 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001106/0.7973, allocations: 499.1 kB / 445.7 MB, free: 7.586 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.7973, allocations: 0 / 445.7 MB, free: 7.586 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002523/0.7998, allocations: 0.5448 MB / 446.2 MB, free: 7.039 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * 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 (73): * Single equations (assignments): 63 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.00474/0.8046, allocations: 2.352 MB / 448.6 MB, free: 4.648 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005079/0.8097, allocations: 1.817 MB / 450.4 MB, free: 2.809 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/0.8098, allocations: 4 kB / 450.4 MB, free: 2.805 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001961/0.8118, allocations: 0.6814 MB / 451.1 MB, free: 2.113 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/0.8134, allocations: 167.9 kB / 451.2 MB, free: 1.949 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007595/0.821, allocations: 2.29 MB / 453.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001846/0.8229, allocations: 1.413 MB / 454.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002434/0.8254, allocations: 402.7 kB / 455.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001209/0.8267, allocations: 455.2 kB / 455.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of SimCode: time 1.383e-06/0.8267, allocations: 0 / 455.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1004/0.9271, allocations: 24.4 MB / 480.2 MB, free: 4.965 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003741/0.9275, allocations: 234.4 kB / 480.4 MB, free: 4.672 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.932/4.859, allocations: 0 / 480.4 MB, free: 4.672 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat