Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV_Characteristic",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.84/1.84, allocations: 194.9 MB / 202.5 MB, free: 6.93 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2676/2.107, allocations: 46.86 MB / 249.4 MB, free: 5.355 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/2.211, allocations: 44.5 MB / 293.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3112/2.522, allocations: 82.29 MB / 376.2 MB, free: 7.16 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/2.522, allocations: 88.78 kB / 376.2 MB, free: 7.16 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.05917/2.582, allocations: 14.52 MB / 390.8 MB, free: 1.574 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/2.582, allocations: 7.625 kB / 390.8 MB, free: 1.574 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003854/2.582, allocations: 92.12 kB / 390.9 MB, free: 1.527 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/2.583, allocations: 0.5009 MB / 391.4 MB, free: 1.195 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.09e-05/2.583, allocations: 26.92 kB / 391.4 MB, free: 1.191 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/2.584, allocations: 46.75 kB / 391.4 MB, free: 1.188 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001743/2.585, allocations: 478.3 kB / 391.9 MB, free: 1.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/2.587, allocations: 0.6242 MB / 392.5 MB, free: 0.957 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.572e-05/2.587, allocations: 5.25 kB / 392.5 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/2.588, allocations: 1.344 kB / 392.5 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.42e-05/2.588, allocations: 16 kB / 392.6 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007099/2.595, allocations: 2.542 MB / 395.1 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002074/2.597, allocations: 0.5572 MB / 395.7 MB, free: 15.4 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001431/2.598, allocations: 407.2 kB / 396 MB, free: 15.33 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.914e-05/2.598, allocations: 5.969 kB / 396.1 MB, free: 15.33 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009468/2.599, allocations: 326.8 kB / 396.4 MB, free: 15.21 MB / 314.7 MB Notification: Performance of pre-optimization done (n=61): time 4.328e-06/2.599, allocations: 0 / 396.4 MB, free: 15.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=61): time 0.001997/2.601, allocations: 0.5358 MB / 396.9 MB, free: 15.08 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/2.602, allocations: 123.3 kB / 397 MB, free: 14.95 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008257/2.602, allocations: 349.9 kB / 397.4 MB, free: 14.81 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001897/2.603, allocations: 37.69 kB / 397.4 MB, free: 14.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003028/2.603, allocations: 260.6 kB / 397.7 MB, free: 14.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003133/2.603, allocations: 179.1 kB / 397.8 MB, free: 14.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.796e-05/2.603, allocations: 1.375 kB / 397.8 MB, free: 14.45 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.00022/2.604, allocations: 367 kB / 398.2 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005746/2.604, allocations: 179.3 kB / 398.4 MB, free: 14.11 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007226/2.605, allocations: 344.9 kB / 398.7 MB, free: 13.91 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006238/2.606, allocations: 202.3 kB / 398.9 MB, free: 13.88 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/2.606, allocations: 1.312 kB / 398.9 MB, free: 13.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001931/2.608, allocations: 0.6252 MB / 399.5 MB, free: 13.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007801/2.608, allocations: 1.567 MB / 401.1 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.983e-05/2.608, allocations: 7.672 kB / 401.1 MB, free: 12.08 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000939/2.609, allocations: 167.6 kB / 401.3 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009455/2.61, allocations: 111.4 kB / 401.4 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007703/2.618, allocations: 3.29 MB / 404.7 MB, free: 9.352 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/2.62, allocations: 75.41 kB / 404.7 MB, free: 9.312 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002121/2.62, allocations: 27.41 kB / 404.8 MB, free: 9.312 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/2.62, allocations: 3.719 kB / 404.8 MB, free: 9.312 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002557/2.622, allocations: 0.532 MB / 405.3 MB, free: 9.223 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-05/2.623, allocations: 12.16 kB / 405.3 MB, free: 9.215 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/2.624, allocations: 150.2 kB / 405.5 MB, free: 9.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/2.625, allocations: 109.5 kB / 405.6 MB, free: 9.152 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00762/2.633, allocations: 3.285 MB / 408.9 MB, free: 6.508 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/2.634, allocations: 58.75 kB / 408.9 MB, free: 6.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002384/2.634, allocations: 25.53 kB / 408.9 MB, free: 6.48 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 29 ($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_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n2.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 (67): * Single equations (assignments): 65 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0006045/2.635, allocations: 140.3 kB / 409.1 MB, free: 6.352 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003298/2.635, allocations: 62.73 kB / 409.1 MB, free: 6.316 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003506/2.636, allocations: 61.75 kB / 409.2 MB, free: 6.301 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/2.636, allocations: 5.844 kB / 409.2 MB, free: 6.301 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/2.636, allocations: 1.156 kB / 409.2 MB, free: 6.301 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.041e-05/2.636, allocations: 3.984 kB / 409.2 MB, free: 6.297 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004939/2.641, allocations: 1.269 MB / 410.5 MB, free: 5.785 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/2.641, allocations: 3.938 kB / 410.5 MB, free: 5.781 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008481/2.642, allocations: 78.05 kB / 410.6 MB, free: 5.762 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008125/2.642, allocations: 149.2 kB / 410.7 MB, free: 5.719 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001327/2.643, allocations: 9.109 kB / 410.7 MB, free: 5.715 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005641/2.648, allocations: 3.26 MB / 414 MB, free: 3.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.063e-05/2.648, allocations: 3.906 kB / 414 MB, free: 3.066 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002531/2.651, allocations: 0.8956 MB / 414.9 MB, free: 2.828 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003569/2.654, allocations: 1.549 MB / 416.4 MB, free: 2.102 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005323/2.655, allocations: 180.3 kB / 416.6 MB, free: 1.934 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001604/2.655, allocations: 7.375 kB / 416.6 MB, free: 1.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008219/2.656, allocations: 47.95 kB / 416.6 MB, free: 1.883 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000203/2.656, allocations: 50.55 kB / 416.7 MB, free: 1.844 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.453e-05/2.656, allocations: 22.67 kB / 416.7 MB, free: 1.824 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0005448/2.657, allocations: 261.3 kB / 417 MB, free: 1.629 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003702/2.661, allocations: 318.6 kB / 417.3 MB, free: 1.32 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 20 (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_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.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: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004262/2.661, allocations: 132.3 kB / 417.4 MB, free: 1.184 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003515/2.665, allocations: 1.25 MB / 418.7 MB, free: 184 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/2.665, allocations: 3.938 kB / 418.7 MB, free: 180 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001323/2.666, allocations: 487.2 kB / 419.1 MB, free: 15.78 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009712/2.667, allocations: 87.27 kB / 419.2 MB, free: 15.71 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004647/2.672, allocations: 1.013 MB / 420.2 MB, free: 14.79 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001129/2.673, allocations: 0.9971 MB / 421.2 MB, free: 13.79 MB / 330.7 MB Notification: Performance of SimCode: time 1.603e-06/2.673, allocations: 0 / 421.2 MB, free: 13.79 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat