Running command: "" <> buildModelFMU(ModelicaTest.Electrical.PowerConverters.ThyristorBridge2mPulse_R,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Electrical_PowerConverters_ThyristorBridge2mPulse_R",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(ModelicaTest): time 2.253/2.253, allocations: 235 MB / 241.9 MB, free: 9.781 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1664/2.42, allocations: 57.2 MB / 299.1 MB, free: 484 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/2.686, allocations: 54.84 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.42/3.106, allocations: 95.19 MB / 449.2 MB, free: 32.13 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/3.106, allocations: 72.53 kB / 449.2 MB, free: 32.12 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 481 * Number of variables: 481 Notification: Performance of Generate backend data structure: time 0.1848/3.291, allocations: 40.15 MB / 489.4 MB, free: 26.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/3.291, allocations: 11.8 kB / 489.4 MB, free: 26.33 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001452/3.292, allocations: 242.3 kB / 489.6 MB, free: 26.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02537/3.318, allocations: 2.199 MB / 491.8 MB, free: 25.35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002067/3.318, allocations: 70.48 kB / 491.9 MB, free: 25.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008956/3.319, allocations: 113.2 kB / 492 MB, free: 25.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008777/3.328, allocations: 2.06 MB / 494.1 MB, free: 25.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00748/3.335, allocations: 2.362 MB / 496.4 MB, free: 24.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.032e-05/3.335, allocations: 3.938 kB / 496.4 MB, free: 24.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002808/3.336, allocations: 7.688 kB / 496.4 MB, free: 24.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.168e-05/3.336, allocations: 78.11 kB / 496.5 MB, free: 24.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02317/3.359, allocations: 7.109 MB / 0.4918 GB, free: 21.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00347/3.362, allocations: 1.498 MB / 0.4933 GB, free: 21.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002653/3.365, allocations: 1.171 MB / 0.4944 GB, free: 21.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.628e-05/3.365, allocations: 17.83 kB / 0.4944 GB, free: 21.19 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001877/3.367, allocations: 0.9162 MB / 0.4953 GB, free: 20.89 MB / 378.7 MB Notification: Performance of pre-optimization done (n=132): time 5.43e-06/3.367, allocations: 3.984 kB / 0.4953 GB, free: 20.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=132): time 0.005046/3.372, allocations: 1.766 MB / 0.4971 GB, free: 20.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/3.372, allocations: 233.1 kB / 0.4973 GB, free: 20.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002675/3.375, allocations: 1.049 MB / 0.4983 GB, free: 19.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004472/3.376, allocations: 62.39 kB / 0.4984 GB, free: 19.44 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008268/3.376, allocations: 0.6515 MB / 0.499 GB, free: 18.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006627/3.377, allocations: 374.8 kB / 0.4994 GB, free: 18.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/3.377, allocations: 0 / 0.4994 GB, free: 18.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/3.377, allocations: 365.8 kB / 0.4997 GB, free: 18.24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001872/3.379, allocations: 0.7028 MB / 0.5004 GB, free: 17.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002421/3.382, allocations: 1.008 MB / 0.5014 GB, free: 17.19 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002029/3.384, allocations: 0.7598 MB / 0.5021 GB, free: 16.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.029e-05/3.384, allocations: 5.984 kB / 0.5021 GB, free: 16.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005307/3.389, allocations: 2.043 MB / 0.5041 GB, free: 15.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004898/3.39, allocations: 2.443 MB / 0.5065 GB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.318e-05/3.39, allocations: 5.5 kB / 0.5065 GB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002363/3.392, allocations: 0.5709 MB / 0.5071 GB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001505/3.394, allocations: 185.4 kB / 0.5073 GB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01271/3.406, allocations: 5.572 MB / 0.5127 GB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002128/3.408, allocations: 179 kB / 0.5129 GB, free: 8.906 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001458/3.409, allocations: 48 kB / 0.5129 GB, free: 8.859 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/3.409, allocations: 4 kB / 0.5129 GB, free: 8.855 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004202/3.413, allocations: 1.884 MB / 0.5148 GB, free: 6.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/3.413, allocations: 7.984 kB / 0.5148 GB, free: 6.957 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001977/3.415, allocations: 0.5752 MB / 0.5153 GB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/3.416, allocations: 179.6 kB / 0.5155 GB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01154/3.428, allocations: 5.57 MB / 0.5209 GB, free: 0.5195 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002147/3.43, allocations: 151.1 kB / 0.5211 GB, free: 380 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001762/3.43, allocations: 48 kB / 0.5211 GB, free: 332 kB / 378.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 38} Notification: Performance of prepare postOptimizeDAE: time 0.0005065/3.431, allocations: 193.4 kB / 0.5213 GB, free: 124 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000344/3.431, allocations: 134.5 kB / 0.5214 GB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006609/3.432, allocations: 169.5 kB / 0.5216 GB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.968e-05/3.432, allocations: 12 kB / 0.5216 GB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.597e-05/3.432, allocations: 0 / 0.5216 GB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.921e-05/3.432, allocations: 7.969 kB / 0.5216 GB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01055/3.442, allocations: 3.719 MB / 0.5253 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.709e-06/3.442, allocations: 0 / 0.5253 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000859/3.443, allocations: 99.73 kB / 0.5253 GB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002249/3.446, allocations: 0.5398 MB / 0.5259 GB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001457/3.446, allocations: 11.98 kB / 0.5259 GB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01467/3.46, allocations: 5.384 MB / 0.5311 GB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.358e-06/3.46, allocations: 0 / 0.5311 GB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01037/3.471, allocations: 2.74 MB / 0.5338 GB, free: 3.145 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009722/3.481, allocations: 4.11 MB / 0.5378 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001413/3.482, allocations: 379.2 kB / 0.5382 GB, free: 14.63 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005146/3.483, allocations: 27.97 kB / 0.5382 GB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001716/3.484, allocations: 103.9 kB / 0.5383 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005572/3.485, allocations: 133 kB / 0.5384 GB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001332/3.485, allocations: 35.98 kB / 0.5385 GB, free: 14.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.001931/3.487, allocations: 0.769 MB / 0.5392 GB, free: 13.56 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005884/3.493, allocations: 0.8524 MB / 0.5401 GB, free: 12.7 MB / 410.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: 48 (pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].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[1].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 79 * 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 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006122/3.494, allocations: 193.2 kB / 0.5403 GB, free: 12.51 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00929/3.503, allocations: 3.083 MB / 0.5433 GB, free: 9.406 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/3.503, allocations: 0 / 0.5433 GB, free: 9.406 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003066/3.506, allocations: 1.015 MB / 0.5443 GB, free: 8.383 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002776/3.509, allocations: 302.1 kB / 0.5445 GB, free: 8.086 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01168/3.521, allocations: 3.094 MB / 0.5476 GB, free: 4.938 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003244/3.524, allocations: 1.896 MB / 0.5494 GB, free: 3.008 MB / 410.7 MB Notification: Performance of SimCode: time 1.373e-06/3.524, allocations: 4 kB / 0.5494 GB, free: 3.004 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Electrical.PowerConverters.ThyristorBridge2mPulse_R_res.mat does not exist to compare? outputFormat=mat