Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_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.81/1.81, allocations: 194.9 MB / 202.5 MB, free: 6.926 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2609/2.071, allocations: 46.86 MB / 249.4 MB, free: 5.324 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/2.208, allocations: 44.49 MB / 293.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4156/2.624, allocations: 81.13 MB / 375 MB, free: 7.156 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003848/2.624, allocations: 87.95 kB / 375.1 MB, free: 7.156 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.05866/2.683, allocations: 12.91 MB / 388 MB, free: 2.504 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/2.683, allocations: 7.469 kB / 388 MB, free: 2.504 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00044/2.683, allocations: 80.62 kB / 388.1 MB, free: 2.465 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002062/2.686, allocations: 484.8 kB / 388.5 MB, free: 2.141 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.663e-05/2.686, allocations: 19.06 kB / 388.6 MB, free: 2.141 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002077/2.686, allocations: 37.53 kB / 388.6 MB, free: 2.141 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001506/2.687, allocations: 398.1 kB / 389 MB, free: 2.113 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/2.689, allocations: 0.5177 MB / 389.5 MB, free: 1.945 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.402e-05/2.689, allocations: 7.812 kB / 389.5 MB, free: 1.941 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.422e-05/2.689, allocations: 3.984 kB / 389.5 MB, free: 1.938 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/2.689, allocations: 15.5 kB / 389.5 MB, free: 1.938 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006196/2.696, allocations: 2.158 MB / 391.7 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/2.697, allocations: 343.7 kB / 392 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007825/2.698, allocations: 239.1 kB / 392.3 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.516e-05/2.698, allocations: 7.5 kB / 392.3 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006504/2.698, allocations: 265.2 kB / 392.5 MB, free: 460 kB / 298.7 MB Notification: Performance of pre-optimization done (n=46): time 4.659e-06/2.698, allocations: 0 / 392.5 MB, free: 460 kB / 298.7 MB Notification: Performance of matching and sorting (n=46): time 0.001269/2.7, allocations: 375.4 kB / 392.9 MB, free: 356 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.232e-05/2.7, allocations: 147.3 kB / 393 MB, free: 192 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008691/2.701, allocations: 343 kB / 393.4 MB, free: 16.05 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001811/2.701, allocations: 36.72 kB / 393.4 MB, free: 16.02 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003002/2.701, allocations: 256.1 kB / 393.6 MB, free: 15.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002637/2.702, allocations: 135.9 kB / 393.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-05/2.702, allocations: 5.156 kB / 393.8 MB, free: 15.72 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002228/2.702, allocations: 359.4 kB / 394.1 MB, free: 15.39 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004755/2.702, allocations: 140.8 kB / 394.3 MB, free: 15.39 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006357/2.703, allocations: 294.7 kB / 394.6 MB, free: 15.2 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005112/2.703, allocations: 168.9 kB / 394.7 MB, free: 15.16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.737e-06/2.704, allocations: 5.344 kB / 394.7 MB, free: 15.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001668/2.705, allocations: 491.4 kB / 395.2 MB, free: 15.04 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008664/2.706, allocations: 1.654 MB / 396.9 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.329e-05/2.706, allocations: 7.844 kB / 396.9 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006593/2.707, allocations: 84.25 kB / 397 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008178/2.708, allocations: 96.86 kB / 397.1 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002775/2.711, allocations: 1.55 MB / 398.6 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/2.712, allocations: 86.3 kB / 398.7 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/2.712, allocations: 20.12 kB / 398.7 MB, free: 11.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/2.712, allocations: 3.562 kB / 398.7 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001384/2.713, allocations: 422.1 kB / 399.1 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.3e-05/2.713, allocations: 5.531 kB / 399.1 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004866/2.714, allocations: 75.73 kB / 399.2 MB, free: 11.83 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007661/2.715, allocations: 91.2 kB / 399.3 MB, free: 11.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002781/2.718, allocations: 1.555 MB / 400.8 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009461/2.719, allocations: 63.27 kB / 400.9 MB, free: 10.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.25e-05/2.719, allocations: 21.19 kB / 400.9 MB, free: 10.49 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004105/2.719, allocations: 135.2 kB / 401.1 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002353/2.719, allocations: 50.31 kB / 401.1 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002311/2.72, allocations: 48.12 kB / 401.2 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/2.72, allocations: 5.312 kB / 401.2 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/2.72, allocations: 5.219 kB / 401.2 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/2.72, allocations: 3.984 kB / 401.2 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003684/2.723, allocations: 1.105 MB / 402.3 MB, free: 9.762 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.687e-06/2.723, allocations: 5.406 kB / 402.3 MB, free: 9.758 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005331/2.724, allocations: 51.34 kB / 402.3 MB, free: 9.746 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006/2.725, allocations: 64.2 kB / 402.4 MB, free: 9.73 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/2.725, allocations: 10.67 kB / 402.4 MB, free: 9.727 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002499/2.727, allocations: 1.534 MB / 403.9 MB, free: 8.445 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/2.727, allocations: 5.281 kB / 403.9 MB, free: 8.441 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002216/2.73, allocations: 0.7124 MB / 404.7 MB, free: 8.184 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002839/2.732, allocations: 1.278 MB / 405.9 MB, free: 7.539 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005023/2.733, allocations: 164.7 kB / 406.1 MB, free: 7.402 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/2.733, allocations: 3.062 kB / 406.1 MB, free: 7.402 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007183/2.734, allocations: 40.53 kB / 406.1 MB, free: 7.391 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001953/2.734, allocations: 33.59 kB / 406.2 MB, free: 7.375 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.414e-05/2.734, allocations: 13 kB / 406.2 MB, free: 7.375 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0005808/2.735, allocations: 264.8 kB / 406.4 MB, free: 7.273 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003509/2.738, allocations: 257.9 kB / 406.7 MB, free: 7.219 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 18 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p.off,rectifier.thyristor_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.off,rectifier.thyristor_p.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004234/2.739, allocations: 126.5 kB / 406.8 MB, free: 7.121 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002575/2.741, allocations: 0.8321 MB / 407.6 MB, free: 6.844 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/2.741, allocations: 1.438 kB / 407.6 MB, free: 6.844 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008875/2.742, allocations: 303.3 kB / 407.9 MB, free: 6.723 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009026/2.743, allocations: 53.88 kB / 408 MB, free: 6.711 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003997/2.747, allocations: 0.8336 MB / 408.8 MB, free: 6.301 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001438/2.749, allocations: 0.9555 MB / 409.8 MB, free: 5.492 MB / 314.7 MB Notification: Performance of SimCode: time 2.245e-06/2.749, allocations: 0 / 409.8 MB, free: 5.492 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL_res.mat does not exist to compare? outputFormat=mat