Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.99/1.99, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.719e-05/3.734e-05, allocations: 7.984 kB / 249.7 MB, free: 15.18 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3059, allocations: 44.49 MB / 294.2 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1644/0.4703, allocations: 85.68 MB / 379.9 MB, free: 12.2 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003858/0.4708, allocations: 87.94 kB / 380 MB, free: 12.11 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1646/0.6354, allocations: 35.41 MB / 415.4 MB, free: 8.445 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.009e-06/0.6355, allocations: 0 / 415.4 MB, free: 8.445 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002486/0.6358, allocations: 55.88 kB / 415.4 MB, free: 8.391 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: 440 * Number of variables: 440 Notification: Performance of Generate backend data structure: time 0.007805/0.6436, allocations: 1.986 MB / 417.4 MB, free: 6.344 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.803e-05/0.6437, allocations: 8.031 kB / 417.4 MB, free: 6.336 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.6448, allocations: 225.3 kB / 417.7 MB, free: 6.113 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007896/0.6527, allocations: 1.961 MB / 419.6 MB, free: 4.094 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001548/0.6529, allocations: 60 kB / 419.7 MB, free: 4.035 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006491/0.6536, allocations: 108 kB / 419.8 MB, free: 3.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006486/0.6601, allocations: 1.854 MB / 421.6 MB, free: 2.074 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3412/1.001, allocations: 2.093 MB / 423.7 MB, free: 93.44 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.821e-05/1.002, allocations: 7.469 kB / 423.7 MB, free: 93.44 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002596/1.002, allocations: 3.094 kB / 423.7 MB, free: 93.44 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001749/1.002, allocations: 77.12 kB / 423.8 MB, free: 93.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01892/1.021, allocations: 6.917 MB / 430.7 MB, free: 91.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004103/1.025, allocations: 1.565 MB / 432.3 MB, free: 91.74 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001969/1.027, allocations: 0.8686 MB / 433.2 MB, free: 91.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/1.027, allocations: 12.17 kB / 433.2 MB, free: 91.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001732/1.029, allocations: 0.7983 MB / 434 MB, free: 91.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=113): time 5.03e-06/1.029, allocations: 0 / 434 MB, free: 91.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=113): time 0.003261/1.032, allocations: 1.41 MB / 435.4 MB, free: 91.51 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/1.032, allocations: 128.8 kB / 435.5 MB, free: 91.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001823/1.034, allocations: 0.9638 MB / 436.5 MB, free: 91.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002203/1.034, allocations: 51.22 kB / 436.5 MB, free: 91.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007178/1.035, allocations: 0.7523 MB / 437.3 MB, free: 90.87 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000415/1.036, allocations: 325.6 kB / 437.6 MB, free: 90.69 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.305e-05/1.036, allocations: 0 / 437.6 MB, free: 90.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/1.036, allocations: 366.3 kB / 438 MB, free: 90.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001162/1.037, allocations: 0.5647 MB / 438.5 MB, free: 90.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/1.038, allocations: 0.7696 MB / 439.3 MB, free: 89.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/1.04, allocations: 0.5802 MB / 439.9 MB, free: 89.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/1.04, allocations: 3.969 kB / 439.9 MB, free: 89.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003235/1.043, allocations: 1.537 MB / 441.4 MB, free: 88.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003995/1.043, allocations: 1.923 MB / 443.3 MB, free: 86.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/1.043, allocations: 3.844 kB / 443.3 MB, free: 86.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001444/1.045, allocations: 427.4 kB / 443.8 MB, free: 86.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/1.046, allocations: 178.6 kB / 443.9 MB, free: 86.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008241/1.054, allocations: 4.308 MB / 448.2 MB, free: 84.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002266/1.057, allocations: 158.5 kB / 448.4 MB, free: 84.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001638/1.057, allocations: 37.34 kB / 448.4 MB, free: 84.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/1.057, allocations: 3.312 kB / 448.4 MB, free: 84.14 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004161/1.061, allocations: 1.464 MB / 449.9 MB, free: 83.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/1.061, allocations: 3.75 kB / 449.9 MB, free: 83.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001594/1.063, allocations: 415.5 kB / 450.3 MB, free: 83.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/1.064, allocations: 178.2 kB / 450.5 MB, free: 83.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009795/1.074, allocations: 4.35 MB / 454.8 MB, free: 80.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/1.076, allocations: 135.3 kB / 455 MB, free: 80.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000164/1.076, allocations: 41.16 kB / 455 MB, free: 80.86 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.0005616/1.077, allocations: 190.7 kB / 455.2 MB, free: 80.73 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004412/1.081, allocations: 1.407 MB / 456.6 MB, free: 80.19 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000367/1.082, allocations: 120.9 kB / 456.7 MB, free: 80.13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005792/1.082, allocations: 149.8 kB / 456.9 MB, free: 80.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/1.082, allocations: 15.08 kB / 456.9 MB, free: 80.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/1.082, allocations: 3.953 kB / 456.9 MB, free: 80.03 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.919e-05/1.082, allocations: 6 kB / 456.9 MB, free: 80.03 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00984/1.092, allocations: 3.247 MB / 460.1 MB, free: 78.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/1.092, allocations: 0 / 460.1 MB, free: 78.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/1.094, allocations: 117.3 kB / 460.2 MB, free: 78.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001716/1.095, allocations: 395.8 kB / 460.6 MB, free: 78.58 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001404/1.095, allocations: 3.891 kB / 460.6 MB, free: 78.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009808/1.105, allocations: 4.202 MB / 464.8 MB, free: 76.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/1.105, allocations: 0 / 464.8 MB, free: 76.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006562/1.112, allocations: 2.382 MB / 467.2 MB, free: 75.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001213/1.113, allocations: 359.2 kB / 467.6 MB, free: 74.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004204/1.114, allocations: 15.12 kB / 467.6 MB, free: 74.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001648/1.115, allocations: 94.38 kB / 467.7 MB, free: 74.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009567/1.116, allocations: 220.1 kB / 467.9 MB, free: 74.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001385/1.116, allocations: 36.11 kB / 467.9 MB, free: 74.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001779/1.118, allocations: 0.721 MB / 468.6 MB, free: 74.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.21e-07/1.118, allocations: 0 / 468.6 MB, free: 74.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003652/1.122, allocations: 0.7706 MB / 469.4 MB, free: 74.21 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: 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.006782/1.129, allocations: 2.997 MB / 472.4 MB, free: 71.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007265/1.136, allocations: 2.615 MB / 475 MB, free: 69.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.899e-06/1.136, allocations: 0.7812 kB / 475 MB, free: 69.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001896/1.138, allocations: 0.9384 MB / 476 MB, free: 68.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002021/1.14, allocations: 248 kB / 476.2 MB, free: 68.15 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008129/1.148, allocations: 3.208 MB / 479.4 MB, free: 65.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001486/1.15, allocations: 1.721 MB / 481.1 MB, free: 63.96 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001325/1.151, allocations: 0.629 MB / 481.8 MB, free: 63.39 MB / 362.7 MB Notification: Performance of SimCode: time 9.51e-07/1.151, allocations: 0 / 481.8 MB, free: 63.39 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.52/4.672, allocations: 39.45 MB / 0.509 GB, free: 24.81 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_RL_res.mat does not exist to compare? outputFormat=mat