Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_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.741/1.741, allocations: 194.9 MB / 202.6 MB, free: 6.898 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2253/1.966, allocations: 46.84 MB / 249.4 MB, free: 5.281 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08746/2.054, allocations: 44.51 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2947/2.348, allocations: 84.02 MB / 378 MB, free: 6.891 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/2.349, allocations: 85.14 kB / 378 MB, free: 6.879 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: 318 * Number of variables: 318 Notification: Performance of Generate backend data structure: time 0.1166/2.465, allocations: 28.83 MB / 406.9 MB, free: 11.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/2.466, allocations: 8 kB / 406.9 MB, free: 11.42 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005626/2.466, allocations: 158.2 kB / 407 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006547/2.473, allocations: 1.612 MB / 408.6 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.575e-05/2.473, allocations: 43.98 kB / 408.7 MB, free: 9.977 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002895/2.473, allocations: 75.12 kB / 408.8 MB, free: 9.906 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003975/2.477, allocations: 1.284 MB / 410 MB, free: 9.113 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004181/2.481, allocations: 1.512 MB / 411.5 MB, free: 7.988 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.689e-05/2.481, allocations: 0 / 411.5 MB, free: 7.988 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001822/2.482, allocations: 7.984 kB / 411.6 MB, free: 7.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.001e-05/2.482, allocations: 57.83 kB / 411.6 MB, free: 7.926 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01297/2.495, allocations: 4.632 MB / 416.2 MB, free: 4.379 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002144/2.497, allocations: 0.8351 MB / 417.1 MB, free: 3.797 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001529/2.498, allocations: 0.5531 MB / 417.6 MB, free: 3.406 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.127e-05/2.498, allocations: 8.594 kB / 417.6 MB, free: 3.398 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001294/2.5, allocations: 0.5376 MB / 418.2 MB, free: 2.996 MB / 314.7 MB Notification: Performance of pre-optimization done (n=79): time 3.687e-06/2.5, allocations: 0 / 418.2 MB, free: 2.996 MB / 314.7 MB Notification: Performance of matching and sorting (n=79): time 0.002931/2.503, allocations: 0.9274 MB / 419.1 MB, free: 2.301 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/2.503, allocations: 144.4 kB / 419.2 MB, free: 2.133 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001723/2.505, allocations: 0.6832 MB / 419.9 MB, free: 1.613 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001631/2.505, allocations: 48.36 kB / 420 MB, free: 1.566 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005783/2.505, allocations: 481.7 kB / 420.4 MB, free: 1.094 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003477/2.506, allocations: 220 kB / 420.7 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.858e-05/2.506, allocations: 0 / 420.7 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003288/2.506, allocations: 398.7 kB / 421.1 MB, free: 492 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/2.507, allocations: 401.8 kB / 421.4 MB, free: 88 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001329/2.509, allocations: 0.6163 MB / 422.1 MB, free: 15.38 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/2.51, allocations: 428.2 kB / 422.5 MB, free: 14.96 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/2.51, allocations: 4 kB / 422.5 MB, free: 14.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.003145/2.513, allocations: 1.131 MB / 423.6 MB, free: 13.81 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001058/2.514, allocations: 2.528 MB / 426.1 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/2.514, allocations: 8 kB / 426.1 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/2.515, allocations: 232.6 kB / 426.4 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/2.516, allocations: 147.7 kB / 426.5 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005423/2.522, allocations: 2.669 MB / 429.2 MB, free: 7.922 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/2.523, allocations: 135.4 kB / 429.3 MB, free: 7.789 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/2.524, allocations: 36 kB / 429.4 MB, free: 7.754 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/2.524, allocations: 4 kB / 429.4 MB, free: 7.75 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002931/2.527, allocations: 1.009 MB / 430.4 MB, free: 6.738 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/2.527, allocations: 4 kB / 430.4 MB, free: 6.734 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009343/2.528, allocations: 229.4 kB / 430.6 MB, free: 6.508 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/2.529, allocations: 143.8 kB / 430.7 MB, free: 6.367 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005376/2.534, allocations: 2.669 MB / 433.4 MB, free: 3.578 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/2.535, allocations: 111.6 kB / 433.5 MB, free: 3.469 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/2.536, allocations: 35.98 kB / 433.6 MB, free: 3.434 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 48 ($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,$PRE.rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[1].off,$PRE.rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[2].off,$PRE.rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[3].off,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.positiveThreshold[3].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.negativeThreshold[3].y,$PRE.pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[1].entryTime,$PRE.pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,$PRE.pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,$PRE.pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,$PRE.pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,$PRE.pulsem.twomPulse.timerNegative[3].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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 {3 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003804/2.536, allocations: 172.5 kB / 433.7 MB, free: 3.266 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002143/2.536, allocations: 90.95 kB / 433.8 MB, free: 3.176 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003836/2.537, allocations: 96.44 kB / 433.9 MB, free: 3.078 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/2.537, allocations: 8 kB / 433.9 MB, free: 3.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/2.537, allocations: 0 / 433.9 MB, free: 3.07 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/2.537, allocations: 3.984 kB / 433.9 MB, free: 3.066 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00697/2.544, allocations: 2.398 MB / 436.3 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/2.544, allocations: 0 / 436.3 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007123/2.544, allocations: 75.83 kB / 436.4 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008571/2.545, allocations: 208.7 kB / 436.6 MB, free: 368 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.827e-05/2.545, allocations: 12.12 kB / 436.6 MB, free: 356 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004739/2.55, allocations: 2.4 MB / 439 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/2.55, allocations: 0 / 439 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004376/2.555, allocations: 1.609 MB / 440.6 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005819/2.56, allocations: 2.542 MB / 443.2 MB, free: 9.617 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007441/2.561, allocations: 259.9 kB / 443.4 MB, free: 9.344 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000242/2.561, allocations: 19.98 kB / 443.4 MB, free: 9.324 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/2.563, allocations: 75.94 kB / 443.5 MB, free: 9.25 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003618/2.563, allocations: 84.45 kB / 443.6 MB, free: 9.168 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.341e-05/2.563, allocations: 27.98 kB / 443.6 MB, free: 9.141 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.001235/2.564, allocations: 0.4991 MB / 444.1 MB, free: 8.641 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004213/2.569, allocations: 0.5212 MB / 444.6 MB, free: 8.117 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 36 (pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.negativeThreshold[3].y,pulsem.twomPulse.positiveThreshold[3].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.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 6 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 56 * 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 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003451/2.569, allocations: 144.8 kB / 444.8 MB, free: 7.965 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004756/2.574, allocations: 1.769 MB / 446.5 MB, free: 6.172 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/2.574, allocations: 0 / 446.5 MB, free: 6.172 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001611/2.575, allocations: 0.6188 MB / 447.2 MB, free: 5.543 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/2.577, allocations: 167.4 kB / 447.3 MB, free: 5.379 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006475/2.583, allocations: 1.887 MB / 449.2 MB, free: 3.457 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002028/2.585, allocations: 1.452 MB / 450.7 MB, free: 1.977 MB / 346.7 MB Notification: Performance of SimCode: time 1.633e-06/2.585, allocations: 0 / 450.7 MB, free: 1.977 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R_res.mat does not exist to compare? outputFormat=mat