Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RL",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.644/1.644, allocations: 194.9 MB / 202.6 MB, free: 6.902 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2163/1.861, allocations: 46.84 MB / 249.4 MB, free: 5.297 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.089/1.95, allocations: 44.5 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2868/2.236, allocations: 84.33 MB / 378.3 MB, free: 6.766 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/2.237, allocations: 85.14 kB / 378.3 MB, free: 6.754 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.1178/2.355, allocations: 29.16 MB / 407.5 MB, free: 10.92 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/2.355, allocations: 12 kB / 407.5 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005728/2.355, allocations: 162.1 kB / 407.7 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00635/2.362, allocations: 1.624 MB / 409.3 MB, free: 9.492 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.662e-05/2.362, allocations: 51.56 kB / 409.3 MB, free: 9.445 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002902/2.362, allocations: 72 kB / 409.4 MB, free: 9.375 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003879/2.366, allocations: 1.3 MB / 410.7 MB, free: 8.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004063/2.37, allocations: 1.525 MB / 412.2 MB, free: 7.438 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.76e-05/2.37, allocations: 7.938 kB / 412.3 MB, free: 7.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001804/2.37, allocations: 7.672 kB / 412.3 MB, free: 7.426 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.57e-05/2.37, allocations: 54.52 kB / 412.3 MB, free: 7.371 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0132/2.384, allocations: 4.71 MB / 417 MB, free: 3.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002143/2.386, allocations: 0.8579 MB / 417.9 MB, free: 3.152 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001471/2.387, allocations: 0.5436 MB / 418.4 MB, free: 2.77 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.441e-05/2.387, allocations: 16 kB / 418.4 MB, free: 2.758 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001255/2.389, allocations: 0.5404 MB / 419 MB, free: 2.348 MB / 314.7 MB Notification: Performance of pre-optimization done (n=81): time 3.657e-06/2.389, allocations: 0 / 419 MB, free: 2.348 MB / 314.7 MB Notification: Performance of matching and sorting (n=81): time 0.00291/2.392, allocations: 0.9225 MB / 419.9 MB, free: 1.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/2.392, allocations: 152.3 kB / 420.1 MB, free: 1.484 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001793/2.394, allocations: 0.6943 MB / 420.7 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002799/2.394, allocations: 41.69 kB / 420.8 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007524/2.395, allocations: 494.3 kB / 421.3 MB, free: 368 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004701/2.395, allocations: 220.8 kB / 421.5 MB, free: 148 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.491e-05/2.395, allocations: 0 / 421.5 MB, free: 148 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000327/2.396, allocations: 402.7 kB / 421.9 MB, free: 15.74 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001291/2.397, allocations: 401.8 kB / 422.3 MB, free: 15.35 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001344/2.398, allocations: 0.6241 MB / 422.9 MB, free: 14.63 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/2.399, allocations: 432.2 kB / 423.3 MB, free: 14.21 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/2.399, allocations: 4 kB / 423.3 MB, free: 14.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003421/2.403, allocations: 1.138 MB / 424.5 MB, free: 13.05 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001427/2.404, allocations: 2.532 MB / 427 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.161e-05/2.404, allocations: 8 kB / 427 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001323/2.406, allocations: 222.2 kB / 427.2 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001612/2.407, allocations: 147.7 kB / 427.4 MB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005317/2.413, allocations: 2.552 MB / 429.9 MB, free: 7.289 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/2.414, allocations: 131.3 kB / 430 MB, free: 7.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/2.415, allocations: 36 kB / 430.1 MB, free: 7.125 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.187e-06/2.415, allocations: 4 kB / 430.1 MB, free: 7.121 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002802/2.417, allocations: 1.021 MB / 431.1 MB, free: 6.098 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/2.417, allocations: 8 kB / 431.1 MB, free: 6.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008645/2.418, allocations: 228.9 kB / 431.3 MB, free: 5.863 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/2.419, allocations: 139.8 kB / 431.5 MB, free: 5.727 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00481/2.424, allocations: 2.545 MB / 434 MB, free: 3.059 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/2.426, allocations: 111.4 kB / 434.1 MB, free: 2.949 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/2.426, allocations: 36 kB / 434.2 MB, free: 2.914 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 (106): * Single equations (assignments): 105 * 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.0004088/2.426, allocations: 180.6 kB / 434.3 MB, free: 2.738 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000233/2.427, allocations: 82.97 kB / 434.4 MB, free: 2.656 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004747/2.427, allocations: 100.4 kB / 434.5 MB, free: 2.555 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/2.427, allocations: 15.88 kB / 434.5 MB, free: 2.539 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/2.427, allocations: 0 / 434.5 MB, free: 2.539 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-05/2.427, allocations: 8.078 kB / 434.5 MB, free: 2.531 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006495/2.434, allocations: 2.295 MB / 436.8 MB, free: 204 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.938e-06/2.434, allocations: 7.938 kB / 436.8 MB, free: 196 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007937/2.435, allocations: 71.91 kB / 436.9 MB, free: 124 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008393/2.435, allocations: 204.8 kB / 437.1 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.913e-05/2.435, allocations: 7.984 kB / 437.1 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004692/2.44, allocations: 2.469 MB / 439.6 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/2.44, allocations: 0 / 439.6 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004083/2.444, allocations: 1.605 MB / 441.2 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005574/2.45, allocations: 2.535 MB / 443.7 MB, free: 9.098 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007543/2.451, allocations: 255.9 kB / 444 MB, free: 8.828 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002419/2.451, allocations: 15.98 kB / 444 MB, free: 8.812 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/2.452, allocations: 79.92 kB / 444.1 MB, free: 8.734 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003525/2.453, allocations: 84.44 kB / 444.2 MB, free: 8.652 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.375e-05/2.453, allocations: 23.98 kB / 444.2 MB, free: 8.629 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.001169/2.454, allocations: 0.5108 MB / 444.7 MB, free: 8.117 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004309/2.458, allocations: 0.529 MB / 445.2 MB, free: 7.586 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[2].off,rectifier.thyristor.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 59 * 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.0003514/2.458, allocations: 148.8 kB / 445.4 MB, free: 7.434 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004687/2.463, allocations: 1.769 MB / 447.1 MB, free: 5.648 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/2.463, allocations: 0.6875 kB / 447.1 MB, free: 5.648 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001678/2.465, allocations: 0.66 MB / 447.8 MB, free: 4.98 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/2.466, allocations: 155.1 kB / 447.9 MB, free: 4.828 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006682/2.473, allocations: 1.972 MB / 449.9 MB, free: 2.816 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002119/2.475, allocations: 1.459 MB / 451.4 MB, free: 1.328 MB / 346.7 MB Notification: Performance of SimCode: time 1.322e-06/2.475, allocations: 0 / 451.4 MB, free: 1.328 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_RL_res.mat does not exist to compare? outputFormat=mat