Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RL",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.727/1.727, allocations: 194.9 MB / 202.6 MB, free: 6.883 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2407/1.968, allocations: 46.84 MB / 249.4 MB, free: 5.312 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09182/2.06, allocations: 44.51 MB / 293.9 MB, free: 10.87 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2968/2.357, allocations: 81.6 MB / 375.5 MB, free: 6.973 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000313/2.357, allocations: 86.06 kB / 375.6 MB, free: 6.973 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.05606/2.413, allocations: 13.96 MB / 389.6 MB, free: 1.758 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/2.413, allocations: 11.22 kB / 389.6 MB, free: 1.758 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002154/2.414, allocations: 89.55 kB / 389.7 MB, free: 1.711 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/2.415, allocations: 0.4973 MB / 390.2 MB, free: 1.375 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.69e-05/2.415, allocations: 23.41 kB / 390.2 MB, free: 1.375 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/2.415, allocations: 46.72 kB / 390.2 MB, free: 1.371 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001466/2.416, allocations: 457.6 kB / 390.7 MB, free: 1.348 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/2.418, allocations: 0.595 MB / 391.3 MB, free: 1.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.322e-05/2.418, allocations: 7.906 kB / 391.3 MB, free: 1.152 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.244e-05/2.418, allocations: 0 / 391.3 MB, free: 1.152 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/2.418, allocations: 19.28 kB / 391.3 MB, free: 1.152 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005677/2.424, allocations: 2.51 MB / 393.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/2.425, allocations: 446.5 kB / 394.3 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/2.426, allocations: 348.7 kB / 394.6 MB, free: 15.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.778e-05/2.426, allocations: 9.625 kB / 394.6 MB, free: 15.58 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007671/2.427, allocations: 301.2 kB / 394.9 MB, free: 15.47 MB / 314.7 MB Notification: Performance of pre-optimization done (n=57): time 3.706e-06/2.427, allocations: 1.344 kB / 394.9 MB, free: 15.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=57): time 0.001817/2.429, allocations: 0.5116 MB / 395.4 MB, free: 15.33 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.209e-05/2.429, allocations: 122.6 kB / 395.5 MB, free: 15.2 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007999/2.43, allocations: 364.9 kB / 395.9 MB, free: 15.06 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001324/2.43, allocations: 32.67 kB / 395.9 MB, free: 15.03 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003126/2.43, allocations: 254.1 kB / 396.2 MB, free: 14.84 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002474/2.43, allocations: 171.9 kB / 396.3 MB, free: 14.72 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.886e-05/2.431, allocations: 4 kB / 396.3 MB, free: 14.71 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002087/2.431, allocations: 361.8 kB / 396.7 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000562/2.431, allocations: 180.1 kB / 396.9 MB, free: 14.38 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007345/2.432, allocations: 324 kB / 397.2 MB, free: 14.2 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000598/2.433, allocations: 197.5 kB / 397.4 MB, free: 14.17 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/2.433, allocations: 1.281 kB / 397.4 MB, free: 14.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001894/2.435, allocations: 0.613 MB / 398 MB, free: 14.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006696/2.435, allocations: 1.571 MB / 399.6 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/2.435, allocations: 4.25 kB / 399.6 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008784/2.436, allocations: 154 kB / 399.7 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008064/2.437, allocations: 97.02 kB / 399.8 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005351/2.442, allocations: 3.312 MB / 403.1 MB, free: 9.637 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/2.444, allocations: 78.48 kB / 403.2 MB, free: 9.598 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-05/2.444, allocations: 23.22 kB / 403.2 MB, free: 9.598 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/2.444, allocations: 3.812 kB / 403.2 MB, free: 9.598 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001628/2.445, allocations: 0.5175 MB / 403.7 MB, free: 9.512 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/2.445, allocations: 9.078 kB / 403.8 MB, free: 9.508 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000815/2.446, allocations: 155.9 kB / 403.9 MB, free: 9.473 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000764/2.447, allocations: 93.52 kB / 404 MB, free: 9.449 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00516/2.452, allocations: 3.297 MB / 407.3 MB, free: 6.793 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008768/2.453, allocations: 53.48 kB / 407.3 MB, free: 6.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-05/2.453, allocations: 32.95 kB / 407.4 MB, free: 6.762 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 (65): * Single equations (assignments): 63 * 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.000289/2.453, allocations: 141.1 kB / 407.5 MB, free: 6.633 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/2.454, allocations: 54.41 kB / 407.6 MB, free: 6.605 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002393/2.454, allocations: 59.95 kB / 407.6 MB, free: 6.586 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/2.454, allocations: 5.188 kB / 407.6 MB, free: 6.586 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/2.454, allocations: 1.344 kB / 407.6 MB, free: 6.586 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/2.454, allocations: 0 / 407.6 MB, free: 6.586 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003409/2.457, allocations: 1.254 MB / 408.9 MB, free: 6.066 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/2.457, allocations: 4.281 kB / 408.9 MB, free: 6.062 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005531/2.458, allocations: 53.22 kB / 408.9 MB, free: 6.051 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007748/2.459, allocations: 153.6 kB / 409.1 MB, free: 6.004 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.938e-05/2.459, allocations: 9.891 kB / 409.1 MB, free: 6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00512/2.464, allocations: 3.248 MB / 412.4 MB, free: 3.363 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/2.464, allocations: 0 / 412.4 MB, free: 3.363 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002534/2.466, allocations: 0.8806 MB / 413.2 MB, free: 3.105 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003373/2.47, allocations: 1.497 MB / 414.7 MB, free: 2.469 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004449/2.47, allocations: 179.8 kB / 414.9 MB, free: 2.324 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/2.47, allocations: 13.78 kB / 414.9 MB, free: 2.316 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007367/2.471, allocations: 35.22 kB / 415 MB, free: 2.305 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001882/2.471, allocations: 49.38 kB / 415 MB, free: 2.281 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-05/2.472, allocations: 18.14 kB / 415 MB, free: 2.277 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0005368/2.472, allocations: 265.9 kB / 415.3 MB, free: 2.18 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003762/2.476, allocations: 300.7 kB / 415.6 MB, free: 2.129 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_p2.off,rectifier.thyristor_p1.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 34 * 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.0002809/2.476, allocations: 127.1 kB / 415.7 MB, free: 2.027 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003242/2.479, allocations: 1.22 MB / 416.9 MB, free: 1.508 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/2.479, allocations: 0 / 416.9 MB, free: 1.508 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001117/2.481, allocations: 476.7 kB / 417.4 MB, free: 1.117 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008635/2.481, allocations: 87.31 kB / 417.5 MB, free: 1.047 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00387/2.485, allocations: 0.954 MB / 418.4 MB, free: 184 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009832/2.486, allocations: 0.9805 MB / 419.4 MB, free: 15.18 MB / 330.7 MB Notification: Performance of SimCode: time 1.222e-06/2.486, allocations: 0 / 419.4 MB, free: 15.18 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL_res.mat does not exist to compare? outputFormat=mat