Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV",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.627/1.627, allocations: 194.9 MB / 202.6 MB, free: 6.887 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2314/1.859, allocations: 46.84 MB / 249.4 MB, free: 5.379 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08771/1.946, allocations: 44.51 MB / 293.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2794/2.226, allocations: 81.37 MB / 375.3 MB, free: 6.801 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000304/2.226, allocations: 86.14 kB / 375.4 MB, free: 6.801 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.0496/2.276, allocations: 13.21 MB / 388.6 MB, free: 1.945 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/2.276, allocations: 7.75 kB / 388.6 MB, free: 1.945 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001805/2.276, allocations: 85.84 kB / 388.7 MB, free: 1.902 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000994/2.277, allocations: 482.4 kB / 389.1 MB, free: 1.578 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.445e-05/2.277, allocations: 22.53 kB / 389.2 MB, free: 1.578 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/2.277, allocations: 41.56 kB / 389.2 MB, free: 1.574 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00116/2.278, allocations: 413 kB / 389.6 MB, free: 1.543 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/2.28, allocations: 0.5373 MB / 390.2 MB, free: 1.375 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.122e-05/2.28, allocations: 1.344 kB / 390.2 MB, free: 1.375 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.226e-05/2.28, allocations: 5.203 kB / 390.2 MB, free: 1.371 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.062e-05/2.28, allocations: 14.41 kB / 390.2 MB, free: 1.371 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004848/2.285, allocations: 2.201 MB / 392.4 MB, free: 16.08 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008428/2.286, allocations: 338.3 kB / 392.7 MB, free: 16.03 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006886/2.286, allocations: 242.5 kB / 392.9 MB, free: 16 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.412e-05/2.286, allocations: 10.91 kB / 393 MB, free: 15.99 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00061/2.287, allocations: 269.5 kB / 393.2 MB, free: 15.87 MB / 314.7 MB Notification: Performance of pre-optimization done (n=47): time 3.697e-06/2.287, allocations: 0 / 393.2 MB, free: 15.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=47): time 0.001158/2.288, allocations: 384.4 kB / 393.6 MB, free: 15.77 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.669e-05/2.288, allocations: 139.1 kB / 393.7 MB, free: 15.61 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00068/2.289, allocations: 358.1 kB / 394.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.192e-05/2.289, allocations: 36.34 kB / 394.1 MB, free: 15.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002476/2.289, allocations: 270.5 kB / 394.4 MB, free: 15.23 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001561/2.289, allocations: 127.1 kB / 394.5 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-05/2.289, allocations: 0 / 394.5 MB, free: 15.14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000187/2.29, allocations: 364.4 kB / 394.9 MB, free: 14.81 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004246/2.29, allocations: 141.5 kB / 395 MB, free: 14.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005903/2.291, allocations: 298.2 kB / 395.3 MB, free: 14.61 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004543/2.291, allocations: 171.5 kB / 395.5 MB, free: 14.58 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/2.291, allocations: 5.281 kB / 395.5 MB, free: 14.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001345/2.293, allocations: 0.4897 MB / 395.9 MB, free: 14.45 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007564/2.293, allocations: 1.657 MB / 397.6 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/2.293, allocations: 7.875 kB / 397.6 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004755/2.294, allocations: 80.39 kB / 397.7 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007141/2.295, allocations: 93.55 kB / 397.8 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002254/2.297, allocations: 1.563 MB / 399.3 MB, free: 11.37 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008709/2.298, allocations: 77.19 kB / 399.4 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.287e-05/2.298, allocations: 25.08 kB / 399.4 MB, free: 11.33 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/2.298, allocations: 3.656 kB / 399.4 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001185/2.299, allocations: 419.3 kB / 399.9 MB, free: 11.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/2.299, allocations: 4 kB / 399.9 MB, free: 11.26 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003788/2.299, allocations: 81.84 kB / 399.9 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006139/2.3, allocations: 85.72 kB / 400 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002155/2.302, allocations: 1.566 MB / 401.6 MB, free: 9.926 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007891/2.303, allocations: 59.47 kB / 401.6 MB, free: 9.898 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-05/2.303, allocations: 23.94 kB / 401.7 MB, free: 9.895 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 25 ($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_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.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 (62): * Single equations (assignments): 61 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002517/2.303, allocations: 132 kB / 401.8 MB, free: 9.777 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/2.304, allocations: 50.72 kB / 401.8 MB, free: 9.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001929/2.304, allocations: 56.02 kB / 401.9 MB, free: 9.73 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/2.304, allocations: 5.5 kB / 401.9 MB, free: 9.73 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/2.304, allocations: 4 kB / 401.9 MB, free: 9.727 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/2.304, allocations: 5.359 kB / 401.9 MB, free: 9.723 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002536/2.306, allocations: 1.111 MB / 403 MB, free: 9.168 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/2.306, allocations: 5.281 kB / 403 MB, free: 9.164 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005048/2.307, allocations: 52.44 kB / 403.1 MB, free: 9.152 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003606/2.307, allocations: 76.41 kB / 403.2 MB, free: 9.129 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.369e-05/2.307, allocations: 2.094 kB / 403.2 MB, free: 9.129 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002091/2.309, allocations: 1.529 MB / 404.7 MB, free: 7.855 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/2.309, allocations: 5.188 kB / 404.7 MB, free: 7.852 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001694/2.311, allocations: 0.7031 MB / 405.4 MB, free: 7.598 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002239/2.313, allocations: 1.281 MB / 406.7 MB, free: 6.961 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003304/2.314, allocations: 172 kB / 406.8 MB, free: 6.816 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/2.314, allocations: 6.719 kB / 406.9 MB, free: 6.816 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006567/2.315, allocations: 36.94 kB / 406.9 MB, free: 6.805 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/2.315, allocations: 33.59 kB / 406.9 MB, free: 6.789 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.868e-05/2.315, allocations: 13.28 kB / 406.9 MB, free: 6.789 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.000494/2.315, allocations: 265.8 kB / 407.2 MB, free: 6.688 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003109/2.318, allocations: 275.4 kB / 407.5 MB, free: 6.625 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 18 (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_p.off,rectifier.thyristor_n.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: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.off,rectifier.thyristor_p.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002519/2.319, allocations: 126 kB / 407.6 MB, free: 6.527 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002089/2.321, allocations: 0.8386 MB / 408.4 MB, free: 6.25 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/2.321, allocations: 5.125 kB / 408.4 MB, free: 6.246 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000702/2.322, allocations: 311.3 kB / 408.7 MB, free: 6.117 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006882/2.322, allocations: 55.47 kB / 408.8 MB, free: 6.105 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003112/2.325, allocations: 0.8441 MB / 409.6 MB, free: 5.703 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008836/2.326, allocations: 0.9644 MB / 410.6 MB, free: 4.891 MB / 314.7 MB Notification: Performance of SimCode: time 1.272e-06/2.326, allocations: 0 / 410.6 MB, free: 4.891 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_res.mat does not exist to compare? outputFormat=mat