Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_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.732/1.732, allocations: 194.9 MB / 202.5 MB, free: 6.934 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2632/1.995, allocations: 46.85 MB / 249.4 MB, free: 5.312 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.093/2.088, allocations: 44.51 MB / 293.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.304/2.392, allocations: 81.84 MB / 375.7 MB, free: 7.16 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003183/2.393, allocations: 81.52 kB / 375.8 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.05478/2.448, allocations: 14.27 MB / 390.1 MB, free: 1.766 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/2.448, allocations: 7.5 kB / 390.1 MB, free: 1.766 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002909/2.448, allocations: 96.39 kB / 390.2 MB, free: 1.715 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/2.449, allocations: 0.5043 MB / 390.7 MB, free: 1.383 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.634e-05/2.449, allocations: 23.06 kB / 390.7 MB, free: 1.383 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/2.449, allocations: 45.12 kB / 390.7 MB, free: 1.383 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001405/2.451, allocations: 469.2 kB / 391.2 MB, free: 1.355 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/2.452, allocations: 0.6174 MB / 391.8 MB, free: 1.152 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.85e-05/2.452, allocations: 6.5 kB / 391.8 MB, free: 1.148 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.094e-05/2.452, allocations: 0 / 391.8 MB, free: 1.148 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/2.452, allocations: 15.56 kB / 391.8 MB, free: 1.148 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006296/2.459, allocations: 2.549 MB / 394.4 MB, free: 15.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/2.46, allocations: 452.3 kB / 394.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001169/2.461, allocations: 385 kB / 395.2 MB, free: 15.56 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.64e-05/2.461, allocations: 9.656 kB / 395.2 MB, free: 15.56 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007566/2.462, allocations: 310.3 kB / 395.5 MB, free: 15.44 MB / 314.7 MB Notification: Performance of pre-optimization done (n=58): time 3.367e-06/2.462, allocations: 0 / 395.5 MB, free: 15.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=58): time 0.001703/2.464, allocations: 0.5166 MB / 396 MB, free: 15.3 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.572e-05/2.464, allocations: 116.2 kB / 396.1 MB, free: 15.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007412/2.465, allocations: 366.4 kB / 396.5 MB, free: 15.04 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.67e-05/2.465, allocations: 29.17 kB / 396.5 MB, free: 15.01 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002587/2.465, allocations: 272.5 kB / 396.8 MB, free: 14.8 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000206/2.465, allocations: 174 kB / 397 MB, free: 14.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.405e-05/2.465, allocations: 0 / 397 MB, free: 14.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001754/2.465, allocations: 362.6 kB / 397.3 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005483/2.466, allocations: 177.3 kB / 397.5 MB, free: 14.35 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006597/2.467, allocations: 336.6 kB / 397.8 MB, free: 14.17 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005448/2.467, allocations: 195.7 kB / 398 MB, free: 14.14 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/2.467, allocations: 5.312 kB / 398 MB, free: 14.13 MB / 314.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001716/2.469, allocations: 0.6156 MB / 398.6 MB, free: 13.98 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006626/2.47, allocations: 1.573 MB / 400.2 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/2.47, allocations: 9.188 kB / 400.2 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000845/2.471, allocations: 158 kB / 400.4 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007742/2.471, allocations: 100.3 kB / 400.5 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0052/2.477, allocations: 3.3 MB / 403.8 MB, free: 9.598 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/2.478, allocations: 80 kB / 403.8 MB, free: 9.559 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.817e-05/2.478, allocations: 23.19 kB / 403.9 MB, free: 9.559 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.789e-06/2.478, allocations: 3.531 kB / 403.9 MB, free: 9.559 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001561/2.479, allocations: 0.5276 MB / 404.4 MB, free: 9.469 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/2.479, allocations: 4.438 kB / 404.4 MB, free: 9.469 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007334/2.48, allocations: 164.4 kB / 404.6 MB, free: 9.426 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009506/2.481, allocations: 94.61 kB / 404.6 MB, free: 9.402 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006143/2.487, allocations: 3.299 MB / 407.9 MB, free: 6.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/2.488, allocations: 57.16 kB / 408 MB, free: 6.723 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/2.488, allocations: 25.78 kB / 408 MB, free: 6.723 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 (66): * Single equations (assignments): 64 * 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.000389/2.489, allocations: 137.1 kB / 408.2 MB, free: 6.598 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002155/2.489, allocations: 57.73 kB / 408.2 MB, free: 6.566 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002416/2.489, allocations: 60.73 kB / 408.3 MB, free: 6.543 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/2.489, allocations: 6.281 kB / 408.3 MB, free: 6.543 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/2.489, allocations: 3.938 kB / 408.3 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/2.489, allocations: 9.141 kB / 408.3 MB, free: 6.531 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003173/2.493, allocations: 1.246 MB / 409.5 MB, free: 6.023 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/2.493, allocations: 5.438 kB / 409.5 MB, free: 6.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005464/2.493, allocations: 58.14 kB / 409.6 MB, free: 6.004 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007328/2.494, allocations: 146 kB / 409.7 MB, free: 5.969 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.93e-05/2.494, allocations: 6.453 kB / 409.8 MB, free: 5.965 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004884/2.499, allocations: 3.261 MB / 413 MB, free: 3.316 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/2.499, allocations: 384 / 413 MB, free: 3.316 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002509/2.502, allocations: 0.8715 MB / 413.9 MB, free: 3.074 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003041/2.505, allocations: 1.504 MB / 415.4 MB, free: 2.438 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000427/2.505, allocations: 182.4 kB / 415.6 MB, free: 2.293 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/2.505, allocations: 10 kB / 415.6 MB, free: 2.289 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007218/2.506, allocations: 38.69 kB / 415.6 MB, free: 2.273 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/2.506, allocations: 44.52 kB / 415.7 MB, free: 2.254 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-05/2.506, allocations: 23.48 kB / 415.7 MB, free: 2.246 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0005248/2.507, allocations: 267.6 kB / 415.9 MB, free: 2.148 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003642/2.51, allocations: 323.1 kB / 416.3 MB, free: 2.082 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 (42): * Single equations (assignments): 35 * 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.0003778/2.511, allocations: 125.1 kB / 416.4 MB, free: 1.984 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003165/2.514, allocations: 1.228 MB / 417.6 MB, free: 1.031 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/2.514, allocations: 0 / 417.6 MB, free: 1.031 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001053/2.515, allocations: 478.8 kB / 418.1 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008548/2.516, allocations: 74.84 kB / 418.1 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00378/2.52, allocations: 0.9848 MB / 419.1 MB, free: 15.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009348/2.521, allocations: 0.9922 MB / 420.1 MB, free: 14.67 MB / 330.7 MB Notification: Performance of SimCode: time 1.123e-06/2.521, allocations: 0 / 420.1 MB, free: 14.67 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_res.mat does not exist to compare? outputFormat=mat