Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_R,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_R",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.756/1.756, allocations: 194.9 MB / 202.6 MB, free: 6.887 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2161/1.972, allocations: 46.84 MB / 249.4 MB, free: 5.348 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09473/2.067, allocations: 44.5 MB / 293.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3174/2.384, allocations: 85.3 MB / 379.2 MB, free: 6.414 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003297/2.384, allocations: 90.84 kB / 379.3 MB, free: 6.398 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.173/2.557, allocations: 36.86 MB / 416.2 MB, free: 3.816 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/2.557, allocations: 8 kB / 416.2 MB, free: 3.809 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/2.558, allocations: 229.4 kB / 416.4 MB, free: 3.582 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008766/2.567, allocations: 1.963 MB / 418.4 MB, free: 2.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/2.567, allocations: 56 kB / 418.4 MB, free: 2.016 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004647/2.568, allocations: 103.4 kB / 418.5 MB, free: 1.918 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00665/2.575, allocations: 1.906 MB / 420.4 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007637/2.582, allocations: 2.127 MB / 422.6 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.207e-05/2.582, allocations: 3.906 kB / 422.6 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002819/2.583, allocations: 4 kB / 422.6 MB, free: 15.17 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001335/2.583, allocations: 79.22 kB / 422.6 MB, free: 15.1 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02313/2.606, allocations: 6.895 MB / 429.5 MB, free: 8.395 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003796/2.61, allocations: 1.291 MB / 430.8 MB, free: 7.098 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002639/2.612, allocations: 0.8806 MB / 431.7 MB, free: 6.223 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.575e-05/2.613, allocations: 13 kB / 431.7 MB, free: 6.211 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002215/2.615, allocations: 0.772 MB / 432.5 MB, free: 5.418 MB / 330.7 MB Notification: Performance of pre-optimization done (n=111): time 4.96e-06/2.615, allocations: 0 / 432.5 MB, free: 5.418 MB / 330.7 MB Notification: Performance of matching and sorting (n=111): time 0.004544/2.619, allocations: 1.429 MB / 433.9 MB, free: 3.977 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/2.62, allocations: 127.5 kB / 434 MB, free: 3.832 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00278/2.622, allocations: 0.9892 MB / 435 MB, free: 2.824 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003126/2.623, allocations: 41.69 kB / 435.1 MB, free: 2.777 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008523/2.624, allocations: 0.596 MB / 435.7 MB, free: 2.176 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005376/2.624, allocations: 323 kB / 436 MB, free: 1.863 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/2.624, allocations: 0 / 436 MB, free: 1.863 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001982/2.624, allocations: 353.9 kB / 436.3 MB, free: 1.512 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001847/2.626, allocations: 0.5843 MB / 436.9 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00202/2.628, allocations: 0.7818 MB / 437.7 MB, free: 72 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001868/2.63, allocations: 0.604 MB / 438.3 MB, free: 15.47 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/2.63, allocations: 3.906 kB / 438.3 MB, free: 15.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00529/2.636, allocations: 1.655 MB / 440 MB, free: 13.8 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008619/2.636, allocations: 1.92 MB / 441.9 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.576e-05/2.637, allocations: 4 kB / 441.9 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002135/2.639, allocations: 443.2 kB / 442.3 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001801/2.641, allocations: 171.7 kB / 442.5 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0106/2.651, allocations: 3.899 MB / 446.4 MB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002242/2.653, allocations: 151.2 kB / 446.5 MB, free: 6.953 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000293/2.654, allocations: 47.98 kB / 446.6 MB, free: 6.906 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/2.654, allocations: 4 kB / 446.6 MB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004766/2.659, allocations: 1.486 MB / 448.1 MB, free: 5.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.74e-05/2.659, allocations: 8 kB / 448.1 MB, free: 5.402 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001944/2.661, allocations: 440.9 kB / 448.5 MB, free: 4.969 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001748/2.662, allocations: 176 kB / 448.7 MB, free: 4.797 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01085/2.673, allocations: 3.876 MB / 452.6 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002221/2.676, allocations: 135.3 kB / 452.7 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003452/2.676, allocations: 40 kB / 452.7 MB, free: 0.6406 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.0005692/2.677, allocations: 180.7 kB / 452.9 MB, free: 468 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005198/2.677, allocations: 122.5 kB / 453 MB, free: 344 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007885/2.678, allocations: 140 kB / 453.2 MB, free: 200 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.306e-05/2.678, allocations: 15.98 kB / 453.2 MB, free: 184 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/2.678, allocations: 4 kB / 453.2 MB, free: 180 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.801e-05/2.678, allocations: 3.984 kB / 453.2 MB, free: 176 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01246/2.69, allocations: 3.263 MB / 456.4 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/2.691, allocations: 3.938 kB / 456.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001422/2.692, allocations: 111.8 kB / 456.6 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002017/2.694, allocations: 416.8 kB / 457 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002627/2.694, allocations: 11.98 kB / 457 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01008/2.704, allocations: 3.724 MB / 460.7 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/2.704, allocations: 7.938 kB / 460.7 MB, free: 8.504 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007105/2.712, allocations: 2.437 MB / 463.1 MB, free: 6.047 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009542/2.721, allocations: 3.725 MB / 466.9 MB, free: 2.301 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001289/2.723, allocations: 347.4 kB / 467.2 MB, free: 1.941 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003852/2.723, allocations: 19.89 kB / 467.2 MB, free: 1.922 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001653/2.725, allocations: 91.91 kB / 467.3 MB, free: 1.832 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005662/2.725, allocations: 128.8 kB / 467.4 MB, free: 1.707 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000137/2.725, allocations: 27.98 kB / 467.5 MB, free: 1.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.001958/2.727, allocations: 0.7359 MB / 468.2 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005202/2.733, allocations: 0.7508 MB / 469 MB, free: 184 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.0004563/2.733, allocations: 164.6 kB / 469.1 MB, free: 8 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.008013/2.741, allocations: 2.604 MB / 471.7 MB, free: 13.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/2.741, allocations: 1.25 kB / 471.7 MB, free: 13.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002845/2.744, allocations: 0.9063 MB / 472.6 MB, free: 12.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002466/2.746, allocations: 240.1 kB / 472.9 MB, free: 12.24 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01371/2.76, allocations: 3.108 MB / 476 MB, free: 9.086 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003243/2.763, allocations: 1.795 MB / 477.8 MB, free: 7.258 MB / 378.7 MB Notification: Performance of SimCode: time 1.492e-06/2.764, allocations: 0 / 477.8 MB, free: 7.258 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_R_res.mat does not exist to compare? outputFormat=mat