Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_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.696/1.696, allocations: 194.9 MB / 202.5 MB, free: 6.902 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2676/1.964, allocations: 46.84 MB / 249.4 MB, free: 5.363 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/2.084, allocations: 44.49 MB / 293.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3062/2.39, allocations: 84.58 MB / 378.4 MB, free: 6.75 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003883/2.391, allocations: 88.97 kB / 378.5 MB, free: 6.734 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: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.1145/2.505, allocations: 29.46 MB / 408 MB, free: 10.51 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/2.505, allocations: 8 kB / 408 MB, free: 10.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005941/2.506, allocations: 162 kB / 408.1 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006382/2.512, allocations: 1.633 MB / 409.8 MB, free: 9.082 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/2.512, allocations: 51.17 kB / 409.8 MB, free: 9.035 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003077/2.513, allocations: 76 kB / 409.9 MB, free: 8.961 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004103/2.517, allocations: 1.303 MB / 411.2 MB, free: 8.156 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004636/2.521, allocations: 1.536 MB / 412.7 MB, free: 7.016 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.983e-05/2.522, allocations: 0 / 412.7 MB, free: 7.016 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001772/2.522, allocations: 7.984 kB / 412.8 MB, free: 7.008 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-05/2.522, allocations: 62.39 kB / 412.8 MB, free: 6.949 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01403/2.536, allocations: 4.764 MB / 417.6 MB, free: 3.285 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002159/2.538, allocations: 0.8578 MB / 418.4 MB, free: 2.699 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001529/2.54, allocations: 0.5494 MB / 419 MB, free: 2.309 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.347e-05/2.54, allocations: 12.66 kB / 419 MB, free: 2.297 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001312/2.541, allocations: 0.5402 MB / 419.5 MB, free: 1.891 MB / 314.7 MB Notification: Performance of pre-optimization done (n=82): time 3.306e-06/2.541, allocations: 8 kB / 419.5 MB, free: 1.883 MB / 314.7 MB Notification: Performance of matching and sorting (n=82): time 0.002901/2.544, allocations: 0.9341 MB / 420.5 MB, free: 1.188 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/2.544, allocations: 141.2 kB / 420.6 MB, free: 1.02 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/2.546, allocations: 0.6951 MB / 421.3 MB, free: 372 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002181/2.546, allocations: 45.67 kB / 421.4 MB, free: 320 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008135/2.547, allocations: 499.1 kB / 421.8 MB, free: 15.82 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005959/2.548, allocations: 228.6 kB / 422.1 MB, free: 15.6 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.16e-05/2.548, allocations: 0 / 422.1 MB, free: 15.6 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003156/2.548, allocations: 398.7 kB / 422.5 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/2.549, allocations: 409.8 kB / 422.9 MB, free: 14.8 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001268/2.55, allocations: 0.6241 MB / 423.5 MB, free: 14.08 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/2.551, allocations: 432.3 kB / 423.9 MB, free: 13.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.954e-06/2.552, allocations: 0 / 423.9 MB, free: 13.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003101/2.555, allocations: 1.15 MB / 425.1 MB, free: 12.5 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001145/2.556, allocations: 2.532 MB / 427.6 MB, free: 9.766 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.317e-05/2.556, allocations: 7.906 kB / 427.6 MB, free: 9.758 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009944/2.557, allocations: 221.4 kB / 427.8 MB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/2.558, allocations: 155.7 kB / 428 MB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005028/2.563, allocations: 2.552 MB / 430.5 MB, free: 6.719 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/2.565, allocations: 135.2 kB / 430.6 MB, free: 6.586 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/2.565, allocations: 36 kB / 430.7 MB, free: 6.551 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/2.565, allocations: 4 kB / 430.7 MB, free: 6.547 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002801/2.568, allocations: 1.021 MB / 431.7 MB, free: 5.523 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/2.568, allocations: 4 kB / 431.7 MB, free: 5.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008457/2.569, allocations: 228.8 kB / 431.9 MB, free: 5.293 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/2.57, allocations: 139.8 kB / 432.1 MB, free: 5.156 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004906/2.575, allocations: 2.558 MB / 434.6 MB, free: 2.484 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/2.576, allocations: 115.4 kB / 434.7 MB, free: 2.371 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001687/2.577, allocations: 43.92 kB / 434.8 MB, free: 2.328 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 (107): * Single equations (assignments): 106 * 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.0004175/2.577, allocations: 164.7 kB / 434.9 MB, free: 2.168 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003023/2.577, allocations: 90.95 kB / 435 MB, free: 2.078 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003942/2.578, allocations: 96.64 kB / 435.1 MB, free: 1.98 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/2.578, allocations: 12 kB / 435.1 MB, free: 1.969 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/2.578, allocations: 0 / 435.1 MB, free: 1.969 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/2.578, allocations: 3.984 kB / 435.1 MB, free: 1.965 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006652/2.584, allocations: 2.319 MB / 437.5 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.788e-06/2.584, allocations: 0 / 437.5 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007909/2.585, allocations: 79.97 kB / 437.5 MB, free: 15.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007883/2.586, allocations: 192.7 kB / 437.7 MB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001202/2.586, allocations: 11.98 kB / 437.7 MB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00478/2.591, allocations: 2.463 MB / 440.2 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/2.591, allocations: 0 / 440.2 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004132/2.595, allocations: 1.612 MB / 441.8 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00547/2.601, allocations: 2.55 MB / 444.4 MB, free: 8.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008161/2.602, allocations: 255.9 kB / 444.6 MB, free: 8.23 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002515/2.602, allocations: 15.89 kB / 444.6 MB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/2.603, allocations: 84.2 kB / 444.7 MB, free: 8.133 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003929/2.604, allocations: 80.53 kB / 444.8 MB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.316e-05/2.604, allocations: 23.98 kB / 444.8 MB, free: 8.031 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.001217/2.605, allocations: 0.5108 MB / 445.3 MB, free: 7.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004727/2.61, allocations: 0.5367 MB / 445.9 MB, free: 6.98 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 (70): * Single equations (assignments): 60 * 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.0004619/2.61, allocations: 152.3 kB / 446 MB, free: 6.824 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005087/2.615, allocations: 1.784 MB / 447.8 MB, free: 5.023 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/2.615, allocations: 1.688 kB / 447.8 MB, free: 5.023 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001822/2.617, allocations: 0.6486 MB / 448.4 MB, free: 4.367 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/2.619, allocations: 159 kB / 448.6 MB, free: 4.211 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008722/2.628, allocations: 1.984 MB / 450.6 MB, free: 2.184 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002267/2.63, allocations: 1.475 MB / 452.1 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of SimCode: time 1.353e-06/2.63, allocations: 0 / 452.1 MB, free: 0.6797 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_res.mat does not exist to compare? outputFormat=mat