Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_RL",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Modelica): time 1.642/1.642, allocations: 194.9 MB / 202.5 MB, free: 6.922 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2346/1.876, allocations: 46.86 MB / 249.4 MB, free: 5.359 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09522/1.972, allocations: 44.49 MB / 293.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2994/2.271, allocations: 85.61 MB / 379.5 MB, free: 6.418 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/2.271, allocations: 88.72 kB / 379.6 MB, free: 6.402 MB / 298.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.1553/2.427, allocations: 37.2 MB / 416.8 MB, free: 3.328 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.525e-05/2.427, allocations: 8 kB / 416.8 MB, free: 3.32 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/2.428, allocations: 229.3 kB / 417 MB, free: 3.094 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008271/2.436, allocations: 1.973 MB / 419 MB, free: 1.578 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001652/2.437, allocations: 67.8 kB / 419 MB, free: 1.516 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007592/2.437, allocations: 100 kB / 419.1 MB, free: 1.418 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00661/2.444, allocations: 1.917 MB / 421 MB, free: 236 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008126/2.452, allocations: 2.138 MB / 423.2 MB, free: 14.67 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-05/2.452, allocations: 3.938 kB / 423.2 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005007/2.453, allocations: 7.906 kB / 423.2 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001257/2.453, allocations: 78.64 kB / 423.3 MB, free: 14.58 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02299/2.476, allocations: 6.965 MB / 430.2 MB, free: 7.766 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003742/2.48, allocations: 1.3 MB / 431.5 MB, free: 6.457 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002626/2.482, allocations: 0.8885 MB / 432.4 MB, free: 5.574 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001289/2.483, allocations: 13 kB / 432.4 MB, free: 5.562 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00234/2.485, allocations: 0.7875 MB / 433.2 MB, free: 4.754 MB / 330.7 MB Notification: Performance of pre-optimization done (n=113): time 5.731e-06/2.485, allocations: 0 / 433.2 MB, free: 4.754 MB / 330.7 MB Notification: Performance of matching and sorting (n=113): time 0.004669/2.49, allocations: 1.429 MB / 434.7 MB, free: 3.312 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/2.49, allocations: 127.8 kB / 434.8 MB, free: 3.164 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003101/2.493, allocations: 0.9934 MB / 435.8 MB, free: 2.152 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003836/2.493, allocations: 45.69 kB / 435.8 MB, free: 2.102 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009372/2.494, allocations: 0.6074 MB / 436.4 MB, free: 1.492 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006931/2.495, allocations: 315.2 kB / 436.7 MB, free: 1.184 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/2.495, allocations: 4 kB / 436.7 MB, free: 1.18 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002136/2.496, allocations: 353.9 kB / 437.1 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001782/2.497, allocations: 0.5921 MB / 437.7 MB, free: 244 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002109/2.5, allocations: 0.7955 MB / 438.5 MB, free: 15.37 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001804/2.501, allocations: 0.6041 MB / 439.1 MB, free: 14.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.584e-05/2.501, allocations: 0 / 439.1 MB, free: 14.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.005377/2.507, allocations: 1.667 MB / 440.7 MB, free: 13.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008599/2.508, allocations: 1.92 MB / 442.7 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.693e-05/2.508, allocations: 4 kB / 442.7 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001949/2.51, allocations: 435.1 kB / 443.1 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001633/2.511, allocations: 179.7 kB / 443.3 MB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009561/2.521, allocations: 4.006 MB / 447.3 MB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002076/2.523, allocations: 147.2 kB / 447.4 MB, free: 6.152 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003447/2.524, allocations: 44 kB / 447.5 MB, free: 6.109 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/2.524, allocations: 4 kB / 447.5 MB, free: 6.105 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004619/2.528, allocations: 1.502 MB / 449 MB, free: 4.598 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-05/2.528, allocations: 12.53 kB / 449 MB, free: 4.586 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001677/2.53, allocations: 436.9 kB / 449.4 MB, free: 4.156 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/2.532, allocations: 171.7 kB / 449.6 MB, free: 3.988 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009251/2.541, allocations: 3.995 MB / 453.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001955/2.543, allocations: 127.3 kB / 453.7 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00035/2.543, allocations: 40 kB / 453.7 MB, free: 15.71 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.0005055/2.544, allocations: 180.6 kB / 453.9 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004999/2.544, allocations: 126.4 kB / 454 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006526/2.545, allocations: 144.1 kB / 454.2 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.992e-05/2.545, allocations: 16 kB / 454.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/2.545, allocations: 0 / 454.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/2.545, allocations: 7.922 kB / 454.2 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01076/2.556, allocations: 3.288 MB / 457.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.546e-05/2.556, allocations: 3.984 kB / 457.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/2.557, allocations: 111.9 kB / 457.6 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001701/2.559, allocations: 408.7 kB / 458 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002953/2.559, allocations: 3.984 kB / 458 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008952/2.568, allocations: 3.837 MB / 461.8 MB, free: 7.457 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/2.568, allocations: 0 / 461.8 MB, free: 7.457 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006881/2.575, allocations: 2.449 MB / 464.3 MB, free: 4.992 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009386/2.585, allocations: 3.741 MB / 468 MB, free: 1.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00137/2.586, allocations: 355.5 kB / 468.4 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005426/2.587, allocations: 15.98 kB / 468.4 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001809/2.589, allocations: 95.91 kB / 468.5 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006801/2.589, allocations: 128.8 kB / 468.6 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/2.59, allocations: 31.98 kB / 468.6 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.002069/2.592, allocations: 0.7322 MB / 469.4 MB, free: 15.85 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00597/2.598, allocations: 0.7639 MB / 470.1 MB, free: 15.09 MB / 378.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.000629/2.598, allocations: 160.5 kB / 470.3 MB, free: 14.92 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0079/2.606, allocations: 2.592 MB / 472.9 MB, free: 12.31 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/2.606, allocations: 0 / 472.9 MB, free: 12.31 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002834/2.609, allocations: 0.8951 MB / 473.8 MB, free: 11.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002523/2.612, allocations: 240.1 kB / 474 MB, free: 11.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01158/2.623, allocations: 2.871 MB / 476.9 MB, free: 8.258 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003756/2.627, allocations: 1.817 MB / 478.7 MB, free: 6.41 MB / 378.7 MB Notification: Performance of SimCode: time 2.164e-06/2.627, allocations: 0 / 478.7 MB, free: 6.41 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL_res.mat does not exist to compare? outputFormat=mat