Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RL",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.645/1.645, allocations: 194.9 MB / 202.5 MB, free: 6.93 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2332/1.879, allocations: 46.85 MB / 249.4 MB, free: 5.34 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09845/1.977, allocations: 44.5 MB / 293.9 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3102/2.288, allocations: 84.34 MB / 378.2 MB, free: 6.773 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/2.288, allocations: 83.25 kB / 378.3 MB, free: 6.758 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.115/2.403, allocations: 29.18 MB / 407.5 MB, free: 11.03 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/2.403, allocations: 11.98 kB / 407.5 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008062/2.404, allocations: 158.1 kB / 407.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006568/2.41, allocations: 1.63 MB / 409.2 MB, free: 9.602 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/2.411, allocations: 51.8 kB / 409.3 MB, free: 9.555 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003469/2.411, allocations: 72 kB / 409.4 MB, free: 9.484 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003975/2.415, allocations: 1.302 MB / 410.7 MB, free: 8.676 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004603/2.42, allocations: 1.524 MB / 412.2 MB, free: 7.543 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.369e-05/2.42, allocations: 0 / 412.2 MB, free: 7.543 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001788/2.42, allocations: 0 / 412.2 MB, free: 7.543 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.733e-05/2.42, allocations: 62.31 kB / 412.3 MB, free: 7.484 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01399/2.434, allocations: 4.712 MB / 417 MB, free: 3.859 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002157/2.436, allocations: 0.8592 MB / 417.8 MB, free: 3.258 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001451/2.438, allocations: 0.547 MB / 418.4 MB, free: 2.871 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.16e-05/2.438, allocations: 8.656 kB / 418.4 MB, free: 2.863 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001229/2.439, allocations: 0.5411 MB / 418.9 MB, free: 2.461 MB / 314.7 MB Notification: Performance of pre-optimization done (n=81): time 3.857e-06/2.439, allocations: 0 / 418.9 MB, free: 2.461 MB / 314.7 MB Notification: Performance of matching and sorting (n=81): time 0.00292/2.442, allocations: 0.9235 MB / 419.8 MB, free: 1.77 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/2.442, allocations: 152.4 kB / 420 MB, free: 1.594 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001684/2.444, allocations: 0.6864 MB / 420.7 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002068/2.444, allocations: 49.69 kB / 420.7 MB, free: 0.8789 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005961/2.445, allocations: 489.9 kB / 421.2 MB, free: 408 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000348/2.445, allocations: 224.3 kB / 421.4 MB, free: 184 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.54e-05/2.445, allocations: 0 / 421.4 MB, free: 184 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002589/2.445, allocations: 398.7 kB / 421.8 MB, free: 15.78 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/2.446, allocations: 405.8 kB / 422.2 MB, free: 15.38 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001272/2.448, allocations: 0.6164 MB / 422.8 MB, free: 14.67 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/2.449, allocations: 432.2 kB / 423.3 MB, free: 14.25 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.126e-05/2.449, allocations: 7.906 kB / 423.3 MB, free: 14.24 MB / 330.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003026/2.452, allocations: 1.139 MB / 424.4 MB, free: 13.09 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001042/2.453, allocations: 2.527 MB / 426.9 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.493e-05/2.453, allocations: 8 kB / 426.9 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009367/2.454, allocations: 226.2 kB / 427.2 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/2.455, allocations: 151.7 kB / 427.3 MB, free: 9.988 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004803/2.46, allocations: 2.552 MB / 429.9 MB, free: 7.324 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/2.462, allocations: 135.3 kB / 430 MB, free: 7.191 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001394/2.462, allocations: 40 kB / 430 MB, free: 7.152 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/2.462, allocations: 4 kB / 430 MB, free: 7.148 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002765/2.465, allocations: 1.017 MB / 431.1 MB, free: 6.129 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/2.465, allocations: 8 kB / 431.1 MB, free: 6.121 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008432/2.466, allocations: 221 kB / 431.3 MB, free: 5.902 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/2.467, allocations: 144.2 kB / 431.4 MB, free: 5.762 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004663/2.471, allocations: 2.556 MB / 434 MB, free: 3.086 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/2.473, allocations: 107.4 kB / 434.1 MB, free: 2.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/2.473, allocations: 36 kB / 434.1 MB, free: 2.945 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.0004106/2.473, allocations: 168.5 kB / 434.3 MB, free: 2.781 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002201/2.473, allocations: 87.06 kB / 434.4 MB, free: 2.695 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003839/2.474, allocations: 100.4 kB / 434.5 MB, free: 2.594 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/2.474, allocations: 8 kB / 434.5 MB, free: 2.586 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/2.474, allocations: 11.84 kB / 434.5 MB, free: 2.574 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/2.474, allocations: 3.984 kB / 434.5 MB, free: 2.57 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006011/2.48, allocations: 2.292 MB / 436.8 MB, free: 244 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/2.48, allocations: 0 / 436.8 MB, free: 244 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007159/2.481, allocations: 83.83 kB / 436.9 MB, free: 160 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007562/2.482, allocations: 204.9 kB / 437.1 MB, free: 15.95 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.811e-05/2.482, allocations: 11.98 kB / 437.1 MB, free: 15.94 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004434/2.486, allocations: 2.454 MB / 439.5 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/2.486, allocations: 0 / 439.5 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003998/2.49, allocations: 1.605 MB / 441.1 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005305/2.496, allocations: 2.539 MB / 443.7 MB, free: 9.141 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008401/2.496, allocations: 259.9 kB / 443.9 MB, free: 8.867 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002276/2.497, allocations: 16.27 kB / 443.9 MB, free: 8.852 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/2.498, allocations: 71.94 kB / 444 MB, free: 8.781 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003553/2.498, allocations: 92.42 kB / 444.1 MB, free: 8.691 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.739e-05/2.498, allocations: 35.92 kB / 444.1 MB, free: 8.656 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.001148/2.499, allocations: 0.5069 MB / 444.6 MB, free: 8.148 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00432/2.504, allocations: 0.5173 MB / 445.2 MB, free: 7.629 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.0003998/2.504, allocations: 152.7 kB / 445.3 MB, free: 7.473 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004503/2.509, allocations: 1.777 MB / 447.1 MB, free: 5.68 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/2.509, allocations: 0 / 447.1 MB, free: 5.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001592/2.51, allocations: 0.6443 MB / 447.7 MB, free: 5.031 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/2.512, allocations: 167.5 kB / 447.9 MB, free: 4.867 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006729/2.519, allocations: 1.96 MB / 449.8 MB, free: 2.863 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002081/2.521, allocations: 1.463 MB / 451.3 MB, free: 1.371 MB / 346.7 MB Notification: Performance of SimCode: time 1.383e-06/2.521, allocations: 7.875 kB / 451.3 MB, free: 1.363 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_RL_res.mat does not exist to compare? outputFormat=mat