Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_RLV",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.584/1.584, allocations: 194.9 MB / 202.5 MB, free: 6.934 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.228/1.813, allocations: 46.85 MB / 249.4 MB, free: 5.355 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08915/1.902, allocations: 44.49 MB / 293.9 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2868/2.189, allocations: 85.85 MB / 379.7 MB, free: 6.348 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003237/2.189, allocations: 84.84 kB / 379.8 MB, free: 6.332 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: 446 * Number of variables: 446 Notification: Performance of Generate backend data structure: time 0.1443/2.333, allocations: 37.5 MB / 417.3 MB, free: 2.922 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/2.333, allocations: 12 kB / 417.3 MB, free: 2.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/2.334, allocations: 229.2 kB / 417.5 MB, free: 2.684 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00773/2.342, allocations: 1.974 MB / 419.5 MB, free: 1.168 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/2.342, allocations: 71.39 kB / 419.6 MB, free: 1.102 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004621/2.343, allocations: 100 kB / 419.7 MB, free: 1.004 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006016/2.349, allocations: 1.933 MB / 421.6 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006559/2.355, allocations: 2.15 MB / 423.7 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.014e-05/2.356, allocations: 3.938 kB / 423.8 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002396/2.356, allocations: 3.984 kB / 423.8 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001135/2.356, allocations: 78.69 kB / 423.8 MB, free: 14.15 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0201/2.376, allocations: 7.019 MB / 430.9 MB, free: 7.25 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003348/2.379, allocations: 1.309 MB / 432.2 MB, free: 5.938 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002268/2.382, allocations: 0.8886 MB / 433 MB, free: 5.051 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-05/2.382, allocations: 16.83 kB / 433.1 MB, free: 5.039 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001943/2.384, allocations: 0.7914 MB / 433.9 MB, free: 4.227 MB / 330.7 MB Notification: Performance of pre-optimization done (n=114): time 4.398e-06/2.384, allocations: 0 / 433.9 MB, free: 4.227 MB / 330.7 MB Notification: Performance of matching and sorting (n=114): time 0.003934/2.388, allocations: 1.437 MB / 435.3 MB, free: 2.781 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/2.388, allocations: 123.8 kB / 435.4 MB, free: 2.637 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002464/2.39, allocations: 0.9901 MB / 436.4 MB, free: 1.629 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003249/2.391, allocations: 53.67 kB / 436.5 MB, free: 1.57 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007915/2.392, allocations: 0.6041 MB / 437.1 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005106/2.392, allocations: 327 kB / 437.4 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.211e-05/2.392, allocations: 4 kB / 437.4 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002041/2.392, allocations: 353.8 kB / 437.7 MB, free: 296 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001634/2.394, allocations: 0.5946 MB / 438.3 MB, free: 15.7 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001782/2.396, allocations: 0.7927 MB / 439.1 MB, free: 14.83 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/2.397, allocations: 0.6119 MB / 439.7 MB, free: 14.22 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/2.397, allocations: 0 / 439.7 MB, free: 14.22 MB / 346.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.00451/2.402, allocations: 1.663 MB / 441.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007683/2.403, allocations: 1.93 MB / 443.3 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.096e-05/2.403, allocations: 7.984 kB / 443.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001681/2.405, allocations: 438.4 kB / 443.8 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/2.406, allocations: 183.7 kB / 443.9 MB, free: 9.855 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008916/2.415, allocations: 4.001 MB / 447.9 MB, free: 5.734 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002014/2.417, allocations: 151.1 kB / 448.1 MB, free: 5.586 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001929/2.417, allocations: 40 kB / 448.1 MB, free: 5.547 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/2.417, allocations: 4 kB / 448.1 MB, free: 5.543 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004186/2.422, allocations: 1.506 MB / 449.6 MB, free: 4.031 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.671e-05/2.422, allocations: 8.609 kB / 449.6 MB, free: 4.023 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001581/2.423, allocations: 436.8 kB / 450.1 MB, free: 3.594 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/2.425, allocations: 179.7 kB / 450.2 MB, free: 3.418 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008666/2.434, allocations: 3.987 MB / 454.2 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001815/2.435, allocations: 135.3 kB / 454.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/2.436, allocations: 36 kB / 454.4 MB, free: 15.15 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 (122): * Single equations (assignments): 121 * 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.0004803/2.436, allocations: 188.5 kB / 454.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003344/2.436, allocations: 130.4 kB / 454.7 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005906/2.437, allocations: 152.1 kB / 454.9 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.722e-05/2.437, allocations: 12 kB / 454.9 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/2.437, allocations: 0 / 454.9 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.738e-05/2.437, allocations: 3.984 kB / 454.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009185/2.446, allocations: 3.298 MB / 458.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/2.446, allocations: 0 / 458.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/2.447, allocations: 111.9 kB / 458.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001489/2.449, allocations: 408.7 kB / 458.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001482/2.449, allocations: 11.98 kB / 458.7 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008171/2.457, allocations: 3.833 MB / 462.5 MB, free: 6.871 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/2.457, allocations: 0 / 462.5 MB, free: 6.871 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00609/2.463, allocations: 2.457 MB / 465 MB, free: 4.398 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008171/2.472, allocations: 3.752 MB / 468.7 MB, free: 0.625 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001181/2.473, allocations: 355.3 kB / 469.1 MB, free: 264 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003376/2.473, allocations: 19.98 kB / 469.1 MB, free: 244 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001406/2.475, allocations: 87.92 kB / 469.2 MB, free: 156 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004804/2.475, allocations: 128.7 kB / 469.3 MB, free: 28 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001366/2.475, allocations: 32.03 kB / 469.3 MB, free: 15.99 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.00177/2.477, allocations: 0.7401 MB / 470.1 MB, free: 15.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004923/2.482, allocations: 0.7625 MB / 470.8 MB, free: 14.48 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[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[3].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 78 * 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.0004399/2.483, allocations: 160.7 kB / 471 MB, free: 14.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006919/2.49, allocations: 2.593 MB / 473.6 MB, free: 11.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/2.49, allocations: 4 kB / 473.6 MB, free: 11.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002491/2.492, allocations: 0.9143 MB / 474.5 MB, free: 10.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002252/2.494, allocations: 241 kB / 474.8 MB, free: 10.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/2.505, allocations: 2.88 MB / 477.6 MB, free: 7.617 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002939/2.508, allocations: 1.819 MB / 479.4 MB, free: 5.762 MB / 378.7 MB Notification: Performance of SimCode: time 1.462e-06/2.508, allocations: 4 kB / 479.5 MB, free: 5.758 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_RLV_res.mat does not exist to compare? outputFormat=mat