Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_ThyristorBridge2mPulse_RLV",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.229/2.229, allocations: 195 MB / 202.9 MB, free: 13.76 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.443e-05/2.459e-05, allocations: 4 kB / 249.8 MB, free: 14.75 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.334, allocations: 44.49 MB / 294.3 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1717/0.5057, allocations: 86.68 MB / 381 MB, free: 11.11 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003607/0.5062, allocations: 87.94 kB / 381.1 MB, free: 11.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1688/0.675, allocations: 35.73 MB / 416.8 MB, free: 7.043 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.675, allocations: 0 / 416.8 MB, free: 7.043 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000244/0.6753, allocations: 55.94 kB / 416.8 MB, free: 6.988 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: 448 * Number of variables: 448 Notification: Performance of Generate backend data structure: time 0.008112/0.6834, allocations: 1.965 MB / 418.8 MB, free: 4.961 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/0.6835, allocations: 8.031 kB / 418.8 MB, free: 4.953 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/0.6846, allocations: 225.3 kB / 419 MB, free: 4.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00933/0.694, allocations: 2.065 MB / 421.1 MB, free: 2.625 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001584/0.6942, allocations: 64 kB / 421.2 MB, free: 2.562 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006559/0.6949, allocations: 108 kB / 421.3 MB, free: 2.457 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006509/0.7014, allocations: 1.818 MB / 423.1 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2801/0.9815, allocations: 2.102 MB / 425.2 MB, free: 93.44 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.942e-05/0.9817, allocations: 2.984 kB / 425.2 MB, free: 93.44 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002655/0.982, allocations: 10.08 kB / 425.2 MB, free: 93.44 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001427/0.9821, allocations: 73.97 kB / 425.3 MB, free: 93.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02452/1.007, allocations: 6.49 MB / 431.8 MB, free: 92.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006612/1.013, allocations: 1.635 MB / 433.4 MB, free: 92.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003276/1.017, allocations: 0.9065 MB / 434.3 MB, free: 92.19 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001521/1.017, allocations: 14.39 kB / 434.3 MB, free: 92.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002642/1.02, allocations: 0.8437 MB / 435.2 MB, free: 92.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=123): time 7.103e-06/1.02, allocations: 0 / 435.2 MB, free: 92.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=123): time 0.006028/1.026, allocations: 1.566 MB / 436.7 MB, free: 91.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/1.026, allocations: 156 kB / 436.9 MB, free: 91.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00278/1.029, allocations: 0.9022 MB / 437.8 MB, free: 91.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003422/1.029, allocations: 50.19 kB / 437.8 MB, free: 91.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001142/1.03, allocations: 0.7622 MB / 438.6 MB, free: 90.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006351/1.031, allocations: 350.3 kB / 438.9 MB, free: 90.69 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/1.031, allocations: 0.75 kB / 438.9 MB, free: 90.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001747/1.031, allocations: 361.7 kB / 439.3 MB, free: 90.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002128/1.033, allocations: 0.6172 MB / 439.9 MB, free: 90.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002373/1.036, allocations: 0.8794 MB / 440.8 MB, free: 89.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0167/1.052, allocations: 0.6617 MB / 441.5 MB, free: 89.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.656e-05/1.052, allocations: 3.812 kB / 441.5 MB, free: 89.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.006022/1.058, allocations: 1.8 MB / 443.3 MB, free: 88.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006321/1.059, allocations: 2.445 MB / 445.7 MB, free: 86.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.003e-05/1.059, allocations: 11.11 kB / 445.7 MB, free: 86.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009658/1.069, allocations: 490.7 kB / 446.2 MB, free: 85.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001937/1.071, allocations: 173.8 kB / 446.4 MB, free: 85.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01483/1.086, allocations: 5.113 MB / 451.5 MB, free: 83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002588/1.088, allocations: 161.8 kB / 451.6 MB, free: 82.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002086/1.089, allocations: 44.56 kB / 451.7 MB, free: 82.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/1.089, allocations: 3.844 kB / 451.7 MB, free: 82.95 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005754/1.094, allocations: 1.65 MB / 453.3 MB, free: 82.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.179e-05/1.094, allocations: 3.812 kB / 453.3 MB, free: 82.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002482/1.097, allocations: 488.4 kB / 453.8 MB, free: 82.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001879/1.099, allocations: 169.4 kB / 454 MB, free: 82.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01287/1.112, allocations: 5.113 MB / 459.1 MB, free: 79.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002006/1.114, allocations: 134.6 kB / 459.2 MB, free: 79.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002496/1.114, allocations: 43.97 kB / 459.3 MB, free: 79.22 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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,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 (137): * Single equations (assignments): 136 * 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 28} Notification: Performance of prepare postOptimizeDAE: time 0.0005339/1.115, allocations: 201.1 kB / 459.5 MB, free: 79.06 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004534/1.119, allocations: 1.572 MB / 461 MB, free: 78.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000449/1.12, allocations: 125.8 kB / 461.2 MB, free: 78.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006287/1.12, allocations: 151.9 kB / 461.3 MB, free: 78.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/1.12, allocations: 10.69 kB / 461.3 MB, free: 78.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/1.12, allocations: 0 / 461.3 MB, free: 78.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-05/1.12, allocations: 9.875 kB / 461.3 MB, free: 78.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008736/1.129, allocations: 3.231 MB / 464.6 MB, free: 76.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/1.129, allocations: 0 / 464.6 MB, free: 76.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/1.13, allocations: 98.25 kB / 464.7 MB, free: 76.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00186/1.132, allocations: 464.9 kB / 465.1 MB, free: 76.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001656/1.132, allocations: 11.52 kB / 465.1 MB, free: 76.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01075/1.143, allocations: 5.004 MB / 470.1 MB, free: 73.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/1.143, allocations: 0 / 470.1 MB, free: 73.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005769/1.149, allocations: 2.471 MB / 472.6 MB, free: 71.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001135/1.15, allocations: 364.5 kB / 472.9 MB, free: 70.97 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004314/1.151, allocations: 31.36 kB / 473 MB, free: 70.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001459/1.152, allocations: 89.17 kB / 473.1 MB, free: 70.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009125/1.153, allocations: 224.2 kB / 473.3 MB, free: 70.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/1.153, allocations: 35.98 kB / 473.3 MB, free: 70.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00141/1.155, allocations: 0.6596 MB / 474 MB, free: 70.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.032e-06/1.155, allocations: 0 / 474 MB, free: 70.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00348/1.158, allocations: 0.7878 MB / 474.8 MB, free: 69.34 MB / 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: 48 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[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,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: 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[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 80 * 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 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.006009/1.164, allocations: 3.105 MB / 477.9 MB, free: 66.53 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007275/1.171, allocations: 2.905 MB / 480.8 MB, free: 63.92 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/1.172, allocations: 4 kB / 480.8 MB, free: 63.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002525/1.174, allocations: 1.005 MB / 481.8 MB, free: 63.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002524/1.177, allocations: 276.8 kB / 482.1 MB, free: 62.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009607/1.186, allocations: 3.215 MB / 485.3 MB, free: 60.04 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001852/1.188, allocations: 1.735 MB / 487 MB, free: 58.61 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002965/1.191, allocations: 0.5615 MB / 487.6 MB, free: 58.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001304/1.193, allocations: 0.6008 MB / 488.2 MB, free: 57.61 MB / 362.7 MB Notification: Performance of SimCode: time 2.435e-06/1.193, allocations: 0 / 488.2 MB, free: 57.61 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1674/1.36, allocations: 38.65 MB / 0.5145 GB, free: 19.24 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002538/1.36, allocations: 206 kB / 0.5147 GB, free: 18.95 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.521/5.882, allocations: 0 / 0.5147 GB, free: 18.95 MB / 362.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_RLV_res.mat does not exist to compare? outputFormat=mat