Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_R,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.017/2.017, allocations: 195 MB / 203.2 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.898e-05/2.912e-05, allocations: 0 / 249.7 MB, free: 15.18 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3147, allocations: 44.5 MB / 294.2 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1549/0.4697, allocations: 85.37 MB / 379.6 MB, free: 12.57 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003493/0.4702, allocations: 91.94 kB / 379.7 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1479/0.618, allocations: 35.07 MB / 414.7 MB, free: 9.156 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.766e-06/0.6181, allocations: 0 / 414.7 MB, free: 9.156 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000234/0.6184, allocations: 55.92 kB / 414.8 MB, free: 9.102 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: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.007702/0.6261, allocations: 1.957 MB / 416.8 MB, free: 7.082 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/0.6261, allocations: 8.031 kB / 416.8 MB, free: 7.074 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001153/0.6273, allocations: 229.3 kB / 417 MB, free: 6.848 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007862/0.6352, allocations: 1.961 MB / 419 MB, free: 4.828 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/0.6354, allocations: 63.92 kB / 419 MB, free: 4.766 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007177/0.6362, allocations: 107.9 kB / 419.1 MB, free: 4.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006097/0.6423, allocations: 1.842 MB / 421 MB, free: 2.816 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006685/0.649, allocations: 2.086 MB / 423 MB, free: 0.6523 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.724e-05/0.6491, allocations: 7.938 kB / 423.1 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002249/0.6494, allocations: 3.984 kB / 423.1 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001286/0.6495, allocations: 71.34 kB / 423.1 MB, free: 0.5703 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2745/0.9241, allocations: 6.819 MB / 429.9 MB, free: 93.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004469/0.9286, allocations: 1.552 MB / 431.5 MB, free: 93.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00235/0.931, allocations: 0.8616 MB / 432.4 MB, free: 93.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001312/0.9312, allocations: 14.22 kB / 432.4 MB, free: 93.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00183/0.933, allocations: 0.7953 MB / 433.2 MB, free: 93.56 MB / 362.7 MB Notification: Performance of pre-optimization done (n=111): time 5.831e-06/0.9331, allocations: 0 / 433.2 MB, free: 93.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=111): time 0.003461/0.9365, allocations: 1.412 MB / 434.6 MB, free: 93.42 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.266e-05/0.9367, allocations: 128.1 kB / 434.7 MB, free: 93.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001958/0.9386, allocations: 0.9638 MB / 435.7 MB, free: 93.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002511/0.9389, allocations: 44.91 kB / 435.7 MB, free: 93.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007144/0.9396, allocations: 0.7461 MB / 436.5 MB, free: 92.78 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004352/0.9401, allocations: 316.4 kB / 436.8 MB, free: 92.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.07e-05/0.9402, allocations: 3.375 kB / 436.8 MB, free: 92.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.9403, allocations: 352.7 kB / 437.1 MB, free: 92.31 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/0.9415, allocations: 0.5661 MB / 437.7 MB, free: 92.26 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/0.9428, allocations: 0.7586 MB / 438.4 MB, free: 91.83 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.9439, allocations: 0.5797 MB / 439 MB, free: 91.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.944, allocations: 0 / 439 MB, free: 91.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003153/0.9471, allocations: 1.533 MB / 440.6 MB, free: 91.06 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004666/0.9476, allocations: 1.926 MB / 442.5 MB, free: 89.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/0.9477, allocations: 6.781 kB / 442.5 MB, free: 89.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001556/0.9492, allocations: 422.1 kB / 442.9 MB, free: 88.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/0.9507, allocations: 173.8 kB / 443.1 MB, free: 88.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007653/0.9584, allocations: 4.288 MB / 447.4 MB, free: 86.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/0.9602, allocations: 152 kB / 447.5 MB, free: 86.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/0.9604, allocations: 39.25 kB / 447.5 MB, free: 86.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.9604, allocations: 3.969 kB / 447.6 MB, free: 86.32 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003121/0.9635, allocations: 1.447 MB / 449 MB, free: 85.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.476e-05/0.9636, allocations: 6.594 kB / 449 MB, free: 85.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001269/0.9649, allocations: 428.1 kB / 449.4 MB, free: 85.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/0.9663, allocations: 161.2 kB / 449.6 MB, free: 85.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007543/0.9738, allocations: 4.321 MB / 453.9 MB, free: 83.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/0.9752, allocations: 136.9 kB / 454 MB, free: 83.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/0.9753, allocations: 43.5 kB / 454.1 MB, free: 83.09 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.0004401/0.9758, allocations: 179.4 kB / 454.3 MB, free: 82.96 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003176/0.9789, allocations: 1.406 MB / 455.7 MB, free: 82.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000452/0.9795, allocations: 122.8 kB / 455.8 MB, free: 82.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004759/0.9799, allocations: 143.4 kB / 455.9 MB, free: 82.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.98, allocations: 9.375 kB / 455.9 MB, free: 82.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.98, allocations: 6.062 kB / 455.9 MB, free: 82.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.568e-05/0.98, allocations: 7.594 kB / 455.9 MB, free: 82.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00782/0.9878, allocations: 3.229 MB / 459.2 MB, free: 80.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.9879, allocations: 2.656 kB / 459.2 MB, free: 80.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/0.9889, allocations: 109.2 kB / 459.3 MB, free: 80.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001351/0.9903, allocations: 399.6 kB / 459.7 MB, free: 80.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001673/0.9905, allocations: 7.438 kB / 459.7 MB, free: 80.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007021/0.9975, allocations: 4.014 MB / 463.7 MB, free: 78.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.9976, allocations: 3.375 kB / 463.7 MB, free: 78.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004816/1.002, allocations: 2.366 MB / 466.1 MB, free: 77.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/1.004, allocations: 351.2 kB / 466.4 MB, free: 77.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003673/1.004, allocations: 14.75 kB / 466.4 MB, free: 77.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/1.005, allocations: 97.8 kB / 466.5 MB, free: 77.17 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007965/1.006, allocations: 228.2 kB / 466.7 MB, free: 77.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/1.006, allocations: 31.38 kB / 466.8 MB, free: 77.01 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001436/1.008, allocations: 0.7169 MB / 467.5 MB, free: 76.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.11e-07/1.008, allocations: 0 / 467.5 MB, free: 76.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003507/1.011, allocations: 0.7656 MB / 468.2 MB, free: 75.6 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.005464/1.017, allocations: 2.979 MB / 471.2 MB, free: 72.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006145/1.023, allocations: 2.624 MB / 473.9 MB, free: 70.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/1.023, allocations: 0.7812 kB / 473.9 MB, free: 70.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002259/1.025, allocations: 0.9417 MB / 474.8 MB, free: 69.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002392/1.028, allocations: 251.2 kB / 475 MB, free: 69.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/1.039, allocations: 3.442 MB / 478.5 MB, free: 66.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0018/1.041, allocations: 1.708 MB / 480.2 MB, free: 65.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001475/1.043, allocations: 0.6202 MB / 480.8 MB, free: 64.6 MB / 362.7 MB Notification: Performance of SimCode: time 1.513e-06/1.043, allocations: 0 / 480.8 MB, free: 64.6 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.386/4.429, allocations: 39.28 MB / 0.5079 GB, free: 26.27 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_R_res.mat does not exist to compare? outputFormat=mat