Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_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.639/1.639, allocations: 194.9 MB / 202.5 MB, free: 6.934 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2249/1.864, allocations: 46.85 MB / 249.4 MB, free: 5.316 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09043/1.954, allocations: 44.51 MB / 293.9 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2871/2.241, allocations: 81.6 MB / 375.5 MB, free: 7.109 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/2.242, allocations: 83.62 kB / 375.5 MB, free: 7.109 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.05375/2.295, allocations: 13.97 MB / 389.5 MB, free: 1.906 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/2.295, allocations: 7.75 kB / 389.5 MB, free: 1.906 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002895/2.296, allocations: 85.94 kB / 389.6 MB, free: 1.863 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/2.297, allocations: 0.4994 MB / 390.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.983e-05/2.297, allocations: 23.44 kB / 390.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/2.297, allocations: 46.33 kB / 390.2 MB, free: 1.523 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001438/2.299, allocations: 461.6 kB / 390.6 MB, free: 1.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/2.3, allocations: 0.5941 MB / 391.2 MB, free: 1.309 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.795e-05/2.3, allocations: 3.906 kB / 391.2 MB, free: 1.305 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.23e-05/2.3, allocations: 3.844 kB / 391.2 MB, free: 1.305 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/2.3, allocations: 15.56 kB / 391.2 MB, free: 1.305 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006157/2.307, allocations: 2.509 MB / 393.7 MB, free: 15.85 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/2.308, allocations: 449.3 kB / 394.2 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001059/2.309, allocations: 342.9 kB / 394.5 MB, free: 15.74 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.987e-05/2.309, allocations: 9.594 kB / 394.5 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007383/2.31, allocations: 303.4 kB / 394.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of pre-optimization done (n=57): time 3.377e-06/2.31, allocations: 1.312 kB / 394.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=57): time 0.001814/2.312, allocations: 0.5148 MB / 395.3 MB, free: 15.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/2.312, allocations: 124.5 kB / 395.5 MB, free: 15.35 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008191/2.313, allocations: 357.6 kB / 395.8 MB, free: 15.21 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001492/2.313, allocations: 38.41 kB / 395.9 MB, free: 15.18 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002832/2.313, allocations: 255.8 kB / 396.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002628/2.313, allocations: 166.9 kB / 396.3 MB, free: 14.87 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.841e-05/2.313, allocations: 4 kB / 396.3 MB, free: 14.86 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000193/2.314, allocations: 362.8 kB / 396.6 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005221/2.314, allocations: 177 kB / 396.8 MB, free: 14.53 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006718/2.315, allocations: 328 kB / 397.1 MB, free: 14.35 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000548/2.315, allocations: 196.6 kB / 397.3 MB, free: 14.32 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/2.315, allocations: 1.062 kB / 397.3 MB, free: 14.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001779/2.317, allocations: 0.6155 MB / 397.9 MB, free: 14.17 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006687/2.318, allocations: 1.574 MB / 399.5 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/2.318, allocations: 3.188 kB / 399.5 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008643/2.319, allocations: 156.5 kB / 399.7 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007907/2.32, allocations: 97.52 kB / 399.7 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005131/2.325, allocations: 3.304 MB / 403.1 MB, free: 9.789 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/2.326, allocations: 79.95 kB / 403.1 MB, free: 9.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.102e-05/2.326, allocations: 22.88 kB / 403.2 MB, free: 9.75 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/2.326, allocations: 5.938 kB / 403.2 MB, free: 9.75 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001573/2.328, allocations: 0.5211 MB / 403.7 MB, free: 9.664 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/2.328, allocations: 3.688 kB / 403.7 MB, free: 9.664 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007677/2.328, allocations: 150.1 kB / 403.8 MB, free: 9.629 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007119/2.329, allocations: 92.42 kB / 403.9 MB, free: 9.605 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005098/2.334, allocations: 3.298 MB / 407.2 MB, free: 6.949 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009134/2.335, allocations: 58.16 kB / 407.3 MB, free: 6.922 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.853e-05/2.335, allocations: 33.47 kB / 407.3 MB, free: 6.914 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.0003229/2.336, allocations: 146.1 kB / 407.5 MB, free: 6.781 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001814/2.336, allocations: 52.53 kB / 407.5 MB, free: 6.754 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002457/2.336, allocations: 58.66 kB / 407.6 MB, free: 6.738 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/2.336, allocations: 5.688 kB / 407.6 MB, free: 6.738 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/2.336, allocations: 3.938 kB / 407.6 MB, free: 6.734 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/2.336, allocations: 4.891 kB / 407.6 MB, free: 6.73 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00337/2.34, allocations: 1.256 MB / 408.8 MB, free: 6.207 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/2.34, allocations: 0 / 408.8 MB, free: 6.207 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005348/2.34, allocations: 53.06 kB / 408.9 MB, free: 6.195 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007388/2.341, allocations: 142 kB / 409 MB, free: 6.16 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.202e-05/2.341, allocations: 6.266 kB / 409 MB, free: 6.156 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004984/2.346, allocations: 3.259 MB / 412.3 MB, free: 3.516 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/2.346, allocations: 2 kB / 412.3 MB, free: 3.516 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002494/2.349, allocations: 0.8773 MB / 413.2 MB, free: 3.258 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003435/2.352, allocations: 1.496 MB / 414.7 MB, free: 2.621 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004764/2.353, allocations: 182.1 kB / 414.8 MB, free: 2.477 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/2.353, allocations: 9.375 kB / 414.8 MB, free: 2.473 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006981/2.354, allocations: 34.94 kB / 414.9 MB, free: 2.461 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001834/2.354, allocations: 44.55 kB / 414.9 MB, free: 2.441 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.523e-05/2.354, allocations: 14.31 kB / 414.9 MB, free: 2.441 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0005352/2.354, allocations: 275.9 kB / 415.2 MB, free: 2.336 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003645/2.358, allocations: 297.3 kB / 415.5 MB, free: 2.285 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.000384/2.358, allocations: 129.6 kB / 415.6 MB, free: 2.18 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003282/2.362, allocations: 1.219 MB / 416.8 MB, free: 1.566 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.924e-06/2.362, allocations: 3.938 kB / 416.8 MB, free: 1.562 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001111/2.363, allocations: 480.2 kB / 417.3 MB, free: 1.168 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008749/2.364, allocations: 68.22 kB / 417.4 MB, free: 1.117 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003908/2.368, allocations: 0.9694 MB / 418.4 MB, free: 240 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/2.369, allocations: 0.9809 MB / 419.3 MB, free: 15.23 MB / 330.7 MB Notification: Performance of SimCode: time 1.453e-06/2.369, allocations: 0 / 419.3 MB, free: 15.23 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_RL_res.mat does not exist to compare? outputFormat=mat