Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_ThyristorBridge2mPulse_RLV",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.847/1.847, allocations: 194.9 MB / 202.5 MB, free: 13.91 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1497/1.997, allocations: 46.83 MB / 249.4 MB, free: 14.98 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/2.241, allocations: 44.5 MB / 293.9 MB, free: 14.45 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1685/2.409, allocations: 86.61 MB / 380.5 MB, free: 11.42 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003405/2.41, allocations: 91.94 kB / 380.6 MB, free: 11.33 MB / 330.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.1747/2.585, allocations: 37.5 MB / 418.1 MB, free: 5.523 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/2.585, allocations: 8 kB / 418.1 MB, free: 5.516 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/2.586, allocations: 221.4 kB / 418.3 MB, free: 5.297 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008628/2.594, allocations: 2.072 MB / 420.3 MB, free: 3.184 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001383/2.595, allocations: 63.98 kB / 420.4 MB, free: 3.121 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006549/2.595, allocations: 104 kB / 420.5 MB, free: 3.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00644/2.602, allocations: 1.865 MB / 422.4 MB, free: 1.152 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1251/2.727, allocations: 2.153 MB / 424.5 MB, free: 128 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.329e-05/2.727, allocations: 0.9375 kB / 424.5 MB, free: 128 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002358/2.727, allocations: 14.98 kB / 424.5 MB, free: 128 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-05/2.727, allocations: 78.05 kB / 424.6 MB, free: 128 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01632/2.744, allocations: 6.537 MB / 431.2 MB, free: 126.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003094/2.747, allocations: 1.354 MB / 432.5 MB, free: 126.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002019/2.749, allocations: 0.9344 MB / 433.4 MB, free: 126.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.998e-05/2.749, allocations: 15.19 kB / 433.5 MB, free: 126.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001712/2.751, allocations: 0.8222 MB / 434.3 MB, free: 126.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=123): time 4.298e-06/2.751, allocations: 3.844 kB / 434.3 MB, free: 126.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=123): time 0.004134/2.755, allocations: 1.574 MB / 435.9 MB, free: 126.6 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.051e-05/2.755, allocations: 154.8 kB / 436 MB, free: 126.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001931/2.757, allocations: 0.9187 MB / 436.9 MB, free: 126.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003049/2.757, allocations: 56.83 kB / 437 MB, free: 126.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005702/2.758, allocations: 0.602 MB / 437.6 MB, free: 125.9 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004263/2.758, allocations: 351.9 kB / 437.9 MB, free: 125.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-05/2.758, allocations: 0 / 437.9 MB, free: 125.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/2.759, allocations: 369.2 kB / 438.3 MB, free: 125.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001524/2.76, allocations: 0.643 MB / 438.9 MB, free: 125.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001775/2.762, allocations: 0.9062 MB / 439.8 MB, free: 125.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001601/2.763, allocations: 0.6916 MB / 440.5 MB, free: 125.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/2.764, allocations: 0 / 440.5 MB, free: 125.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.004393/2.768, allocations: 1.863 MB / 442.4 MB, free: 124.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005049/2.768, allocations: 2.446 MB / 444.8 MB, free: 122.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-05/2.769, allocations: 3.406 kB / 444.8 MB, free: 122.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001845/2.77, allocations: 0.4945 MB / 445.3 MB, free: 122.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/2.772, allocations: 178.6 kB / 445.5 MB, free: 122 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0094/2.781, allocations: 4.701 MB / 450.2 MB, free: 119.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001903/2.783, allocations: 155.9 kB / 450.4 MB, free: 119.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001717/2.783, allocations: 48.94 kB / 450.4 MB, free: 119.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/2.783, allocations: 6.438 kB / 450.4 MB, free: 119.3 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003927/2.787, allocations: 1.703 MB / 452.1 MB, free: 118.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.532e-05/2.787, allocations: 13.5 kB / 452.1 MB, free: 118.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001689/2.789, allocations: 496.1 kB / 452.6 MB, free: 118.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/2.79, allocations: 178.6 kB / 452.8 MB, free: 118.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009171/2.8, allocations: 4.702 MB / 457.5 MB, free: 115.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00284/2.803, allocations: 140.8 kB / 457.6 MB, free: 115.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003092/2.803, allocations: 49.69 kB / 457.7 MB, free: 115.9 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 69 ($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,$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,$PRE.rectifier.pre_p[1].u,rectifier.pre_p[1].u,rectifier.pre_p[1].y,$PRE.rectifier.pre_p[2].u,rectifier.pre_p[2].u,rectifier.pre_p[2].y,$PRE.rectifier.pre_p[3].u,rectifier.pre_p[3].u,rectifier.pre_p[3].y,$PRE.rectifier.pre_n[1].u,rectifier.pre_n[1].u,rectifier.pre_n[1].y,$PRE.rectifier.pre_n[2].u,rectifier.pre_n[2].u,rectifier.pre_n[2].y,$PRE.rectifier.pre_n[3].u,rectifier.pre_n[3].u,rectifier.pre_n[3].y,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 (137): * Single equations (assignments): 136 * 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 28} Notification: Performance of prepare postOptimizeDAE: time 0.0004612/2.803, allocations: 184.3 kB / 457.9 MB, free: 115.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003401/2.804, allocations: 128.1 kB / 458 MB, free: 115.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005051/2.804, allocations: 139.4 kB / 458.1 MB, free: 115.6 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/2.804, allocations: 18.94 kB / 458.1 MB, free: 115.6 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/2.804, allocations: 3.844 kB / 458.2 MB, free: 115.6 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/2.804, allocations: 7.5 kB / 458.2 MB, free: 115.6 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008015/2.812, allocations: 3.272 MB / 461.4 MB, free: 114.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.988e-06/2.812, allocations: 0 / 461.4 MB, free: 114.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001445/2.814, allocations: 103.5 kB / 461.5 MB, free: 114.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002912/2.817, allocations: 470 kB / 462 MB, free: 114.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003851/2.817, allocations: 6 kB / 462 MB, free: 114.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01302/2.83, allocations: 4.589 MB / 466.6 MB, free: 111.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.423e-06/2.83, allocations: 0 / 466.6 MB, free: 111.5 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005969/2.836, allocations: 2.552 MB / 469.1 MB, free: 110.4 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007487/2.844, allocations: 3.868 MB / 473 MB, free: 107.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/2.845, allocations: 361.1 kB / 473.4 MB, free: 107.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003527/2.845, allocations: 27.17 kB / 473.4 MB, free: 107.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/2.847, allocations: 90.12 kB / 473.5 MB, free: 107.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004179/2.847, allocations: 122.6 kB / 473.6 MB, free: 107.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/2.847, allocations: 35.84 kB / 473.6 MB, free: 107.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.00135/2.849, allocations: 0.6707 MB / 474.3 MB, free: 106.7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00502/2.854, allocations: 0.7626 MB / 475.1 MB, free: 105.9 MB / 362.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: 48 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,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,rectifier.pre_p[1].u,rectifier.pre_p[1].y,rectifier.pre_p[2].u,rectifier.pre_p[2].y,rectifier.pre_p[3].u,rectifier.pre_p[3].y,rectifier.pre_n[1].u,rectifier.pre_n[1].y,rectifier.pre_n[2].u,rectifier.pre_n[2].y,rectifier.pre_n[3].u,rectifier.pre_n[3].y,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: 15 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.pre_n[3].u,rectifier.pre_n[2].u,rectifier.pre_n[1].u,rectifier.pre_p[3].u,rectifier.pre_p[2].u,rectifier.pre_p[1].u,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 80 * 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 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004613/2.854, allocations: 183.5 kB / 475.2 MB, free: 105.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006743/2.861, allocations: 2.824 MB / 478.1 MB, free: 103.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/2.861, allocations: 3.281 kB / 478.1 MB, free: 103.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002358/2.863, allocations: 0.9548 MB / 479 MB, free: 102.4 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002239/2.866, allocations: 265.8 kB / 479.3 MB, free: 102.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009501/2.875, allocations: 2.867 MB / 482.1 MB, free: 99.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00232/2.878, allocations: 1.79 MB / 483.9 MB, free: 98.12 MB / 362.7 MB Notification: Performance of SimCode: time 1.844e-06/2.878, allocations: 0 / 483.9 MB, free: 98.12 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV_res.mat does not exist to compare? outputFormat=mat