Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_R,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_R",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.607/1.607, allocations: 194.9 MB / 202.5 MB, free: 6.934 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1997/1.806, allocations: 46.85 MB / 249.4 MB, free: 5.328 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08738/1.894, allocations: 44.5 MB / 293.9 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3108/2.205, allocations: 85.3 MB / 379.2 MB, free: 6.492 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004324/2.205, allocations: 87.5 kB / 379.2 MB, free: 6.477 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: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.1566/2.362, allocations: 36.86 MB / 416.1 MB, free: 3.914 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/2.362, allocations: 12 kB / 416.1 MB, free: 3.902 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/2.363, allocations: 221.4 kB / 416.3 MB, free: 3.684 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007764/2.37, allocations: 1.964 MB / 418.3 MB, free: 2.172 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001347/2.371, allocations: 59.5 kB / 418.3 MB, free: 2.117 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005664/2.371, allocations: 100 kB / 418.4 MB, free: 2.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00639/2.378, allocations: 1.907 MB / 420.4 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006972/2.385, allocations: 2.128 MB / 422.5 MB, free: 15.28 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-05/2.385, allocations: 11.84 kB / 422.5 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002365/2.385, allocations: 0 / 422.5 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001124/2.385, allocations: 73.97 kB / 422.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02073/2.406, allocations: 6.891 MB / 429.5 MB, free: 8.539 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003554/2.41, allocations: 1.295 MB / 430.8 MB, free: 7.242 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002452/2.412, allocations: 0.8805 MB / 431.6 MB, free: 6.363 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.802e-05/2.412, allocations: 9 kB / 431.6 MB, free: 6.355 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002036/2.414, allocations: 0.7759 MB / 432.4 MB, free: 5.559 MB / 330.7 MB Notification: Performance of pre-optimization done (n=111): time 5.189e-06/2.414, allocations: 0 / 432.4 MB, free: 5.559 MB / 330.7 MB Notification: Performance of matching and sorting (n=111): time 0.004096/2.418, allocations: 1.429 MB / 433.8 MB, free: 4.117 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/2.419, allocations: 123.8 kB / 434 MB, free: 3.973 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00257/2.421, allocations: 0.9931 MB / 435 MB, free: 2.961 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003451/2.422, allocations: 45.69 kB / 435 MB, free: 2.91 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000901/2.422, allocations: 0.5957 MB / 435.6 MB, free: 2.312 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00061/2.423, allocations: 311.2 kB / 435.9 MB, free: 2.008 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.375e-05/2.423, allocations: 3.938 kB / 435.9 MB, free: 2.004 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002143/2.423, allocations: 353.9 kB / 436.3 MB, free: 1.652 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00161/2.425, allocations: 0.5882 MB / 436.8 MB, free: 1.062 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001947/2.427, allocations: 0.7857 MB / 437.6 MB, free: 208 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001675/2.429, allocations: 0.6002 MB / 438.2 MB, free: 15.61 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/2.429, allocations: 3.906 kB / 438.2 MB, free: 15.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.004589/2.433, allocations: 1.651 MB / 439.9 MB, free: 13.94 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008949/2.434, allocations: 1.927 MB / 441.8 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.353e-05/2.434, allocations: 4 kB / 441.8 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001815/2.436, allocations: 439.2 kB / 442.2 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001554/2.438, allocations: 179.7 kB / 442.4 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009038/2.447, allocations: 3.895 MB / 446.3 MB, free: 7.246 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001977/2.449, allocations: 155.2 kB / 446.5 MB, free: 7.094 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002706/2.449, allocations: 36 kB / 446.5 MB, free: 7.059 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/2.449, allocations: 4 kB / 446.5 MB, free: 7.055 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004358/2.454, allocations: 1.498 MB / 448 MB, free: 5.551 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.82e-05/2.454, allocations: 4 kB / 448 MB, free: 5.547 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001794/2.455, allocations: 445.5 kB / 448.4 MB, free: 5.109 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/2.457, allocations: 167.7 kB / 448.6 MB, free: 4.945 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008871/2.466, allocations: 3.881 MB / 452.5 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00187/2.468, allocations: 131.4 kB / 452.6 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002749/2.468, allocations: 47.98 kB / 452.7 MB, free: 0.7773 MB / 346.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 (117): * Single equations (assignments): 116 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0004793/2.469, allocations: 172.5 kB / 452.8 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003946/2.469, allocations: 126.4 kB / 453 MB, free: 488 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006103/2.47, allocations: 148 kB / 453.1 MB, free: 336 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/2.47, allocations: 16 kB / 453.1 MB, free: 320 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/2.47, allocations: 0 / 453.1 MB, free: 320 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.806e-05/2.47, allocations: 7.969 kB / 453.1 MB, free: 312 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009653/2.479, allocations: 3.257 MB / 456.4 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/2.479, allocations: 0 / 456.4 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/2.481, allocations: 111.9 kB / 456.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001611/2.482, allocations: 412.8 kB / 456.9 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001835/2.482, allocations: 4 kB / 456.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00886/2.491, allocations: 3.728 MB / 460.6 MB, free: 8.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.682e-05/2.491, allocations: 0 / 460.6 MB, free: 8.66 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006846/2.498, allocations: 2.445 MB / 463.1 MB, free: 6.199 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009745/2.508, allocations: 3.725 MB / 466.8 MB, free: 2.453 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001779/2.51, allocations: 351.4 kB / 467.1 MB, free: 2.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006973/2.511, allocations: 23.83 kB / 467.2 MB, free: 2.066 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002341/2.513, allocations: 95.91 kB / 467.3 MB, free: 1.973 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008691/2.514, allocations: 116.8 kB / 467.4 MB, free: 1.859 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002478/2.514, allocations: 31.98 kB / 467.4 MB, free: 1.828 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.002579/2.517, allocations: 0.732 MB / 468.1 MB, free: 1.086 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005898/2.523, allocations: 0.7586 MB / 468.9 MB, free: 332 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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 (84): * Single equations (assignments): 74 * 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 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005577/2.523, allocations: 168.6 kB / 469.1 MB, free: 152 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007781/2.531, allocations: 2.591 MB / 471.6 MB, free: 13.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.659e-06/2.531, allocations: 4 kB / 471.6 MB, free: 13.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002787/2.534, allocations: 0.9104 MB / 472.6 MB, free: 12.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002468/2.537, allocations: 244.7 kB / 472.8 MB, free: 12.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01279/2.549, allocations: 3.104 MB / 475.9 MB, free: 9.227 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002884/2.552, allocations: 1.799 MB / 477.7 MB, free: 7.395 MB / 378.7 MB Notification: Performance of SimCode: time 1.583e-06/2.552, allocations: 11.94 kB / 477.7 MB, free: 7.383 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_R_res.mat does not exist to compare? outputFormat=mat