Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_RLV_Characteristic",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.791/1.791, allocations: 194.9 MB / 202.6 MB, free: 6.898 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2378/2.029, allocations: 46.84 MB / 249.4 MB, free: 5.34 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09327/2.122, allocations: 44.51 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3137/2.436, allocations: 86.06 MB / 380 MB, free: 6.301 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003213/2.437, allocations: 89 kB / 380.1 MB, free: 6.285 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: 448 * Number of variables: 448 Notification: Performance of Generate backend data structure: time 0.1755/2.612, allocations: 37.67 MB / 417.7 MB, free: 2.645 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/2.612, allocations: 8 kB / 417.8 MB, free: 2.637 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001321/2.614, allocations: 233.3 kB / 418 MB, free: 2.406 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009102/2.623, allocations: 1.972 MB / 420 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001744/2.623, allocations: 63.31 kB / 420 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008407/2.624, allocations: 112 kB / 420.1 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007525/2.631, allocations: 1.935 MB / 422.1 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008129/2.64, allocations: 2.167 MB / 424.2 MB, free: 13.94 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-05/2.64, allocations: 0 / 424.2 MB, free: 13.94 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002747/2.64, allocations: 7.906 kB / 424.2 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001314/2.64, allocations: 73.45 kB / 424.3 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02215/2.662, allocations: 6.923 MB / 431.2 MB, free: 6.992 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004531/2.667, allocations: 1.42 MB / 432.6 MB, free: 5.574 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002733/2.67, allocations: 0.9049 MB / 433.6 MB, free: 4.668 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/2.67, allocations: 16.36 kB / 433.6 MB, free: 4.656 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002477/2.672, allocations: 0.8037 MB / 434.4 MB, free: 3.832 MB / 330.7 MB Notification: Performance of pre-optimization done (n=117): time 5.45e-06/2.672, allocations: 0 / 434.4 MB, free: 3.832 MB / 330.7 MB Notification: Performance of matching and sorting (n=117): time 0.004932/2.677, allocations: 1.46 MB / 435.8 MB, free: 2.363 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/2.677, allocations: 123.8 kB / 436 MB, free: 2.219 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002735/2.68, allocations: 0.982 MB / 436.9 MB, free: 1.219 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000347/2.681, allocations: 45.69 kB / 437 MB, free: 1.168 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009253/2.682, allocations: 0.6075 MB / 437.6 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007034/2.682, allocations: 331 kB / 437.9 MB, free: 240 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/2.682, allocations: 0 / 437.9 MB, free: 240 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000231/2.683, allocations: 357.8 kB / 438.3 MB, free: 15.88 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001897/2.685, allocations: 0.5999 MB / 438.9 MB, free: 15.28 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002198/2.687, allocations: 0.7927 MB / 439.7 MB, free: 14.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001856/2.689, allocations: 0.608 MB / 440.3 MB, free: 13.8 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.581e-05/2.689, allocations: 4 kB / 440.3 MB, free: 13.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.005479/2.694, allocations: 1.678 MB / 441.9 MB, free: 12.11 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009762/2.695, allocations: 1.913 MB / 443.9 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.568e-05/2.695, allocations: 15.94 kB / 443.9 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002068/2.697, allocations: 446.4 kB / 444.3 MB, free: 9.598 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00194/2.699, allocations: 187.7 kB / 444.5 MB, free: 9.414 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01004/2.709, allocations: 3.987 MB / 448.5 MB, free: 5.305 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002094/2.712, allocations: 155.1 kB / 448.6 MB, free: 5.152 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000226/2.712, allocations: 40 kB / 448.7 MB, free: 5.113 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/2.712, allocations: 4 kB / 448.7 MB, free: 5.109 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004667/2.717, allocations: 1.518 MB / 450.2 MB, free: 3.586 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.613e-05/2.717, allocations: 4 kB / 450.2 MB, free: 3.582 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001863/2.719, allocations: 432.8 kB / 450.6 MB, free: 3.156 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001809/2.72, allocations: 187.9 kB / 450.8 MB, free: 2.973 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01025/2.731, allocations: 4.002 MB / 454.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002089/2.733, allocations: 139.3 kB / 454.9 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002624/2.733, allocations: 40 kB / 455 MB, free: 14.68 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 (123): * Single equations (assignments): 122 * 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.000554/2.734, allocations: 180.7 kB / 455.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004506/2.734, allocations: 122.5 kB / 455.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006851/2.735, allocations: 148.1 kB / 455.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-05/2.735, allocations: 15.92 kB / 455.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/2.735, allocations: 4 kB / 455.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/2.735, allocations: 7.984 kB / 455.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01146/2.746, allocations: 3.33 MB / 458.8 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/2.746, allocations: 0 / 458.8 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00159/2.748, allocations: 139.8 kB / 458.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0018/2.75, allocations: 404.8 kB / 459.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002642/2.75, allocations: 11.98 kB / 459.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009621/2.76, allocations: 3.831 MB / 463.2 MB, free: 6.363 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/2.76, allocations: 128 / 463.2 MB, free: 6.363 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007316/2.767, allocations: 2.492 MB / 465.6 MB, free: 3.852 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01013/2.777, allocations: 3.815 MB / 469.5 MB, free: 12 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001465/2.779, allocations: 355.3 kB / 469.8 MB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005271/2.779, allocations: 19.98 kB / 469.8 MB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001885/2.781, allocations: 95.91 kB / 469.9 MB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000699/2.782, allocations: 132.7 kB / 470 MB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001738/2.782, allocations: 31.98 kB / 470.1 MB, free: 15.37 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.002024/2.784, allocations: 0.7324 MB / 470.8 MB, free: 14.63 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006112/2.79, allocations: 0.7703 MB / 471.6 MB, free: 13.86 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 (91): * Single equations (assignments): 81 * 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.000586/2.791, allocations: 168.3 kB / 471.7 MB, free: 13.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008572/2.8, allocations: 2.625 MB / 474.4 MB, free: 11.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/2.8, allocations: 4 kB / 474.4 MB, free: 11.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00309/2.803, allocations: 0.9051 MB / 475.3 MB, free: 10.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002738/2.806, allocations: 244.3 kB / 475.5 MB, free: 9.883 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01247/2.818, allocations: 2.914 MB / 478.4 MB, free: 6.926 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0039/2.822, allocations: 1.819 MB / 480.3 MB, free: 5.07 MB / 378.7 MB Notification: Performance of SimCode: time 1.963e-06/2.822, allocations: 11.94 kB / 480.3 MB, free: 5.059 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat