Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.012/2.012, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.666e-05/3.676e-05, allocations: 7.984 kB / 269.5 MB, free: 6.277 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1026, allocations: 47.57 MB / 317 MB, free: 6.613 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4384/0.5411, allocations: 91.96 MB / 409 MB, free: 11.74 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003322/0.5415, allocations: 86.75 kB / 409.1 MB, free: 11.7 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1608/0.7023, allocations: 36.32 MB / 445.4 MB, free: 12.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.7024, allocations: 4 kB / 445.4 MB, free: 12.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002692/0.7027, allocations: 44 kB / 445.5 MB, free: 12.95 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: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 0.008486/0.7112, allocations: 2.001 MB / 447.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.309e-05/0.7113, allocations: 12.03 kB / 447.5 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001036/0.7123, allocations: 252.9 kB / 447.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008689/0.7132, allocations: 229.3 kB / 447.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008002/0.7212, allocations: 1.968 MB / 449.9 MB, free: 9.035 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000211/0.7215, allocations: 134.8 kB / 450 MB, free: 8.957 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007501/0.7222, allocations: 170.8 kB / 450.2 MB, free: 8.844 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008954/0.7312, allocations: 2.321 MB / 452.5 MB, free: 7.254 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001076/0.7314, allocations: 7.938 kB / 452.5 MB, free: 7.246 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005422/0.732, allocations: 74.73 kB / 452.6 MB, free: 7.223 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001856/0.7322, allocations: 79.14 kB / 452.7 MB, free: 7.148 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009545/0.7417, allocations: 1.935 MB / 454.6 MB, free: 5.375 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03143/0.7732, allocations: 7.269 MB / 461.9 MB, free: 13.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007312/0.7806, allocations: 1.608 MB / 463.5 MB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00373/0.7844, allocations: 0.9045 MB / 464.4 MB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001428/0.7846, allocations: 17 kB / 464.4 MB, free: 11.35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002654/0.7873, allocations: 0.8265 MB / 465.2 MB, free: 10.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=113): time 4.248e-06/0.7873, allocations: 0 / 465.2 MB, free: 10.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=113): time 0.004043/0.7913, allocations: 1.489 MB / 466.7 MB, free: 9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/0.7915, allocations: 123.8 kB / 466.9 MB, free: 8.855 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002649/0.7942, allocations: 1.108 MB / 468 MB, free: 7.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002993/0.7945, allocations: 69.69 kB / 468 MB, free: 7.656 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001086/0.7956, allocations: 0.7653 MB / 468.8 MB, free: 6.879 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006116/0.7962, allocations: 335.4 kB / 469.1 MB, free: 6.547 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.7963, allocations: 24 kB / 469.1 MB, free: 6.523 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.7966, allocations: 349.9 kB / 469.5 MB, free: 6.176 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001588/0.7982, allocations: 0.596 MB / 470.1 MB, free: 5.578 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00187/0.8001, allocations: 0.7888 MB / 470.9 MB, free: 4.715 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001665/0.8018, allocations: 0.606 MB / 471.5 MB, free: 4.109 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.567e-06/0.8018, allocations: 0 / 471.5 MB, free: 4.109 MB / 378.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.004696/0.8065, allocations: 1.712 MB / 473.2 MB, free: 2.383 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008785/0.8074, allocations: 1.934 MB / 475.1 MB, free: 320 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.557e-05/0.8075, allocations: 4 kB / 475.1 MB, free: 316 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001749/0.8093, allocations: 427.1 kB / 475.5 MB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/0.8108, allocations: 171.7 kB / 475.7 MB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009839/0.8207, allocations: 4.395 MB / 480.1 MB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00196/0.8227, allocations: 179.1 kB / 480.3 MB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002371/0.823, allocations: 40 kB / 480.3 MB, free: 10.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.823, allocations: 4 kB / 480.3 MB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005625/0.8287, allocations: 1.574 MB / 481.9 MB, free: 9.395 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.325e-05/0.8287, allocations: 7.938 kB / 481.9 MB, free: 9.387 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002059/0.8308, allocations: 417.3 kB / 482.3 MB, free: 8.977 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001947/0.8328, allocations: 179.6 kB / 482.5 MB, free: 8.801 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01355/0.8464, allocations: 4.393 MB / 486.9 MB, free: 4.277 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00243/0.8489, allocations: 163.2 kB / 487 MB, free: 4.117 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003347/0.8493, allocations: 43.98 kB / 487.1 MB, free: 4.074 MB / 394.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.0006704/0.8499, allocations: 212.8 kB / 487.3 MB, free: 3.859 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006037/0.8506, allocations: 138.4 kB / 487.4 MB, free: 3.723 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007939/0.8514, allocations: 168.9 kB / 487.6 MB, free: 3.547 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.336e-05/0.8514, allocations: 12 kB / 487.6 MB, free: 3.535 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.8514, allocations: 0 / 487.6 MB, free: 3.535 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.251e-05/0.8515, allocations: 3.984 kB / 487.6 MB, free: 3.531 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0142/0.8657, allocations: 3.575 MB / 491.2 MB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.8658, allocations: 0 / 491.2 MB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001514/0.8673, allocations: 115.8 kB / 491.3 MB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002085/0.8694, allocations: 400.8 kB / 491.7 MB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002113/0.8696, allocations: 23.94 kB / 491.7 MB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01289/0.8825, allocations: 4.334 MB / 496 MB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.8826, allocations: 4 kB / 496.1 MB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00643/0.889, allocations: 2.466 MB / 498.5 MB, free: 8.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001104/0.8902, allocations: 363.4 kB / 498.9 MB, free: 8.035 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000295/0.8905, allocations: 27.98 kB / 498.9 MB, free: 8.008 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/0.8919, allocations: 115.8 kB / 499 MB, free: 7.895 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007903/0.8927, allocations: 228.7 kB / 499.2 MB, free: 7.668 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/0.8928, allocations: 32.11 kB / 499.3 MB, free: 7.637 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001895/0.8947, allocations: 0.8447 MB / 0.4884 GB, free: 6.781 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.8947, allocations: 4 kB / 0.4884 GB, free: 6.777 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003442/0.8982, allocations: 0.8446 MB / 0.4892 GB, free: 5.93 MB / 410.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.008511/0.9067, allocations: 3.101 MB / 0.4922 GB, free: 2.797 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009718/0.9165, allocations: 2.72 MB / 0.4949 GB, free: 56 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.9165, allocations: 0 / 0.4949 GB, free: 56 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003204/0.9197, allocations: 0.9613 MB / 0.4958 GB, free: 15.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002892/0.9226, allocations: 304.5 kB / 0.4961 GB, free: 14.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01322/0.9359, allocations: 3.377 MB / 0.4994 GB, free: 11.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002833/0.9388, allocations: 1.749 MB / 0.5011 GB, free: 9.574 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004068/0.9429, allocations: 0.6109 MB / 0.5017 GB, free: 8.961 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001876/0.9447, allocations: 0.6203 MB / 0.5023 GB, free: 8.34 MB / 426.7 MB Notification: Performance of SimCode: time 1.272e-06/0.9448, allocations: 0 / 0.5023 GB, free: 8.34 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4156/1.36, allocations: 40.31 MB / 0.5417 GB, free: 123.6 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002648/1.361, allocations: 235.9 kB / 0.5419 GB, free: 123.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.994/5.355, allocations: 3.781 kB / 0.5419 GB, free: 123.2 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL_res.mat does not exist to compare? outputFormat=mat