Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_DC_Drive,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_ThyristorBridge2mPulse_DC_Drive",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.133/2.133, allocations: 195 MB / 202.9 MB, free: 6.715 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.516e-05/2.516e-05, allocations: 3.438 kB / 249.8 MB, free: 5.242 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09417/0.09423, allocations: 44.51 MB / 294.3 MB, free: 10.63 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4695/0.5638, allocations: 102.6 MB / 396.9 MB, free: 0.75 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003324/0.5642, allocations: 89.97 kB / 397 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3156/0.8798, allocations: 64.6 MB / 461.6 MB, free: 10.01 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.8799, allocations: 0 / 461.6 MB, free: 10.01 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0006157/0.8805, allocations: 91.81 kB / 461.7 MB, free: 9.922 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 732 * Number of variables: 732 Notification: Performance of Generate backend data structure: time 0.01486/0.8954, allocations: 3.429 MB / 465.1 MB, free: 6.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.113e-05/0.8955, allocations: 12.03 kB / 465.1 MB, free: 6.398 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002792/0.8983, allocations: 439.2 kB / 465.6 MB, free: 5.965 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02012/0.9184, allocations: 4.023 MB / 469.6 MB, free: 1.863 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002722/0.9188, allocations: 100 kB / 469.7 MB, free: 1.766 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001321/0.9201, allocations: 183.8 kB / 469.9 MB, free: 1.586 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01137/0.9315, allocations: 3.123 MB / 473 MB, free: 14.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01243/0.944, allocations: 3.368 MB / 476.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001249/0.9441, allocations: 7.906 kB / 476.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004504/0.9446, allocations: 11.97 kB / 476.4 MB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000194/0.9448, allocations: 109.5 kB / 476.5 MB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04022/0.985, allocations: 12.23 MB / 488.7 MB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008797/0.9939, allocations: 2.706 MB / 491.4 MB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004221/0.9982, allocations: 1.496 MB / 492.9 MB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002294/0.9984, allocations: 18 kB / 492.9 MB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003968/1.002, allocations: 1.332 MB / 494.3 MB, free: 8.711 MB / 394.7 MB Notification: Performance of pre-optimization done (n=179): time 6.862e-06/1.002, allocations: 4 kB / 494.3 MB, free: 8.707 MB / 394.7 MB Notification: Performance of matching and sorting (n=183): time 0.01891/1.021, allocations: 5.83 MB / 0.4884 GB, free: 2.777 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002128/1.022, allocations: 291 kB / 0.4887 GB, free: 2.43 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00642/1.028, allocations: 2.121 MB / 0.4907 GB, free: 288 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005763/1.029, allocations: 53.67 kB / 0.4908 GB, free: 228 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3148/1.344, allocations: 1.444 MB / 0.4922 GB, free: 87.47 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001088/1.345, allocations: 0.5642 MB / 0.4927 GB, free: 87.23 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002313/1.345, allocations: 0 / 0.4927 GB, free: 87.23 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002169/1.345, allocations: 397 kB / 0.4931 GB, free: 86.93 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003143/1.348, allocations: 1.11 MB / 0.4942 GB, free: 86.92 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004053/1.352, allocations: 1.74 MB / 0.4959 GB, free: 86.22 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004198/1.357, allocations: 1.316 MB / 0.4972 GB, free: 86.21 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.056e-05/1.357, allocations: 4.5 kB / 0.4972 GB, free: 86.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.01145/1.368, allocations: 3.481 MB / 0.5006 GB, free: 85.79 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001578/1.37, allocations: 7.251 MB / 0.5077 GB, free: 78.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001077/1.37, allocations: 18.59 kB / 0.5077 GB, free: 78.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002566/1.373, allocations: 0.5649 MB / 0.5082 GB, free: 78.31 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004769/1.377, allocations: 0.5339 MB / 0.5088 GB, free: 78.31 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01331/1.391, allocations: 7.728 MB / 0.5163 GB, free: 74.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005456/1.396, allocations: 375.7 kB / 0.5167 GB, free: 74.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006907/1.397, allocations: 93.62 kB / 0.5168 GB, free: 74.4 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/1.397, allocations: 3.938 kB / 0.5168 GB, free: 74.4 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008922/1.406, allocations: 3.189 MB / 0.5199 GB, free: 74.13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001068/1.406, allocations: 19.16 kB / 0.5199 GB, free: 74.13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00206/1.408, allocations: 0.564 MB / 0.5204 GB, free: 74.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004491/1.413, allocations: 0.5236 MB / 0.521 GB, free: 74.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01274/1.425, allocations: 7.735 MB / 0.5285 GB, free: 70.19 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006004/1.432, allocations: 362.3 kB / 0.5289 GB, free: 70.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007464/1.432, allocations: 91.56 kB / 0.5289 GB, free: 70.19 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 69 ($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,$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,$PRE.rectifier.pre_p[1].u,rectifier.pre_p[1].u,rectifier.pre_p[1].y,$PRE.rectifier.pre_p[2].u,rectifier.pre_p[2].u,rectifier.pre_p[2].y,$PRE.rectifier.pre_p[3].u,rectifier.pre_p[3].u,rectifier.pre_p[3].y,$PRE.rectifier.pre_n[1].u,rectifier.pre_n[1].u,rectifier.pre_n[1].y,$PRE.rectifier.pre_n[2].u,rectifier.pre_n[2].u,rectifier.pre_n[2].y,$PRE.rectifier.pre_n[3].u,rectifier.pre_n[3].u,rectifier.pre_n[3].y,pulse2.twomPulse.positiveThreshold[1].y,pulse2.twomPulse.positiveThreshold[2].y,pulse2.twomPulse.positiveThreshold[3].y,pulse2.twomPulse.negativeThreshold[1].y,pulse2.twomPulse.negativeThreshold[2].y,pulse2.twomPulse.negativeThreshold[3].y,$PRE.pulse2.twomPulse.timerPositive[1].entryTime,pulse2.twomPulse.timerPositive[1].entryTime,$PRE.pulse2.twomPulse.timerPositive[2].entryTime,pulse2.twomPulse.timerPositive[2].entryTime,$PRE.pulse2.twomPulse.timerPositive[3].entryTime,pulse2.twomPulse.timerPositive[3].entryTime,$PRE.pulse2.twomPulse.timerNegative[1].entryTime,pulse2.twomPulse.timerNegative[1].entryTime,$PRE.pulse2.twomPulse.timerNegative[2].entryTime,pulse2.twomPulse.timerNegative[2].entryTime,$PRE.pulse2.twomPulse.timerNegative[3].entryTime,pulse2.twomPulse.timerNegative[3].entryTime,pulse2.fire_p[1],pulse2.fire_p[2],pulse2.fire_p[3],pulse2.fire_n[1],pulse2.fire_n[2],pulse2.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (255): * Single equations (assignments): 252 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 12,(1,100.0%) 4} * Non-linear torn systems: 1 {6 19} Notification: Performance of prepare postOptimizeDAE: time 0.001125/1.433, allocations: 229.1 kB / 0.5292 GB, free: 70.06 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009771/1.443, allocations: 2.693 MB / 0.5318 GB, free: 69.63 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001195/1.445, allocations: 235.7 kB / 0.532 GB, free: 69.51 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01062/1.455, allocations: 2.836 MB / 0.5348 GB, free: 69.17 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.339e-05/1.455, allocations: 18.78 kB / 0.5348 GB, free: 69.17 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.648e-05/1.455, allocations: 2.688 kB / 0.5348 GB, free: 69.17 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-05/1.455, allocations: 13.11 kB / 0.5348 GB, free: 69.17 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02483/1.48, allocations: 6.157 MB / 0.5408 GB, free: 67.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.938e-05/1.48, allocations: 3.5 kB / 0.5408 GB, free: 67.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003823/1.484, allocations: 280.1 kB / 0.5411 GB, free: 67.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002923/1.487, allocations: 0.5168 MB / 0.5416 GB, free: 67.44 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004983/1.488, allocations: 28.75 kB / 0.5416 GB, free: 67.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01688/1.505, allocations: 7.427 MB / 0.5489 GB, free: 62.08 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.188e-06/1.505, allocations: 2.656 kB / 0.5489 GB, free: 62.08 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01372/1.518, allocations: 4.442 MB / 0.5532 GB, free: 60.03 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002608/1.521, allocations: 0.5945 MB / 0.5538 GB, free: 59.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001206/1.522, allocations: 49.84 kB / 0.5539 GB, free: 59.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004512/1.527, allocations: 333 kB / 0.5542 GB, free: 59.66 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001132/1.528, allocations: 269.1 kB / 0.5544 GB, free: 59.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002081/1.528, allocations: 54.52 kB / 0.5545 GB, free: 59.6 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003998/1.532, allocations: 1.552 MB / 0.556 GB, free: 58.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.172e-06/1.532, allocations: 0 / 0.556 GB, free: 58.98 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.007063/1.539, allocations: 1.058 MB / 0.557 GB, free: 58.97 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 17 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,pulse2.twomPulse.filter[1].firstOrder.y,pulse2.twomPulse.filter[1].transferFunction[1].x_scaled[1],pulse2.twomPulse.filter[1].transferFunction[2].x_scaled[1],pulse2.twomPulse.filter[2].firstOrder.y,pulse2.twomPulse.filter[2].transferFunction[1].x_scaled[1],pulse2.twomPulse.filter[2].transferFunction[2].x_scaled[1],pulse2.twomPulse.filter[3].firstOrder.y,pulse2.twomPulse.filter[3].transferFunction[1].x_scaled[1],pulse2.twomPulse.filter[3].transferFunction[2].x_scaled[1],inductor.i,dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,lMains.inductor[2].i,lMains.inductor[3].i) * Number of discrete variables: 48 (pulse2.twomPulse.positiveThreshold[1].y,pulse2.twomPulse.positiveThreshold[2].y,pulse2.twomPulse.positiveThreshold[3].y,pulse2.twomPulse.negativeThreshold[1].y,pulse2.twomPulse.negativeThreshold[2].y,pulse2.twomPulse.negativeThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,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,rectifier.pre_p[1].u,rectifier.pre_p[1].y,rectifier.pre_p[2].u,rectifier.pre_p[2].y,rectifier.pre_p[3].u,rectifier.pre_p[3].y,rectifier.pre_n[1].u,rectifier.pre_n[1].y,rectifier.pre_n[2].u,rectifier.pre_n[2].y,rectifier.pre_n[3].u,rectifier.pre_n[3].y,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twomPulse.timerPositive[1].entryTime,pulse2.twomPulse.timerPositive[2].entryTime,pulse2.twomPulse.timerPositive[3].entryTime,pulse2.twomPulse.timerNegative[1].entryTime,pulse2.twomPulse.timerNegative[2].entryTime,pulse2.twomPulse.timerNegative[3].entryTime,pulse2.fire_p[1],pulse2.fire_p[2],pulse2.fire_p[3],pulse2.fire_n[1],pulse2.fire_n[2],pulse2.fire_n[3]) * Number of discrete states: 15 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.pre_n[3].u,rectifier.pre_n[2].u,rectifier.pre_n[1].u,rectifier.pre_p[3].u,rectifier.pre_p[2].u,rectifier.pre_p[1].u,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (143): * Single equations (assignments): 131 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 12,(1,100.0%) 4} * Non-linear torn systems: 1 {6 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.01163/1.551, allocations: 5.772 MB / 0.5627 GB, free: 55.9 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01235/1.563, allocations: 5.135 MB / 0.5677 GB, free: 53.63 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/1.563, allocations: 0 / 0.5677 GB, free: 53.63 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005048/1.568, allocations: 2.024 MB / 0.5697 GB, free: 52.68 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005374/1.574, allocations: 0.5384 MB / 0.5702 GB, free: 52.55 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02082/1.595, allocations: 6.473 MB / 0.5765 GB, free: 48.4 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003082/1.598, allocations: 2.488 MB / 0.5789 GB, free: 46.45 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00787/1.606, allocations: 1.472 MB / 0.5804 GB, free: 45.54 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003004/1.609, allocations: 1.192 MB / 0.5815 GB, free: 44.45 MB / 394.7 MB Notification: Performance of SimCode: time 1.773e-06/1.609, allocations: 0 / 0.5815 GB, free: 44.45 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5224/2.131, allocations: 68.69 MB / 0.6486 GB, free: 83 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002559/2.132, allocations: 210.4 kB / 0.6488 GB, free: 82.72 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.312/8.444, allocations: 0 / 0.6488 GB, free: 82.72 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_DC_Drive_res.mat does not exist to compare? outputFormat=mat