Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_R",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.77/1.77, allocations: 194.9 MB / 202.5 MB, free: 6.914 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2482/2.018, allocations: 46.85 MB / 249.4 MB, free: 5.352 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09053/2.108, allocations: 44.5 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2884/2.397, allocations: 81.29 MB / 375.1 MB, free: 7.043 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003097/2.397, allocations: 84.44 kB / 375.2 MB, free: 7.043 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.05159/2.449, allocations: 13.62 MB / 388.8 MB, free: 2.031 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/2.449, allocations: 11.31 kB / 388.9 MB, free: 2.031 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002469/2.449, allocations: 84.81 kB / 388.9 MB, free: 1.988 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/2.45, allocations: 498.5 kB / 389.4 MB, free: 1.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.573e-05/2.45, allocations: 23.41 kB / 389.5 MB, free: 1.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/2.451, allocations: 34.94 kB / 389.5 MB, free: 1.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001337/2.452, allocations: 452.2 kB / 389.9 MB, free: 1.633 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/2.453, allocations: 0.5837 MB / 390.5 MB, free: 1.445 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.169e-05/2.453, allocations: 3.906 kB / 390.5 MB, free: 1.441 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.664e-05/2.453, allocations: 5.484 kB / 390.5 MB, free: 1.438 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.944e-05/2.454, allocations: 16.72 kB / 390.5 MB, free: 1.438 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005415/2.459, allocations: 2.459 MB / 393 MB, free: 16 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/2.46, allocations: 446.1 kB / 393.4 MB, free: 15.94 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005709/2.461, allocations: 238.8 kB / 393.7 MB, free: 15.92 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.944e-05/2.461, allocations: 5.625 kB / 393.7 MB, free: 15.92 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007244/2.461, allocations: 300.5 kB / 394 MB, free: 15.8 MB / 314.7 MB Notification: Performance of pre-optimization done (n=55): time 3.326e-06/2.462, allocations: 0 / 394 MB, free: 15.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=55): time 0.001423/2.463, allocations: 467 kB / 394.4 MB, free: 15.69 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.561e-05/2.463, allocations: 122.6 kB / 394.5 MB, free: 15.56 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007192/2.464, allocations: 363.9 kB / 394.9 MB, free: 15.42 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.939e-05/2.464, allocations: 33.62 kB / 394.9 MB, free: 15.38 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002752/2.464, allocations: 259.8 kB / 395.2 MB, free: 15.19 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002834/2.464, allocations: 154.7 kB / 395.3 MB, free: 15.08 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.524e-05/2.465, allocations: 1.281 kB / 395.3 MB, free: 15.08 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000279/2.465, allocations: 360.2 kB / 395.7 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008493/2.466, allocations: 175.9 kB / 395.9 MB, free: 14.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001093/2.467, allocations: 314.7 kB / 396.2 MB, free: 14.56 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009131/2.468, allocations: 189.7 kB / 396.4 MB, free: 14.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.498e-05/2.468, allocations: 1.312 kB / 396.4 MB, free: 14.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.003008/2.471, allocations: 0.5807 MB / 396.9 MB, free: 14.39 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001174/2.472, allocations: 1.57 MB / 398.5 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.423e-05/2.472, allocations: 3.562 kB / 398.5 MB, free: 12.74 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001448/2.474, allocations: 156.3 kB / 398.7 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/2.475, allocations: 87.3 kB / 398.7 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005541/2.48, allocations: 2.086 MB / 400.8 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009422/2.481, allocations: 79.58 kB / 400.9 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-05/2.481, allocations: 25.11 kB / 400.9 MB, free: 11.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/2.481, allocations: 4.125 kB / 400.9 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001432/2.483, allocations: 0.4912 MB / 401.4 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/2.483, allocations: 7.781 kB / 401.4 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006985/2.484, allocations: 152.4 kB / 401.6 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006044/2.484, allocations: 78.78 kB / 401.7 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004028/2.488, allocations: 2.082 MB / 403.7 MB, free: 9.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008327/2.489, allocations: 57.69 kB / 403.8 MB, free: 9.742 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.548e-05/2.489, allocations: 25.09 kB / 403.8 MB, free: 9.742 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 (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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.000311/2.49, allocations: 149.1 kB / 404 MB, free: 9.605 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/2.49, allocations: 53.47 kB / 404 MB, free: 9.578 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002216/2.49, allocations: 56.28 kB / 404.1 MB, free: 9.555 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/2.49, allocations: 5.375 kB / 404.1 MB, free: 9.555 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/2.49, allocations: 0 / 404.1 MB, free: 9.555 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/2.49, allocations: 0 / 404.1 MB, free: 9.555 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003032/2.493, allocations: 1.189 MB / 405.3 MB, free: 9.059 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/2.493, allocations: 1.406 kB / 405.3 MB, free: 9.059 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004466/2.494, allocations: 43.89 kB / 405.3 MB, free: 9.051 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00069/2.494, allocations: 148.2 kB / 405.5 MB, free: 9.012 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.541e-05/2.494, allocations: 9.234 kB / 405.5 MB, free: 9.008 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003932/2.498, allocations: 2.035 MB / 407.5 MB, free: 7.648 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/2.498, allocations: 0 / 407.5 MB, free: 7.648 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002266/2.501, allocations: 0.8214 MB / 408.3 MB, free: 7.414 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003012/2.504, allocations: 1.44 MB / 409.8 MB, free: 6.789 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004541/2.504, allocations: 179.8 kB / 409.9 MB, free: 6.645 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/2.504, allocations: 5.938 kB / 409.9 MB, free: 6.645 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006612/2.505, allocations: 38.56 kB / 410 MB, free: 6.629 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/2.505, allocations: 44.39 kB / 410 MB, free: 6.609 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.286e-05/2.505, allocations: 16.22 kB / 410 MB, free: 6.609 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0005331/2.506, allocations: 266.5 kB / 410.3 MB, free: 6.504 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003142/2.509, allocations: 289 kB / 410.6 MB, free: 6.457 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003641/2.509, allocations: 136.1 kB / 410.7 MB, free: 6.348 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002942/2.512, allocations: 1.014 MB / 411.7 MB, free: 6.043 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/2.512, allocations: 1.25 kB / 411.7 MB, free: 6.043 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009593/2.513, allocations: 372.2 kB / 412.1 MB, free: 5.906 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008075/2.514, allocations: 71.94 kB / 412.2 MB, free: 5.891 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003504/2.518, allocations: 0.8827 MB / 413.1 MB, free: 5.52 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009407/2.519, allocations: 0.9706 MB / 414 MB, free: 4.57 MB / 314.7 MB Notification: Performance of SimCode: time 1.152e-06/2.519, allocations: 0 / 414 MB, free: 4.57 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R_res.mat does not exist to compare? outputFormat=mat