Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_ThyristorBridge2mPulse_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.82/1.82, allocations: 194.9 MB / 202.6 MB, free: 6.898 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2509/2.071, allocations: 46.84 MB / 249.4 MB, free: 5.328 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09153/2.162, allocations: 44.5 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3217/2.484, allocations: 87.16 MB / 381.1 MB, free: 6.043 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003297/2.484, allocations: 88.59 kB / 381.2 MB, free: 6.027 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: 450 * Number of variables: 450 Notification: Performance of Generate backend data structure: time 0.1772/2.662, allocations: 37.99 MB / 419.2 MB, free: 1.512 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/2.662, allocations: 8 kB / 419.2 MB, free: 1.504 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00139/2.663, allocations: 229.3 kB / 419.4 MB, free: 1.277 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009738/2.673, allocations: 2.064 MB / 421.5 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001855/2.673, allocations: 67.58 kB / 421.5 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008978/2.674, allocations: 108 kB / 421.6 MB, free: 15.54 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007473/2.682, allocations: 1.87 MB / 423.5 MB, free: 14.39 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009257/2.691, allocations: 2.16 MB / 425.7 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001025/2.691, allocations: 3.984 kB / 425.7 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000673/2.692, allocations: 8.562 kB / 425.7 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001635/2.692, allocations: 73.84 kB / 425.7 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0242/2.716, allocations: 6.575 MB / 432.3 MB, free: 6.176 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004958/2.721, allocations: 1.477 MB / 433.8 MB, free: 4.703 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003044/2.724, allocations: 0.954 MB / 434.7 MB, free: 3.742 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001583/2.724, allocations: 9 kB / 434.8 MB, free: 3.734 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00283/2.727, allocations: 0.8389 MB / 435.6 MB, free: 2.875 MB / 330.7 MB Notification: Performance of pre-optimization done (n=126): time 6.121e-06/2.727, allocations: 0 / 435.6 MB, free: 2.875 MB / 330.7 MB Notification: Performance of matching and sorting (n=126): time 0.006018/2.733, allocations: 1.584 MB / 437.2 MB, free: 1.285 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001515/2.734, allocations: 153.5 kB / 437.3 MB, free: 1.105 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002913/2.736, allocations: 0.9133 MB / 438.2 MB, free: 176 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004662/2.737, allocations: 53.67 kB / 438.3 MB, free: 116 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001129/2.738, allocations: 0.5959 MB / 438.9 MB, free: 15.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008321/2.739, allocations: 362.1 kB / 439.2 MB, free: 15.16 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/2.739, allocations: 0 / 439.2 MB, free: 15.16 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002516/2.739, allocations: 361.9 kB / 439.6 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002192/2.742, allocations: 0.6495 MB / 440.2 MB, free: 14.15 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002634/2.744, allocations: 0.9136 MB / 441.2 MB, free: 13.14 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002325/2.747, allocations: 0.6974 MB / 441.9 MB, free: 12.44 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.15e-05/2.747, allocations: 0 / 441.9 MB, free: 12.44 MB / 346.7 MB Notification: Performance of matching and sorting (n=171) (initialization): time 0.006532/2.753, allocations: 1.869 MB / 443.7 MB, free: 10.56 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001151/2.755, allocations: 2.439 MB / 446.2 MB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.473e-05/2.755, allocations: 8 kB / 446.2 MB, free: 7.926 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00251/2.757, allocations: 0.4979 MB / 446.7 MB, free: 7.426 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001802/2.759, allocations: 179.7 kB / 446.8 MB, free: 7.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01308/2.772, allocations: 4.723 MB / 451.6 MB, free: 2.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00234/2.775, allocations: 151.1 kB / 451.7 MB, free: 2.262 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004218/2.775, allocations: 55.89 kB / 451.8 MB, free: 2.207 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/2.775, allocations: 4 kB / 451.8 MB, free: 2.203 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006044/2.781, allocations: 1.707 MB / 453.5 MB, free: 500 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.101e-05/2.781, allocations: 8 kB / 453.5 MB, free: 492 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002305/2.784, allocations: 0.4937 MB / 454 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001761/2.785, allocations: 187.5 kB / 454.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01304/2.798, allocations: 4.712 MB / 458.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002252/2.801, allocations: 139.2 kB / 459 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004276/2.801, allocations: 44 kB / 459.1 MB, free: 10.79 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 (138): * Single equations (assignments): 137 * 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.0006718/2.802, allocations: 193.2 kB / 459.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005146/2.803, allocations: 122.5 kB / 459.4 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008453/2.803, allocations: 144.6 kB / 459.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.07e-05/2.803, allocations: 12 kB / 459.5 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/2.803, allocations: 4 kB / 459.5 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-05/2.803, allocations: 7.969 kB / 459.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01197/2.815, allocations: 3.312 MB / 462.8 MB, free: 6.961 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/2.816, allocations: 0 / 462.8 MB, free: 6.961 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001478/2.817, allocations: 119.8 kB / 463 MB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002312/2.819, allocations: 473.1 kB / 463.4 MB, free: 6.379 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003265/2.82, allocations: 7.984 kB / 463.4 MB, free: 6.371 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01245/2.832, allocations: 4.589 MB / 468 MB, free: 1.672 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/2.832, allocations: 0 / 468 MB, free: 1.672 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008134/2.84, allocations: 2.591 MB / 470.6 MB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01106/2.852, allocations: 3.929 MB / 474.5 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001518/2.853, allocations: 363.3 kB / 474.9 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006661/2.854, allocations: 23.98 kB / 474.9 MB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002062/2.856, allocations: 99.91 kB / 475 MB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007984/2.857, allocations: 124.8 kB / 475.1 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002239/2.857, allocations: 39.92 kB / 475.2 MB, free: 10.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.002035/2.859, allocations: 0.6725 MB / 475.8 MB, free: 9.777 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.007127/2.866, allocations: 0.7744 MB / 476.6 MB, free: 9 MB / 378.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_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 83 * 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.0008298/2.867, allocations: 200.5 kB / 476.8 MB, free: 8.801 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.009745/2.877, allocations: 2.848 MB / 479.7 MB, free: 5.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/2.877, allocations: 4.312 kB / 479.7 MB, free: 5.926 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003394/2.88, allocations: 0.9499 MB / 480.6 MB, free: 4.969 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002992/2.884, allocations: 263.2 kB / 480.9 MB, free: 4.711 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01344/2.897, allocations: 2.922 MB / 483.8 MB, free: 1.746 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004268/2.901, allocations: 1.794 MB / 485.6 MB, free: 15.92 MB / 394.7 MB Notification: Performance of SimCode: time 1.833e-06/2.901, allocations: 0 / 485.6 MB, free: 15.92 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat