Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_RLV_Characteristic",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.861/1.861, allocations: 194.9 MB / 202.5 MB, free: 6.922 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2019/2.063, allocations: 46.85 MB / 249.4 MB, free: 5.285 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/2.167, allocations: 44.5 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3322/2.499, allocations: 86.06 MB / 379.9 MB, free: 6.289 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000307/2.5, allocations: 84.02 kB / 380 MB, free: 6.277 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.1589/2.659, allocations: 37.67 MB / 417.7 MB, free: 2.617 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/2.659, allocations: 8 kB / 417.7 MB, free: 2.609 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/2.66, allocations: 233 kB / 417.9 MB, free: 2.383 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008057/2.668, allocations: 1.972 MB / 419.9 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001538/2.668, allocations: 60 kB / 420 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006784/2.669, allocations: 107.2 kB / 420.1 MB, free: 0.707 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006713/2.676, allocations: 1.936 MB / 422 MB, free: 15.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00732/2.683, allocations: 2.157 MB / 424.2 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.526e-05/2.683, allocations: 4 kB / 424.2 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002514/2.683, allocations: 9.328 kB / 424.2 MB, free: 13.92 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001182/2.683, allocations: 76.83 kB / 424.2 MB, free: 13.84 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02175/2.705, allocations: 6.924 MB / 431.2 MB, free: 6.945 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004301/2.71, allocations: 1.423 MB / 432.6 MB, free: 5.523 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002598/2.712, allocations: 0.9004 MB / 433.5 MB, free: 4.625 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/2.712, allocations: 20.2 kB / 433.5 MB, free: 4.609 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002181/2.715, allocations: 0.7998 MB / 434.3 MB, free: 3.789 MB / 330.7 MB Notification: Performance of pre-optimization done (n=117): time 5.19e-06/2.715, allocations: 3.938 kB / 434.3 MB, free: 3.785 MB / 330.7 MB Notification: Performance of matching and sorting (n=117): time 0.00433/2.719, allocations: 1.464 MB / 435.8 MB, free: 2.312 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/2.719, allocations: 127.8 kB / 435.9 MB, free: 2.164 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002588/2.722, allocations: 0.9742 MB / 436.9 MB, free: 1.172 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003759/2.722, allocations: 53.67 kB / 436.9 MB, free: 1.113 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008548/2.723, allocations: 0.5982 MB / 437.5 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006354/2.724, allocations: 335 kB / 437.9 MB, free: 188 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/2.724, allocations: 0 / 437.9 MB, free: 188 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002347/2.724, allocations: 353.8 kB / 438.2 MB, free: 15.83 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001683/2.726, allocations: 0.596 MB / 438.8 MB, free: 15.24 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001922/2.728, allocations: 0.8044 MB / 439.6 MB, free: 14.36 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001577/2.729, allocations: 0.6041 MB / 440.2 MB, free: 13.76 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/2.729, allocations: 0 / 440.2 MB, free: 13.76 MB / 346.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004622/2.734, allocations: 1.678 MB / 441.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008715/2.735, allocations: 1.921 MB / 443.8 MB, free: 9.996 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.256e-05/2.735, allocations: 4 kB / 443.8 MB, free: 9.992 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001819/2.737, allocations: 434.4 kB / 444.2 MB, free: 9.566 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001704/2.739, allocations: 191.7 kB / 444.4 MB, free: 9.379 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009082/2.748, allocations: 4.005 MB / 448.4 MB, free: 5.258 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001983/2.75, allocations: 159.1 kB / 448.6 MB, free: 5.102 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001818/2.75, allocations: 40 kB / 448.6 MB, free: 5.062 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/2.75, allocations: 4 kB / 448.6 MB, free: 5.059 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004229/2.754, allocations: 1.513 MB / 450.1 MB, free: 3.539 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.763e-05/2.754, allocations: 7.984 kB / 450.1 MB, free: 3.531 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001617/2.756, allocations: 433.5 kB / 450.6 MB, free: 3.105 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001627/2.758, allocations: 187.6 kB / 450.7 MB, free: 2.922 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008871/2.766, allocations: 4.006 MB / 454.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001874/2.768, allocations: 131.3 kB / 454.9 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001774/2.769, allocations: 43.98 kB / 454.9 MB, free: 14.63 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.0004866/2.769, allocations: 180.7 kB / 455.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003824/2.769, allocations: 122.5 kB / 455.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005958/2.77, allocations: 152.1 kB / 455.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/2.77, allocations: 12 kB / 455.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/2.77, allocations: 0 / 455.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.081e-05/2.77, allocations: 7.969 kB / 455.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01014/2.78, allocations: 3.33 MB / 458.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/2.78, allocations: 0 / 458.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001414/2.782, allocations: 139.8 kB / 458.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001663/2.783, allocations: 408.8 kB / 459.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002497/2.784, allocations: 7.984 kB / 459.3 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01041/2.794, allocations: 3.825 MB / 463.1 MB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/2.794, allocations: 0 / 463.1 MB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009395/2.804, allocations: 2.492 MB / 465.6 MB, free: 3.809 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0126/2.816, allocations: 3.815 MB / 469.4 MB, free: 15.97 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001811/2.818, allocations: 355.2 kB / 469.7 MB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008545/2.819, allocations: 19.98 kB / 469.8 MB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002885/2.822, allocations: 99.91 kB / 469.9 MB, free: 15.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001103/2.823, allocations: 136.7 kB / 470 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002653/2.824, allocations: 31.98 kB / 470 MB, free: 15.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.003215/2.827, allocations: 0.7246 MB / 470.7 MB, free: 14.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.009142/2.836, allocations: 0.7742 MB / 471.5 MB, free: 13.81 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.00082/2.837, allocations: 164.5 kB / 471.7 MB, free: 13.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008444/2.845, allocations: 2.622 MB / 474.3 MB, free: 11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/2.845, allocations: 11.94 kB / 474.3 MB, free: 10.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002976/2.848, allocations: 0.9057 MB / 475.2 MB, free: 10.08 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00263/2.851, allocations: 232.8 kB / 475.5 MB, free: 9.848 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/2.863, allocations: 2.927 MB / 478.4 MB, free: 6.879 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003868/2.867, allocations: 1.823 MB / 480.2 MB, free: 5.02 MB / 378.7 MB Notification: Performance of SimCode: time 1.413e-06/2.867, allocations: 0 / 480.2 MB, free: 5.02 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_Characteristic_res.mat does not exist to compare? outputFormat=mat