Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_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.694/1.694, allocations: 194.9 MB / 202.6 MB, free: 6.879 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.222/1.916, allocations: 46.85 MB / 249.4 MB, free: 5.254 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09001/2.006, allocations: 44.5 MB / 293.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2968/2.303, allocations: 84.8 MB / 378.7 MB, free: 6.676 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003088/2.303, allocations: 81.05 kB / 378.8 MB, free: 6.664 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: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.1242/2.427, allocations: 29.62 MB / 408.4 MB, free: 10.17 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/2.427, allocations: 8 kB / 408.4 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007418/2.428, allocations: 166 kB / 408.6 MB, free: 10 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006976/2.435, allocations: 1.618 MB / 410.2 MB, free: 8.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/2.435, allocations: 47.81 kB / 410.3 MB, free: 8.707 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003311/2.436, allocations: 79.98 kB / 410.3 MB, free: 8.629 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004514/2.44, allocations: 1.32 MB / 411.7 MB, free: 7.812 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004584/2.445, allocations: 1.543 MB / 413.2 MB, free: 6.668 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.464e-05/2.445, allocations: 3.906 kB / 413.2 MB, free: 6.664 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001933/2.445, allocations: 4 kB / 413.2 MB, free: 6.66 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.851e-05/2.445, allocations: 58.5 kB / 413.3 MB, free: 6.602 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01415/2.459, allocations: 4.788 MB / 418.1 MB, free: 2.922 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002861/2.462, allocations: 0.9745 MB / 419 MB, free: 2.227 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001628/2.464, allocations: 0.5723 MB / 419.6 MB, free: 1.828 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.314e-05/2.464, allocations: 8.656 kB / 419.6 MB, free: 1.82 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001453/2.466, allocations: 0.5469 MB / 420.2 MB, free: 1.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=85): time 4.748e-06/2.466, allocations: 4 kB / 420.2 MB, free: 1.406 MB / 314.7 MB Notification: Performance of matching and sorting (n=85): time 0.003149/2.469, allocations: 0.9651 MB / 421.1 MB, free: 0.625 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/2.469, allocations: 149.3 kB / 421.3 MB, free: 460 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001696/2.471, allocations: 0.6752 MB / 421.9 MB, free: 15.77 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002135/2.471, allocations: 45.69 kB / 422 MB, free: 15.71 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006125/2.471, allocations: 498.7 kB / 422.5 MB, free: 15.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000368/2.472, allocations: 236.5 kB / 422.7 MB, free: 15 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.254e-05/2.472, allocations: 0 / 422.7 MB, free: 15 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002561/2.472, allocations: 402.7 kB / 423.1 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/2.473, allocations: 409.8 kB / 423.5 MB, free: 14.19 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001389/2.475, allocations: 0.6281 MB / 424.1 MB, free: 13.47 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/2.476, allocations: 436.2 kB / 424.6 MB, free: 13.04 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/2.476, allocations: 0 / 424.6 MB, free: 13.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003297/2.479, allocations: 1.154 MB / 425.7 MB, free: 11.88 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001056/2.48, allocations: 2.531 MB / 428.2 MB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/2.48, allocations: 4 kB / 428.2 MB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009882/2.481, allocations: 220.7 kB / 428.5 MB, free: 8.926 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/2.483, allocations: 167.7 kB / 428.6 MB, free: 8.762 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00499/2.488, allocations: 2.552 MB / 431.2 MB, free: 6.094 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/2.49, allocations: 127.3 kB / 431.3 MB, free: 5.969 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/2.49, allocations: 36 kB / 431.3 MB, free: 5.934 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/2.49, allocations: 4 kB / 431.3 MB, free: 5.93 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002992/2.493, allocations: 1.037 MB / 432.4 MB, free: 4.891 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/2.493, allocations: 7.938 kB / 432.4 MB, free: 4.883 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008692/2.494, allocations: 216.8 kB / 432.6 MB, free: 4.668 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/2.495, allocations: 163.7 kB / 432.8 MB, free: 4.508 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004885/2.5, allocations: 2.548 MB / 435.3 MB, free: 1.844 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/2.501, allocations: 119.3 kB / 435.4 MB, free: 1.727 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/2.502, allocations: 36 kB / 435.5 MB, free: 1.691 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 (108): * Single equations (assignments): 107 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004031/2.502, allocations: 177 kB / 435.6 MB, free: 1.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002196/2.502, allocations: 82.97 kB / 435.7 MB, free: 1.438 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004362/2.503, allocations: 100.6 kB / 435.8 MB, free: 1.336 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/2.503, allocations: 11.91 kB / 435.8 MB, free: 1.324 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/2.503, allocations: 0 / 435.8 MB, free: 1.324 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.781e-05/2.503, allocations: 7.984 kB / 435.8 MB, free: 1.316 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006596/2.509, allocations: 2.349 MB / 438.2 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/2.509, allocations: 0 / 438.2 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/2.51, allocations: 103.9 kB / 438.3 MB, free: 14.83 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008637/2.511, allocations: 204.7 kB / 438.5 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/2.511, allocations: 8 kB / 438.5 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004777/2.516, allocations: 2.463 MB / 440.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/2.516, allocations: 0 / 440.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004606/2.521, allocations: 1.656 MB / 442.6 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00589/2.527, allocations: 2.611 MB / 445.2 MB, free: 7.684 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008026/2.528, allocations: 263.8 kB / 445.5 MB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002474/2.528, allocations: 15.98 kB / 445.5 MB, free: 7.391 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/2.529, allocations: 83.92 kB / 445.6 MB, free: 7.309 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003817/2.53, allocations: 88.64 kB / 445.7 MB, free: 7.223 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.72e-05/2.53, allocations: 31.98 kB / 445.7 MB, free: 7.191 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.001165/2.531, allocations: 0.4913 MB / 446.2 MB, free: 6.699 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004445/2.535, allocations: 0.5447 MB / 446.7 MB, free: 6.152 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * 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 (73): * Single equations (assignments): 63 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003696/2.536, allocations: 156.8 kB / 446.9 MB, free: 5.992 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004834/2.541, allocations: 1.807 MB / 448.7 MB, free: 4.164 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/2.541, allocations: 4 kB / 448.7 MB, free: 4.16 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001747/2.542, allocations: 0.657 MB / 449.3 MB, free: 3.496 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/2.544, allocations: 155 kB / 449.5 MB, free: 3.344 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007121/2.551, allocations: 2.028 MB / 451.5 MB, free: 1.273 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002103/2.553, allocations: 1.467 MB / 453 MB, free: 15.78 MB / 362.7 MB Notification: Performance of SimCode: time 1.222e-06/2.553, allocations: 0 / 453 MB, free: 15.78 MB / 362.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_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat