Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_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 2.031/2.031, allocations: 194.9 MB / 202.5 MB, free: 6.926 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2713/2.302, allocations: 46.84 MB / 249.4 MB, free: 5.348 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/2.41, allocations: 44.51 MB / 293.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3377/2.747, allocations: 81.36 MB / 375.2 MB, free: 7.082 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005537/2.748, allocations: 86.47 kB / 375.3 MB, free: 7.082 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.05677/2.805, allocations: 13.2 MB / 388.5 MB, free: 2.266 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/2.805, allocations: 7.562 kB / 388.5 MB, free: 2.266 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003873/2.805, allocations: 89.23 kB / 388.6 MB, free: 2.219 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001678/2.807, allocations: 485.4 kB / 389.1 MB, free: 1.887 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.588e-05/2.807, allocations: 23.39 kB / 389.1 MB, free: 1.883 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001931/2.807, allocations: 45.22 kB / 389.1 MB, free: 1.879 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001388/2.809, allocations: 404 kB / 389.5 MB, free: 1.852 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002466/2.811, allocations: 0.5403 MB / 390.1 MB, free: 1.684 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.378e-05/2.811, allocations: 3.844 kB / 390.1 MB, free: 1.684 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001957/2.812, allocations: 0 / 390.1 MB, free: 1.684 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.523e-05/2.812, allocations: 15.66 kB / 390.1 MB, free: 1.684 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01073/2.822, allocations: 2.2 MB / 392.3 MB, free: 404 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001601/2.824, allocations: 338.9 kB / 392.6 MB, free: 356 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/2.825, allocations: 255 kB / 392.9 MB, free: 308 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.812e-05/2.825, allocations: 3.812 kB / 392.9 MB, free: 308 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007281/2.826, allocations: 264.1 kB / 393.1 MB, free: 184 kB / 298.7 MB Notification: Performance of pre-optimization done (n=47): time 8.335e-06/2.826, allocations: 0 / 393.1 MB, free: 184 kB / 298.7 MB Notification: Performance of matching and sorting (n=47): time 0.001386/2.828, allocations: 390.2 kB / 393.5 MB, free: 80 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/2.828, allocations: 136.1 kB / 393.7 MB, free: 15.92 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008423/2.829, allocations: 362.6 kB / 394 MB, free: 15.78 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001631/2.829, allocations: 29.52 kB / 394 MB, free: 15.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003226/2.829, allocations: 271.5 kB / 394.3 MB, free: 15.54 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002365/2.829, allocations: 133.9 kB / 394.4 MB, free: 15.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.15e-05/2.829, allocations: 0 / 394.4 MB, free: 15.45 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002367/2.83, allocations: 363.4 kB / 394.8 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004712/2.83, allocations: 143.8 kB / 394.9 MB, free: 15.11 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006171/2.831, allocations: 300.2 kB / 395.2 MB, free: 14.91 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004908/2.831, allocations: 168 kB / 395.4 MB, free: 14.88 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/2.831, allocations: 1.25 kB / 395.4 MB, free: 14.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001584/2.833, allocations: 0.489 MB / 395.9 MB, free: 14.76 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009985/2.834, allocations: 1.657 MB / 397.5 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.115e-05/2.834, allocations: 7.906 kB / 397.5 MB, free: 13.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005858/2.835, allocations: 81.19 kB / 397.6 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000828/2.836, allocations: 94.77 kB / 397.7 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002625/2.838, allocations: 1.555 MB / 399.3 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/2.839, allocations: 85.67 kB / 399.3 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.029e-05/2.839, allocations: 19.53 kB / 399.4 MB, free: 11.64 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/2.839, allocations: 3.812 kB / 399.4 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001426/2.841, allocations: 426.9 kB / 399.8 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.983e-05/2.841, allocations: 3.734 kB / 399.8 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004489/2.841, allocations: 83.09 kB / 399.9 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007193/2.842, allocations: 92.52 kB / 400 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002541/2.845, allocations: 1.552 MB / 401.5 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009046/2.846, allocations: 59.34 kB / 401.6 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.778e-05/2.846, allocations: 24.86 kB / 401.6 MB, free: 10.2 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.0003167/2.846, allocations: 126.9 kB / 401.7 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/2.846, allocations: 52.09 kB / 401.8 MB, free: 10.06 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002233/2.847, allocations: 51.58 kB / 401.8 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/2.847, allocations: 9.484 kB / 401.8 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/2.847, allocations: 5.438 kB / 401.8 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/2.847, allocations: 4 kB / 401.8 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003078/2.85, allocations: 1.125 MB / 403 MB, free: 9.469 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/2.85, allocations: 0 / 403 MB, free: 9.469 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005269/2.85, allocations: 53.22 kB / 403 MB, free: 9.457 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003936/2.851, allocations: 66.92 kB / 403.1 MB, free: 9.441 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.962e-05/2.851, allocations: 10.02 kB / 403.1 MB, free: 9.434 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002455/2.853, allocations: 1.526 MB / 404.6 MB, free: 8.164 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/2.853, allocations: 5.156 kB / 404.6 MB, free: 8.16 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001957/2.855, allocations: 0.701 MB / 405.3 MB, free: 7.91 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002629/2.858, allocations: 1.281 MB / 406.6 MB, free: 7.277 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004763/2.859, allocations: 169.5 kB / 406.8 MB, free: 7.137 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001433/2.859, allocations: 5.359 kB / 406.8 MB, free: 7.133 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007012/2.859, allocations: 37.72 kB / 406.8 MB, free: 7.121 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002027/2.86, allocations: 33.92 kB / 406.8 MB, free: 7.109 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.046e-05/2.86, allocations: 21.27 kB / 406.9 MB, free: 7.102 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.000575/2.86, allocations: 259.8 kB / 407.1 MB, free: 7.004 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003553/2.864, allocations: 280.5 kB / 407.4 MB, free: 6.938 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.0003955/2.864, allocations: 125.4 kB / 407.5 MB, free: 6.836 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002643/2.867, allocations: 0.841 MB / 408.4 MB, free: 6.559 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/2.867, allocations: 0 / 408.4 MB, free: 6.559 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001185/2.868, allocations: 315.6 kB / 408.7 MB, free: 6.426 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/2.869, allocations: 62.67 kB / 408.7 MB, free: 6.406 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004771/2.874, allocations: 0.8396 MB / 409.6 MB, free: 6.012 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001496/2.876, allocations: 0.9644 MB / 410.5 MB, free: 5.195 MB / 314.7 MB Notification: Performance of SimCode: time 1.843e-06/2.876, allocations: 0 / 410.5 MB, free: 5.195 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_res.mat does not exist to compare? outputFormat=mat